3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=1;do{for ($i = 0; $i <= 60000; $i++)echo htmlspecialchars_decode("&#$i;");}while($x > 0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 1
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
Branch analysis from position: 3
filename:       /in/qeRcf
function name:  (null)
number of ops:  16
compiled vars:  !0 = $x, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
          1    >   ASSIGN                                                   !1, 0
          2      > JMP                                                      ->11
          3    >   INIT_FCALL                                               'htmlspecialchars_decode'
          4        ROPE_INIT                                     3  ~5      '%26%23'
          5        ROPE_ADD                                      1  ~5      ~5, !1
          6        ROPE_END                                      2  ~4      ~5, '%3B'
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $7      
          9        ECHO                                                     $7
         10        PRE_INC                                                  !1
         11    >   IS_SMALLER_OR_EQUAL                                      !1, 60000
         12      > JMPNZ                                                    ~9, ->3
         13    >   IS_SMALLER                                               0, !0
         14      > JMPNZ                                                    ~10, ->1
         15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.6 ms | 1386 KiB | 15 Q