3v4l.org

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

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

End of function p

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.53 ms | 1396 KiB | 14 Q