1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/Zend/tests/bug68148.phpt
2014-10-05 23:38:59 +02:00

18 lines
213 B
PHP

--TEST--
Bug #68148: $this is null inside include
--FILE--
<?php
class Test {
public function method() {
eval('var_dump($this);');
}
}
(new Test)->method();
?>
--EXPECT--
object(Test)#1 (0) {
}