php-src/tests/lang/bug26182.phpt

26 lines
288 B
PHP

--TEST--
Bug #26182 (Object properties created redundantly)
--INI--
error_reporting=4095
--FILE--
<?php
class A {
function NotAConstructor ()
{
if (isset($this->x)) {
//just for demo
}
}
}
$t = new A ();
print_r($t);
?>
--EXPECT--
A Object
(
)