Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c
| From: | Ilia Alshanetsky | Date: | Wed, 17 Dec 2003 17:42:43 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c | ||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-2132@lists.php.net to get a copy of this message | ||
Actually the regular test works fine, however a slightly different test also
involving globals inside __destruct still fails. To see the failure make the
following change to tests/lang/bug24908.phpt
RCS file: /repository/php-src/tests/lang/bug24908.phpt,v
retrieving revision 1.1
diff -u -3 -p -r1.1 bug24908.phpt
--- tests/lang/bug24908.phpt 29 Nov 2003 07:54:19 -0000 1.1
+++ tests/lang/bug24908.phpt 17 Dec 2003 17:30:20 -0000
@@ -9,7 +9,8 @@ class test {
if (count($_SERVER)) echo "O";
}
function __destruct() {
- if (count($_SERVER)) echo "K\n";
+ //if (count($_SERVER)) echo "K\n";
+ global $test;
}
}
$test = new test();
Ilia