summaryrefslogtreecommitdiff
path: root/Zend/tests/bug68148.phpt
blob: fcbf69bb876d51229860d97e00c752c2c5c326b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--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) {
}