mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
13 lines
208 B
PHP
13 lines
208 B
PHP
--TEST--
|
|
Assign to $this leaks when $this not defined
|
|
--FILE--
|
|
<?php
|
|
|
|
try {
|
|
$this->a = new stdClass;
|
|
} catch (Error $e) { echo $e->getMessage(), "\n"; }
|
|
|
|
?>
|
|
--EXPECT--
|
|
Using $this when not in object context
|