blob: 8da70b76a3fcbf1e94a7daa2dba817e3736465cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
$this in eval() block
--FILE--
<?php
class C {
function foo() {
eval('var_dump($this);');
eval('var_dump($this);');
}
}
$x = new C;
$x->foo();
--EXPECT--
object(C)#1 (0) {
}
object(C)#1 (0) {
}
|