*Fatal error [#of626295]
&size(16){&font(b){Fatal error: Cannot redeclare hex2bin() in [DocumentRoot]/pukiwiki/lib/func.php on line "xxx"};};
*File List [#j08b413b]
dddd

*Deprecated [#v141af73]
返り値の宣言であるnewのキャストをひたすら書き換えていく作業
 $config = & new "hoge"

 $config = new "hoge"
にしていく
~
----
~
&size(16){&font(b){Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/lib/func.php on line "xxx"};};
 # vi [DocumentRoot]/pukiwiki/lib/func.php
該当箇所をコメントアウトする
-&size(16){&font(b){関数:General functions};};
 -// Inversion of bin2hex()
 -function hex2bin($hex_string)
 -{
 -    // preg_match : Avoid warning : pack(): Type H: illegal hex digit ...
 -    // (string)   : Always treat as string (not int etc). See BugTrack2/31
 -    return preg_match('/^[0-9a-f]+$/i', $hex_string) ?
 -        pack('H*', (string)$hex_string) : $hex_string;
 -}
-&size(16){&font(b){関数:get_autolink_pattern(& $pages)};};
 -    $config = &new Config('AutoLink');
_/_/_/_/_/
 +// Inversion of bin2hex()
 +/*
 +function hex2bin($hex_string)
 +{
 +    // preg_match : Avoid warning : pack(): Type H: illegal hex digit ...
 +    // (string)   : Always treat as string (not int etc). See BugTrack2/31
 +    return preg_match('/^[0-9a-f]+$/i', $hex_string) ?
 +        pack('H*', (string)$hex_string) : $hex_string;
 +}
 +*/
 +    $config = new Config('AutoLink');
~
----
~
&size(16){&font(b){Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/lib/convert_html.php on line "xxx"};};
 # vi [DocumentRoot]/pukiwiki/lib/convert_html.php
-&size(16){&font(b){関数:convert_html($lines)};};
 -    $body = & new Body(++$contents_id);
_/_/_/_/_/
 +    $body = new Body(++$contents_id);
~

-&size(16){&font(b){関数:& toPara($class = '')};};
 -        $obj = & new Paragraph('', $class);
_/_/_/_/_/
 +        $obj = new Paragraph('', $class);
~

-&size(16){&font(b){関数:Table($out)};};
 -            $row[] = & new TableCell($cell, $is_template);
_/_/_/_/_/
 +            $row[] = new TableCell($cell, $is_template);
~

-&size(16){&font(b){関数:Body($id)};};
 -        $this->contents      = & new Element();
_/_/_/_/_/
 +        $this->contents      = new Element();
~
----
~
&size(16){&font(b){Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/lib/config.php on line "xxx"};};
 # vi [DocumentRoot]/pukiwiki/lib/config.php
-&size(16){&font(b){関数:read()};};
 -        $obj        = & new ConfigTable('');
_/_/_/_/_/
 +        $obj        = new ConfigTable('');
~

-&size(16){&font(b){関数:read()};};
 -                    $obj = & new ConfigTable($line);
_/_/_/_/_/
 +                    $obj = new ConfigTable($line);
~

-&size(16){&font(b){関数:read()};};
 -                        $obj = & new ConfigTable_Direct('', $obj);
_/_/_/_/_/
 +                        $obj = new ConfigTable_Direct('', $obj);
~

-&size(16){&font(b){関数:read()};};
 -                    $obj = & new ConfigTable_Direct('', $obj);
_/_/_/_/_/
 +                    $obj = new ConfigTable_Direct('', $obj);
~

-&size(16){&font(b){関数:read()};};
 -                    $obj = & new ConfigTable_Sequential('', $obj);
_/_/_/_/_/
 +                    $obj = new ConfigTable_Sequential('', $obj);
~

-&size(16){&font(b){関数:& get_object($title)};};
 -            $this->objs[$title] = & new ConfigTable('*' . trim($title) . "\n");
_/_/_/_/_/
 +            $this->objs[$title] = new ConfigTable('*' . trim($title) . "\n");
~
----
~
&size(16){&font(b){Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/lib/link.php on line "xxx"};};
 # vi [DocumentRoot]/pukiwiki/lib/link.php
-&size(16){&font(b){関数:& links_get_objects($page, $refresh = FALSE)};};
 -        $obj = & new InlineConverter(NULL, array('note'));
_/_/_/_/_/
 +        $obj = new InlineConverter(NULL, array('note'));
~
----
~
&size(16){&font(b){Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/plugin/attach.inc.php on line "xxx"};};
 # vi [DocumentRoot]/pukiwiki/plugin/attach.inc.php
-&size(16){&font(b){関数:plugin_attach_convert()};};
 -        $obj  = & new AttachPages($page);
_/_/_/_/_/
 +        $obj  = new AttachPages($page);
~

-&size(16){&font(b){関数:attach_filelist()};};
 -    $obj = & new AttachPages($page, 0);
_/_/_/_/_/
 +    $obj = new AttachPages($page, 0);
~

-&size(16){&font(b){関数:attach_upload($file, $page, $pass = NULL)};};
 -    $obj = & new AttachFile($page, $file['name']);
_/_/_/_/_/
 +    $obj = new AttachFile($page, $file['name']);
~

-&size(16){&font(b){関数:attach_info($err = '')};};
 -    $obj = & new AttachFile($refer, $file, $age);
_/_/_/_/_/
 +    $obj = new AttachFile($refer, $file, $age);
~

-&size(16){&font(b){関数:attach_delete()};};
 -    $obj = & new AttachFile($refer, $file, $age);
_/_/_/_/_/
 +    $obj = new AttachFile($refer, $file, $age);
~

-&size(16){&font(b){関数:attach_freeze($freeze)};};
 -        $obj = & new AttachFile($refer, $file, $age);
_/_/_/_/_/
 +        $obj = new AttachFile($refer, $file, $age);
~

-&size(16){&font(b){関数:attach_rename()};};
 -    $obj = & new AttachFile($refer, $file, $age);
_/_/_/_/_/
 +    $obj = new AttachFile($refer, $file, $age);
~

-&size(16){&font(b){関数:attach_open()};};
 -    $obj = & new AttachFile($refer, $file, $age);
_/_/_/_/_/
 +    $obj = new AttachFile($refer, $file, $age);
~

-&size(16){&font(b){関数:attach_list()};};
 -    $obj = & new AttachPages($refer);
_/_/_/_/_/
 +    $obj = new AttachPages($refer);
~

-&size(16){&font(b){関数:add($file, $age)};};
 -        $this->files[$file][$age] = & new AttachFile($this->page, $file, $age);
_/_/_/_/_/
 +        $this->files[$file][$age] = new AttachFile($this->page, $file, $age);
~

-&size(16){&font(b){関数: AttachPages($page = '', $age = NULL)};};
 -                $this->pages[$_page] = & new AttachFiles($_page);
_/_/_/_/_/
 +                $this->pages[$_page] = new AttachFiles($_page);
~