785
788
if (ce && ce != PHP_IC_ENTRY && zend_hash_exists(&ce->function_table, "__sleep", sizeof("__sleep"))) {
787
790
ZVAL_STRINGL(&fname, "__sleep", sizeof("__sleep") - 1, 0);
788
792
res = call_user_function_ex(CG(function_table), &struc, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
790
795
if (res == SUCCESS && !EG(exception)) {