3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one = range(1,99999); unset($one); $two = range('aaa','bbb'); unset($two); $three = range(1,99999); unset($three); $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/bY93J
function name:  (null)
number of ops:  39
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        UNSET_CV                                                 !0
    5     6        INIT_FCALL                                               'range'
          7        SEND_VAL                                                 'aaa'
          8        SEND_VAL                                                 'bbb'
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
    6    11        UNSET_CV                                                 !1
    7    12        INIT_FCALL                                               'range'
         13        SEND_VAL                                                 1
         14        SEND_VAL                                                 99999
         15        DO_ICALL                                         $7      
         16        ASSIGN                                                   !2, $7
    8    17        UNSET_CV                                                 !2
   10    18        INIT_FCALL                                               'range'
         19        SEND_VAL                                                 1
         20        SEND_VAL                                                 99999
         21        DO_ICALL                                         $9      
         22        ASSIGN                                                   !0, $9
   11    23        INIT_FCALL                                               'range'
         24        SEND_VAL                                                 'aaa'
         25        SEND_VAL                                                 'bbb'
         26        DO_ICALL                                         $11     
         27        ASSIGN                                                   !1, $11
   12    28        INIT_FCALL                                               'range'
         29        SEND_VAL                                                 1
         30        SEND_VAL                                                 99999
         31        DO_ICALL                                         $13     
         32        ASSIGN                                                   !2, $13
   21    33        INIT_FCALL                                               'callme'
         34        SEND_VAR                                                 !0
         35        SEND_VAR                                                 !1
         36        SEND_VAR                                                 !2
         37        DO_FCALL                                      0          
         38      > 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/bY93J
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
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
   16     3      > FE_RESET_R                                       $4      !0, ->7
          4    > > FE_FETCH_R                                               $4, !3, ->7
   17     5    >   UNSET_CV                                                 !3
   16     6      > JMP                                                      ->4
          7    >   FE_FREE                                                  $4
   18     8      > RETURN                                                   !0
   19     9*     > RETURN                                                   null

End of function callme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.02 ms | 1403 KiB | 16 Q