3v4l.org

run code in 300+ PHP versions simultaneously
<?php class apa { public function bar() { echo "is here"; } } $test = "apa"; $bla = new $test; $bla->bar();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4KU2U
function name:  (null)
number of ops:  8
compiled vars:  !0 = $test, !1 = $bla
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ASSIGN                                                   !0, 'apa'
   13     1        FETCH_CLASS                                   0  $3      !0
          2        NEW                                              $4      $3
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
   14     5        INIT_METHOD_CALL                                         !1, 'bar'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Class apa:
Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4KU2U
function name:  bar
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'is+here'
    8     1      > RETURN                                                   null

End of function bar

End of class apa.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
198.29 ms | 1397 KiB | 13 Q