diff options
Diffstat (limited to 'Zend/tests/bug24436.phpt')
-rwxr-xr-x | Zend/tests/bug24436.phpt | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Zend/tests/bug24436.phpt b/Zend/tests/bug24436.phpt deleted file mode 100755 index 0c261b668e..0000000000 --- a/Zend/tests/bug24436.phpt +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -Bug #24436 (isset()/empty() produce errors with non-existent variables in classes) ---SKIPIF-- -<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 is needed'); ?> ---INI-- -error_reporting=2047 ---FILE-- -<?php -class test { - function __construct() { - if (empty($this->test[0][0])) { print "test1\n";} - if (!isset($this->test[0][0])) { print "test2\n";} - if (empty($this->test)) { print "test1\n";} - if (!isset($this->test)) { print "test2\n";} - } -} - -$test1 = new test(); -?> ---EXPECT-- -test1 -test2 -test1 -test2 |