We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49fdf49 commit 9659f3eCopy full SHA for 9659f3e
Zend/zend_compile.c
@@ -9355,7 +9355,7 @@ static void zend_compile_class_decl(znode *result, zend_ast *ast, bool toplevel)
9355
zend_error(E_DEPRECATED, "The __sleep() serialization magic method has been deprecated."
9356
" Implement __serialize() instead (or in addition, if support for old PHP versions is necessary)");
9357
}
9358
- if (UNEXPECTED(zend_hash_exists(&ce->function_table, ZSTR_KNOWN(ZEND_STR_WAKEUP)) &&ce->__unserialize==NULL)) {
+ if (ce->__unserialize==NULL&&zend_hash_exists(&ce->function_table, ZSTR_KNOWN(ZEND_STR_WAKEUP))) {
9359
zend_error(E_DEPRECATED, "The __wakeup() serialization magic method has been deprecated."
9360
" Implement __unserialize() instead (or in addition, if support for old PHP versions is necessary)");
9361
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments