3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; $x = array(); $start = microtime( true ); do { $x[] = array( "firstname" => "Patrick", "lastname" => "Allaert" ); ++$i; } while ( $i < 500000 );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 6
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/TdI4A
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i, !1 = $x, !2 = $start
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'microtime'
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !2, $5
    6     6    >   ASSIGN_DIM                                               !1
          7        OP_DATA                                                  <array>
    7     8        PRE_INC                                                  !0
    8     9        IS_SMALLER                                               !0, 500000
         10      > JMPNZ                                                    ~9, ->6
         11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.33 ms | 1394 KiB | 15 Q