From: foobar Date: Mon, 1 Dec 2003 12:07:36 +0000 (+0000) Subject: - Nuke property_exists() calls X-Git-Tag: php-5.0.0b3RC1~451 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6c4c4fbc4ce568906e31ecf05cfa37314917c4c;p=php - Nuke property_exists() calls - Fix the test. (this is BUG in PHP 5, works in PHP 4) --- diff --git a/tests/lang/bug26182.phpt b/tests/lang/bug26182.phpt index 7d613f812e..b37c7c2351 100644 --- a/tests/lang/bug26182.phpt +++ b/tests/lang/bug26182.phpt @@ -17,23 +17,9 @@ class A { $t = new A (); print_r($t); -var_dump(property_exists($t, 'x')); -var_dump(property_exists($t, 'y')); -var_dump(property_exists($t, 'z')); -var_dump(isset($t->y)); -var_dump(property_exists($t, 'y')); -$t->z = 1; -var_dump(property_exists($t, 'z')); ?> --EXPECT-- a Object ( - [x] => ) -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -bool(true)