3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x($test = null, $a = 'hello world') { echo $a; } x($a = 'OH!');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoPIe
function name:  (null)
number of ops:  5
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'x'
          1        ASSIGN                                           ~1      !0, 'OH%21'
          2        SEND_VAL                                                 ~1
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function x:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoPIe
function name:  x
number of ops:  4
compiled vars:  !0 = $test, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      'hello+world'
    4     2        ECHO                                                     !1
    5     3      > RETURN                                                   null

End of function x

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
131.53 ms | 1010 KiB | 14 Q