3v4l.org

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

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

End of function fun

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.24 ms | 1396 KiB | 16 Q