3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ''; $y = ''; for($i = 0; $i < 9992; ++$i ) { $x .= '['; $y .= ']'; } echo eval('$a = ' . $x . $y . ';'); $x = ''; $y = ''; for($i = 0; $i < 9993; ++$i ) { $x .= '['; $y .= ']'; } echo eval('$a = ' . $x . $y . ';');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 4
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 18
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 18
Branch analysis from position: 23
Branch analysis from position: 18
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 4
Branch analysis from position: 9
Branch analysis from position: 4
filename:       /in/2UsdN
function name:  (null)
number of ops:  29
compiled vars:  !0 = $x, !1 = $y, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
          1        ASSIGN                                                   !1, ''
          2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->7
          4    >   ASSIGN_OP                                     8          !0, '%5B'
          5        ASSIGN_OP                                     8          !1, '%5D'
          6        PRE_INC                                                  !2
          7    >   IS_SMALLER                                               !2, 9992
          8      > JMPNZ                                                    ~9, ->4
    3     9    >   CONCAT                                           ~10     '%24a+%3D+', !0
         10        CONCAT                                           ~11     ~10, !1
         11        CONCAT                                           ~12     ~11, '%3B'
         12        INCLUDE_OR_EVAL                                  $13     ~12, EVAL
         13        ECHO                                                     $13
    4    14        ASSIGN                                                   !0, ''
         15        ASSIGN                                                   !1, ''
         16        ASSIGN                                                   !2, 0
         17      > JMP                                                      ->21
         18    >   ASSIGN_OP                                     8          !0, '%5B'
         19        ASSIGN_OP                                     8          !1, '%5D'
         20        PRE_INC                                                  !2
         21    >   IS_SMALLER                                               !2, 9993
         22      > JMPNZ                                                    ~20, ->18
    5    23    >   CONCAT                                           ~21     '%24a+%3D+', !0
         24        CONCAT                                           ~22     ~21, !1
         25        CONCAT                                           ~23     ~22, '%3B'
         26        INCLUDE_OR_EVAL                                  $24     ~23, EVAL
         27        ECHO                                                     $24
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.51 ms | 1386 KiB | 13 Q