3v4l.org

run code in 500+ PHP versions simultaneously
<?php class foo { protected $bar = '123'; public function test() { assert('empty($this->bar);'); } } $f = new foo(); $f->test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WDoHQ
function name:  (null)
number of ops:  6
compiled vars:  !0 = $f
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   NEW                                                  $1      'foo'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
   12     3        INIT_METHOD_CALL                                             !0, 'test'
          4        DO_FCALL                                          0          
          5      > RETURN                                                       1

Class foo:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WDoHQ
function name:  test
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   ASSERT_CHECK                                                 
          1        INIT_FCALL                                                   'assert'
          2        SEND_VAL                                                     'empty%28%24this-%3Ebar%29%3B'
          3        SEND_VAL                                                     'assert%28%27empty%28%24this-%3Ebar%29%3B%27%29'
          4        DO_ICALL                                                     
    8     5      > RETURN                                                       null

End of function test

End of class foo.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.92 ms | 3029 KiB | 14 Q