3v4l.org

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

Function foobar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Kmjfs
function name:  fooBar
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   3
    6     1*     > RETURN                                                   null

End of function foobar

Class fooBar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.08 ms | 1396 KiB | 14 Q