3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one = range(1,99999); $two = range('aaa','bbb'); $three = range(1,99999); function callme($a,$b,$c) { foreach( $a as $x) unset($x); return $a; } callme($one, $two, $three);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L4Emn
function name:  (null)
number of ops:  21
compiled vars:  !0 = $one, !1 = $two, !2 = $three
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 99999
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        INIT_FCALL                                               'range'
          6        SEND_VAL                                                 'aaa'
          7        SEND_VAL                                                 'bbb'
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    5    10        INIT_FCALL                                               'range'
         11        SEND_VAL                                                 1
         12        SEND_VAL                                                 99999
         13        DO_ICALL                                         $7      
         14        ASSIGN                                                   !2, $7
   13    15        INIT_FCALL                                               'callme'
         16        SEND_VAR                                                 !0
         17        SEND_VAR                                                 !1
         18        SEND_VAR                                                 !2
         19        DO_FCALL                                      0          
         20      > RETURN                                                   1

Function callme:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/L4Emn
function name:  callme
number of ops:  10
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    8     3      > FE_RESET_R                                       $4      !0, ->7
          4    > > FE_FETCH_R                                               $4, !3, ->7
    9     5    >   UNSET_CV                                                 !3
    8     6      > JMP                                                      ->4
          7    >   FE_FREE                                                  $4
   10     8      > RETURN                                                   !0
   11     9*     > RETURN                                                   null

End of function callme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.46 ms | 1402 KiB | 17 Q