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

From: Date: Tue, 08 Aug 2006 00:36:19 +0000
Subject: cvs: ZendEngine2 / 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-5174@lists.php.net to get a copy of this message
helly Tue Aug 8 00:36:19 2006 UTC Modified files: /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&r2=1.2&diff_format=u Index: php-src/tests/classes/ctor_visibility.phpt diff -u php-src/tests/classes/ctor_visibility.phpt:1.1 php-src/tests/classes/ctor_visibility.phpt:1.2 --- php-src/tests/classes/ctor_visibility.phpt:1.1 Mon Aug 7 23:12:59 2006 +++ php-src/tests/classes/ctor_visibility.phpt Tue Aug 8 00:36: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.135&r2=1.136&diff_format=u Index: ZendEngine2/zend_vm_def.h diff -u ZendEngine2/zend_vm_def.h:1.135 ZendEngine2/zend_vm_def.h:1.136 --- ZendEngine2/zend_vm_def.h:1.135 Mon Aug 7 23:16:20 2006 +++ ZendEngine2/zend_vm_def.h Tue Aug 8 00:36:19 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_vm_def.h,v 1.135 2006/08/07 23:16:20 helly Exp $ */ +/* $Id: zend_vm_def.h,v 1.136 2006/08/08 00:36:19 helly Exp $ */ /* If you change this file, please regenerate the zend_vm_execute.h and * zend_vm_opcodes.h files by running: @@ -1790,7 +1790,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 %v::__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.139&r2=1.140&diff_format=u Index: ZendEngine2/zend_vm_execute.h diff -u ZendEngine2/zend_vm_execute.h:1.139 ZendEngine2/zend_vm_execute.h:1.140 --- ZendEngine2/zend_vm_execute.h:1.139 Mon Aug 7 23:16:20 2006 +++ ZendEngine2/zend_vm_execute.h Tue Aug 8 00:36:19 2006 @@ -681,7 +681,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 %v::__constrcut()", ce->name); + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -902,7 +902,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 %v::__constrcut()", ce->name); + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -1038,7 +1038,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 %v::__constrcut()", ce->name); + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -1173,7 +1173,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 %v::__constrcut()", ce->name); + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -1266,7 +1266,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 %v::__constrcut()", ce->name); + zend_error(E_COMPILE_ERROR, "Cannot call private %s::__construct()", ce->name); } EX(fbc) = ce->constructor; } @@ -14240,7 +14240,6 @@ } if (IS_VAR == IS_VAR && (free_op1.var != NULL) && READY_TO_DESTROY(free_op1.var) && - READY_TO_DESTROY(free_op1.var) && !RETURN_VALUE_UNUSED(&opline->result)) { AI_USE_PTR(EX_T(opline->result.u.var).var); } @@ -14264,6 +14263,7 @@ } if (IS_VAR == IS_VAR && (free_op1.var != NULL) && + READY_TO_DESTROY(free_op1.var) && !RETURN_VALUE_UNUSED(&opline->result)) { AI_USE_PTR(EX_T(opline->result.u.var).var); } @@ -14328,6 +14328,7 @@ } if (IS_VAR == IS_VAR && (free_op1.var != NULL) && + READY_TO_DESTROY(free_op1.var) && !RETURN_VALUE_UNUSED(&opline->result)) { AI_USE_PTR(EX_T(opline->result.u.var).var); } @@ -15553,6 +15554,7 @@ } if (IS_UNUSED == IS_VAR && 0 && + READY_TO_DESTROY(free_op1.var) && !RETURN_VALUE_UNUSED(&opline->result)) { AI_USE_PTR(EX_T(opline->result.u.var).var); } @@ -15617,6 +15619,7 @@ } if (IS_UNUSED == IS_VAR && 0 && + READY_TO_DESTROY(free_op1.var) && !RETURN_VALUE_UNUSED(&opline->result)) { AI_USE_PTR(EX_T(opline->result.u.var).var); } @@ -16720,6 +16723,7 @@ zval_dtor(free_op2.var); } if (IS_UNUSED == IS_VAR && 0 && + READY_TO_DESTROY(free_op1.var) && !RETURN_VALUE_UNUSED(&opline->result)) { AI_USE_PTR(EX_T(opline->result.u.var).var); } @@ -16784,6 +16788,7 @@ zval_dtor(free_op2.var); } if (IS_UNUSED == IS_VAR && 0 && + READY_TO_DESTROY(free_op1.var) && !RETURN_VALUE_UNUSED(&opline->result)) { AI_USE_PTR(EX_T(opline->result.u.var).var); }

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