3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ( ! defined('PHP_EOL')) { define('PHP_EOL', chr(10)); } foreach(range(1, 100) as $i) { printf('%03s' . PHP_EOL, $i); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 5
Branch analysis from position: 1
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 5
filename:       /in/8KFPF
function name:  (null)
number of ops:  18
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > JMPZ                                                     <false>, ->5
    3     1    >   INIT_FCALL                                               'define'
          2        SEND_VAL                                                 'PHP_EOL'
          3        SEND_VAL                                                 '%0A'
          4        DO_ICALL                                                 
    6     5    >   INIT_FCALL                                               'range'
          6        SEND_VAL                                                 1
          7        SEND_VAL                                                 100
          8        DO_ICALL                                         $2      
          9      > FE_RESET_R                                       $3      $2, ->16
         10    > > FE_FETCH_R                                               $3, !0, ->16
    7    11    >   INIT_FCALL                                               'printf'
         12        SEND_VAL                                                 '%2503s%0A'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
    6    15      > JMP                                                      ->10
         16    >   FE_FREE                                                  $3
    8    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.4 ms | 1395 KiB | 19 Q