PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

A (Non-Exhaustive) List of E_STRICT-compatibility changes | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

A (Non-Exhaustive) List of E_STRICT-compatibility changes

  • Methods that are intended to be called statically should be defined with static keyword

  • The $foo =& new Foo() construct should not be used

  • instanceof operator should be used instead of is_a() function

  • Declarations of methods in child classes should be compatible with those in parent classes

These changes obviously imply following the Error Handling Guidelines for PHP5 packages since PEAR class itself is not E_STRICT-compatible.

Also the new object model should be taken into account: this means removing unneded references when working with objects and using clone where needed.

忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「A (Non-Exhaustive) List of E_STRICT-compatibility changes」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | A (Non-Exhaustive) List of E_STRICT-compatibility changes」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: