3v4l.org

run code in 500+ PHP versions simultaneously
<?php $s = array(); for($x=0;$x<1000;$x++){ $o = new ArrayObject; $o->name = "Adam"; $o->age = 35; $s[] = $o; }

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
Branch analysis from position: 3
filename:       /in/Qvl4W
function name:  (null)
number of ops:  16
compiled vars:  !0 = $s, !1 = $x, !2 = $o
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN                                                       !1, 0
          2      > JMP                                                          ->13
    5     3    >   NEW                                                  $5      'ArrayObject'
          4        DO_FCALL                                          0          
          5        ASSIGN                                                       !2, $5
    6     6        ASSIGN_OBJ                                                   !2, 'name'
          7        OP_DATA                                                      'Adam'
    7     8        ASSIGN_OBJ                                                   !2, 'age'
          9        OP_DATA                                                      35
    8    10        ASSIGN_DIM                                                   !0
         11        OP_DATA                                                      !2
    4    12        PRE_INC                                                      !1
         13    >   IS_SMALLER                                                   !1, 1000
         14      > JMPNZ                                                        ~12, ->3
    9    15    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.81 ms | 3746 KiB | 13 Q