1 Program %s/eval1.php loaded. Type '[r]un' or '[c]ontinue' to go.
4 Program %s/eval1.php exited normally.
5 print function_exists('test1')
7 @ function test1($x){error_log((string)$x);return $x+1;}
8 print function_exists('test1')
14 print class_exists('test2')
20 public function ab() {
21 return $this->a . ":" . $this->b;
23 public function callCls() {
25 return $obj->meth($this);
27 private function seven() {
32 print class_exists('test2')
35 BypassAccessCheck(bac) set to off
36 @ $eval2 = new test2()
39 Hit fatal : Cannot access protected property
41 #1 include(), called at [:1]
42 #2 include(), called at [:0]
47 BypassAccessCheck(bac) set to on.
48 All code executed from debugger is bypassing access check!
53 Breakpoint 1 set on line 12 of eval1.php
54 print $eval2->callCls()
55 Breakpoint 1 reached at cls::meth() on line 12 of %s/eval1.php
56 11 $a = $this->pub.':'.$this->pri;
57 12* $b = $this->pub.':'.$this->pri;
58 13 $c = $this->pub.':'.$this->pri;
61 All breakpoints are cleared.
63 BypassAccessCheck(bac) set to off
67 Break at cls::meth() on line 13 of %s/eval1.php
68 12 $b = $this->pub.':'.$this->pri;
69 13* $c = $this->pub.':'.$this->pri;
70 14 return $a.'-'.$b.'-'.$c;
72 @ $this->pub = $x->seven()
73 Hit fatal : Call to private method test2::seven() from context 'cls'
75 #1 include(), called at %s/eval1.php:13]
76 #2 cls->meth(), called at [:%d]
77 #3 test2->callCls(), called at [:%d]
78 #4 include(), called at [:%d]
79 #5 include(), called at [:%d]
82 BypassAccessCheck(bac) set to on.
83 All code executed from debugger is bypassing access check!
84 @ $this->pub = $x->seven()