From: Zeev Suraski Date: Tue, 22 Jul 2003 13:54:45 +0000 (+0000) Subject: Add test X-Git-Tag: BEFORE_ARG_INFO~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ec05c508b3b3b8c6b336934f0b08c7d08d17085;p=php Add test --- diff --git a/tests/lang/bug24436.phpt b/tests/lang/bug24436.phpt new file mode 100644 index 0000000000..b0cfbe0931 --- /dev/null +++ b/tests/lang/bug24436.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #24436 (isset() and empty() produce errors with non-existent variables in objects) +--FILE-- +test[0][0])) { print "test1";} + if (!isset($this->test[0][0])) { print "test2";} + } +} + +$test1 = new test(); +?> +--EXPECT-- +test1test2