3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { echo "executed!", PHP_EOL; } var_dump(false ?? foo());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9m9oS
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'var_dump'
          1        COALESCE                                         ~0      <false>
          2        INIT_FCALL                                               'foo'
          3        DO_FCALL                                      0  $1      
          4        QM_ASSIGN                                        ~0      $1
          5        SEND_VAL                                                 ~0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9m9oS
function name:  foo
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'executed%21'
          1        ECHO                                                     '%0A'
    5     2      > RETURN                                                   null

End of function foo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.65 ms | 944 KiB | 17 Q