cvs: ZendEngine2 / zend_API.c

From: Date: Fri, 28 Nov 2003 14:42:25 +0000
Subject: cvs: ZendEngine2 / zend_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2016@lists.php.net to get a copy of this message
iliaa Fri Nov 28 09:42:25 2003 EDT Modified files: /ZendEngine2 zend_API.c Log: Add removed lcname, it is still needed. Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.226 ZendEngine2/zend_API.c:1.227 --- ZendEngine2/zend_API.c:1.226 Thu Nov 27 14:24:38 2003 +++ ZendEngine2/zend_API.c Fri Nov 28 09:42:25 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.226 2003/11/27 19:24:38 helly Exp $ */ +/* $Id: zend_API.c,v 1.227 2003/11/28 14:42:25 iliaa Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -1629,6 +1629,8 @@ if (syntax_only) return 1; + lcname = zend_str_tolower_dup(Z_STRVAL_PP(method), Z_STRLEN_PP(method)); + if (EG(active_op_array) && strcmp(lcname, "self") == 0) { ce = EG(active_op_array)->scope; } else if (strcmp(lcname, "parent") == 0 && EG(active_op_array) && EG(active_op_array)->scope) {

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