PHP 5.3.0 introduces two new error levels:
E_DEPRECATED
and E_USER_DEPRECATED. The
E_DEPRECATED error level is used to indicate that a
function or feature has been deprecated. The
E_USER_DEPRECATED level is intended for indicating
deprecated features in user code, similarly to the
E_USER_ERROR and E_USER_WARNING
levels.http://tw2.php.net/manual/en/migration53.deprecated.php
PHP 5.3.0 之後的版本,建議廢棄 =& new 若原來為 =& new 則改為 = new ,若原來為 =& xxx::aa() 則可以不用更動
沒有留言:
張貼留言