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) foreach( $b as $x ) foreach( $c 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/jNcCk
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
   15    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 = 15
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 11
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 13
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/jNcCk
function name:  callme
number of ops:  18
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, ->15
          4    > > FE_FETCH_R                                               $4, !3, ->15
    9     5    > > FE_RESET_R                                       $5      !1, ->13
          6    > > FE_FETCH_R                                               $5, !3, ->13
   10     7    > > FE_RESET_R                                       $6      !2, ->11
          8    > > FE_FETCH_R                                               $6, !3, ->11
   11     9    >   UNSET_CV                                                 !3
   10    10      > JMP                                                      ->8
         11    >   FE_FREE                                                  $6
    9    12      > JMP                                                      ->6
         13    >   FE_FREE                                                  $5
    8    14      > JMP                                                      ->4
         15    >   FE_FREE                                                  $4
   12    16      > RETURN                                                   !0
   13    17*     > RETURN                                                   null

End of function callme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174 ms | 1403 KiB | 16 Q