3v4l.org

run code in 300+ PHP versions simultaneously
<?php function funcA($arg) { echo "{$arg}\n"; } function funcB($a, $b, $c) { } funcB(funcA(1), funcA(2), funcA(3));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CPW41
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'funcb'
          1        INIT_FCALL                                               'funca'
          2        SEND_VAL                                                 1
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        INIT_FCALL                                               'funca'
          6        SEND_VAL                                                 2
          7        DO_FCALL                                      0  $1      
          8        SEND_VAR                                                 $1
          9        INIT_FCALL                                               'funca'
         10        SEND_VAL                                                 3
         11        DO_FCALL                                      0  $2      
         12        SEND_VAR                                                 $2
         13        DO_FCALL                                      0          
         14      > RETURN                                                   1

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

End of function funca

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

End of function funcb

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.82 ms | 1403 KiB | 17 Q