3v4l.org

run code in 300+ PHP versions simultaneously
<?php $person = array( array( "name" => "brian", "age" => "25" ), array( "name" => "simon", "age" => "21" ) ); for ($x = 0; $x <= 10; $x++) { $new_array = array("name"=>'Brian', "age"=>'25'); array_push($person, $new_array); } var_export($person);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
Branch analysis from position: 3
filename:       /in/XZGOF
function name:  (null)
number of ops:  15
compiled vars:  !0 = $person, !1 = $x, !2 = $new_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   14     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->9
   15     3    >   ASSIGN                                                   !2, <array>
   16     4        INIT_FCALL                                               'array_push'
          5        SEND_REF                                                 !0
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                                 
   14     8        PRE_INC                                                  !1
          9    >   IS_SMALLER_OR_EQUAL                                      !1, 10
         10      > JMPNZ                                                    ~8, ->3
   19    11    >   INIT_FCALL                                               'var_export'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.76 ms | 1010 KiB | 15 Q