3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total = (int)18243; $limit = 30; for ($offset = 0 ; $offset < $total ;$offset = $offset + $limit ) { echo "$offset, $limit \n"; }

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 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5
Branch analysis from position: 14
Branch analysis from position: 5
filename:       /in/mttqZ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $total, !1 = $limit, !2 = $offset
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          4  ~3      18243
          1        ASSIGN                                                   !0, ~3
    4     2        ASSIGN                                                   !1, 30
    5     3        ASSIGN                                                   !2, 0
          4      > JMP                                                      ->12
    6     5    >   ROPE_INIT                                     4  ~8      !2
          6        ROPE_ADD                                      1  ~8      ~8, '%2C+'
          7        ROPE_ADD                                      2  ~8      ~8, !1
          8        ROPE_END                                      3  ~7      ~8, '+%0A'
          9        ECHO                                                     ~7
    5    10        ADD                                              ~10     !2, !1
         11        ASSIGN                                                   !2, ~10
         12    >   IS_SMALLER                                               !2, !0
         13      > JMPNZ                                                    ~12, ->5
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
253.72 ms | 1006 KiB | 13 Q