sniper          Tue Nov 25 04:20:57 2003 EDT

  Added files:                 
    /php-src/tests/lang bug26182.phpt 
  Log:
  test case for bug #26182
  

Index: php-src/tests/lang/bug26182.phpt
+++ php-src/tests/lang/bug26182.phpt
--TEST--
Bug #26182 (Object properties created redundantly)
--INI--
error_reporting=2039
--FILE--
<?php

class A {
    function NotAConstructor ()
    {
        if (isset($this->x)) {
            //just for demo
        }
    }
}

$t = new A ();

print_r($t);

?>
--EXPECT--
a Object
(
)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to