3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = aray(); for($i=0;$i<50;$i++) { $a[] = $i; } var_dump($a); echo implode(",", $a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 5
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 5
Branch analysis from position: 10
Branch analysis from position: 5
filename:       /in/SbkTh
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'aray'
          1        DO_FCALL                                      0  $2      
          2        ASSIGN                                                   !0, $2
    4     3        ASSIGN                                                   !1, 0
          4      > JMP                                                      ->8
    5     5    >   ASSIGN_DIM                                               !0
          6        OP_DATA                                                  !1
    4     7        PRE_INC                                                  !1
          8    >   IS_SMALLER                                               !1, 50
          9      > JMPNZ                                                    ~7, ->5
    8    10    >   INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
   10    13        INIT_FCALL                                               'implode'
         14        SEND_VAL                                                 '%2C'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $9      
         17        ECHO                                                     $9
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.47 ms | 1395 KiB | 17 Q