#author("2018-03-14T06:10:42+09:00","","") #author("2018-03-14T06:17:51+09:00","","") * PHP 7.2 対応 [#zb256ee8] - ページ: [[BugTrack]] - 投稿者: [[umorigu]] - 優先順位: 低 - 状態: 提案 - 状態: 完了 - カテゴリー: その他 - 投稿日: 2017-10-31 (火) 23:12:14 - バージョン: 1.5.1 - リリース予定のバージョン: 1.5.2 (動作確認の上リリース) ** メッセージ [#mab33a8c] PHP 7.2 が 2017-11-30 にリリース予定です。 wiki.php.net/todo/php72 PHP 7.2 が 2017-11-30 にリリースされました。 [[php.net:archive/2017.php#id2017-11-30-1]] PukiWiki 1.5.2 は PHP7.2 での動作を確認してからリリースします。 Migration guide: [[php.net:manual/en/migration72.php]] *** 下位互換性のない変更 [#d1e85c41] - Prevent number_format() from returning negative zero - Convert numeric keys in object and array casts - Disallow Passing NULL to get_class() - Warn when counting non-countable types - Move ext/hash from resources to objects - Improve SSL/TLS Defaults *** 非推奨となる機能 [#bd3f8b04] - Unquoted strings - png2wbmp() and jpeg2wbmp() - INTL_IDNA_VARIANT_2003 variant - __autoload() method - track_errors ini setting and $php_errormsg variable - create_function() function - (unset) cast - parse_str() without a second argument - gmp_random() function - each() function - assert() with a string argument - $errcontext argument of error handlers *** その他の変更 [#pc4967cd] - Libsodium is now a core extension *** 参考 [#j95f1fec] - wiki.php.net/todo/php72 PHP 7.2 Preparation Tasks - [[php.net:manual/ja/migration72.php]] Migrating from PHP 7.1.x to PHP 7.2.x - [[BugTrack/2369]] PHP7対応 - [[BugTrack/2402]] PHP 7.1 対応 -------- - PukiWiki 1.5.1 で、特に問題となる挙動は見つかっていません。branch_r1_5 のHEADも PHP7.1で動作しているため、完了とします。開発中に一度、PHP 7.1での変更点 関数に渡す引数が少ない場合の挙動 (Throw on passing too few function arguments) でエラーになりました。この辺りに気を付ける必要があります [[php.net:manual/ja/migration71.incompatible.php]] -- [[umorigu]] &new{2018-03-14 (水) 06:10:42}; #comment