mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
26 lines
288 B
PHP
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
|
|
(
|
|
)
|