cvs: ZendEngine2(PHP_5_2) / zend_vm_def.h zend_vm_execute.h php-src/tests/classes ctor_visibility.phpt

From: Date: Tue, 08 Aug 2006 00:40:21 +0000
Subject: cvs: ZendEngine2(PHP_5_2) / zend_vm_def.h zend_vm_execute.h php-src/tests/classes ctor_visibility.phpt
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5175@lists.php.net to get a copy of this message
helly Tue Aug 8 00:40:21 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/tests/classes ctor_visibility.phpt /ZendEngine2 zend_vm_def.h zend_vm_execute.h Log: - Speling http://cvs.php.net/viewvc.cgi/php-src/tests/classes/ctor_visibility.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/tests/classes/ctor_visibility.phpt diff -u php-src/tests/classes/ctor_visibility.phpt:1.1.2.2 php-src/tests/classes/ctor_visibility.phpt:1.1.2.3 --- php-src/tests/classes/ctor_visibility.phpt:1.1.2.2 Mon Aug 7 23:24:33 2006 +++ php-src/tests/classes/ctor_visibility.phpt Tue Aug 8 00:40:19 2006 @@ -66,4 +66,4 @@ TestPriv::__construct() DerivedPriv::__construct() -Fatal error: Cannot call private TestPriv::__constrcut() in %sctor_visibility.php on line %d +Fatal error: Cannot call private TestPriv::__construct() in %sctor_visibility.php on line %d http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_vm_def.h?r1=1.59.2.29.2.22&r2=1.59.2.29.2.23&diff_format=u Index: ZendEngine2/zend_vm_def.h diff -u ZendEngine2/zend_vm_def.h:1.59.2.29.2.22 ZendEngine2/zend_vm_def.h:1.59.2.29.2.23 --- ZendEngine2/zend_vm_def.h:1.59.2.29.2.22 Mon Aug 7 23:24:33 2006 +++ ZendEngine2/zend_vm_def.h Tue Aug 8 00:40:19 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_vm_def.h,v 1.59.2.29.2.22 2006/08/07 23:24:33 helly Exp $ */ +/* $Id: zend_vm_def.h,v 1.59.2.29.2.23 2006/08/08 00:40:19 helly Exp $ */ /* If you change this file, please regenerate the zend_vm_execute.h and * zend_vm_opcodes.h files by running: @@ -1764,7 +1764,7 @@ zend_error_noreturn(E_ERROR, "Can not call constructor"); } if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { - zend_error(E_COMPILE_ERROR, "Cannot call private %s::__constrcut()", ce->name); + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_vm_execute.h?r1=1.62.2.30.2.22&r2=1.62.2.30.2.23&diff_format=u Index: ZendEngine2/zend_vm_execute.h diff -u ZendEngine2/zend_vm_execute.h:1.62.2.30.2.22 ZendEngine2/zend_vm_execute.h:1.62.2.30.2.23 --- ZendEngine2/zend_vm_execute.h:1.62.2.30.2.22 Mon Aug 7 23:24:33 2006 +++ ZendEngine2/zend_vm_execute.h Tue Aug 8 00:40:19 2006 @@ -670,8 +670,8 @@ if(!ce->constructor) { zend_error_noreturn(E_ERROR, "Can not call constructor"); } - if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE) { - zend_error(E_COMPILE_ERROR, "Cannot call private %s::__constrcut()", ce->name); + if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -874,8 +874,8 @@ if(!ce->constructor) { zend_error_noreturn(E_ERROR, "Can not call constructor"); } - if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE) { - zend_error(E_COMPILE_ERROR, "Cannot call private %s::__constrcut()", ce->name); + if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -1035,8 +1035,8 @@ if(!ce->constructor) { zend_error_noreturn(E_ERROR, "Can not call constructor"); } - if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE) { - zend_error(E_COMPILE_ERROR, "Cannot call private %s::__constrcut()", ce->name); + if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -1195,8 +1195,8 @@ if(!ce->constructor) { zend_error_noreturn(E_ERROR, "Can not call constructor"); } - if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE) { - zend_error(E_COMPILE_ERROR, "Cannot call private %s::__constrcut()", ce->name); + if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -1288,8 +1288,8 @@ if(!ce->constructor) { zend_error_noreturn(E_ERROR, "Can not call constructor"); } - if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE) { - zend_error(E_COMPILE_ERROR, "Cannot call private %s::__constrcut()", ce->name); + if (Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; }

« previous php.zend-engine.cvs (#5175) next »