cvs: ZendEngine2 / zend_builtin_functions.c
| From: | Marcus Boerger | Date: | Sat, 15 Jul 2006 19:16:20 +0000 |
| Subject: | cvs: ZendEngine2 / zend_builtin_functions.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5075@lists.php.net to get a copy of this message | ||
helly Sat Jul 15 19:16:20 2006 UTC
Modified files:
/ZendEngine2 zend_builtin_functions.c
Log:
- Provide defined value for autoload flag
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.317&r2=1.318&diff_format=u
Index: ZendEngine2/zend_builtin_functions.c
diff -u ZendEngine2/zend_builtin_functions.c:1.317 ZendEngine2/zend_builtin_functions.c:1.318
--- ZendEngine2/zend_builtin_functions.c:1.317 Sun Jul 9 22:40:10 2006
+++ ZendEngine2/zend_builtin_functions.c Sat Jul 15 19:16:19 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_builtin_functions.c,v 1.317 2006/07/09 22:40:10 helly Exp $ */
+/* $Id: zend_builtin_functions.c,v 1.318 2006/07/15 19:16:19 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -702,7 +702,7 @@
convert_to_text_ex(class_name);
- if (zend_u_lookup_class_ex(Z_TYPE_PP(class_name), Z_UNIVAL_PP(class_name),
Z_UNILEN_PP(class_name), (instance_ce != NULL), &ce TSRMLS_CC) == FAILURE) {
+ if (zend_u_lookup_class_ex(Z_TYPE_PP(class_name), Z_UNIVAL_PP(class_name),
Z_UNILEN_PP(class_name), (instance_ce != NULL) ? 1 : 0, &ce TSRMLS_CC) == FAILURE) {
retval = 0;
} else {
if (only_subclass) {