3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=9;$i>1;){$r[]=$i--;echo str_replace($r,' ','1234567887654321')."\r";}
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 = 2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
Branch analysis from position: 2
filename:       /in/JFOjL
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i, !1 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 9
          1      > JMP                                                      ->12
          2    >   POST_DEC                                         ~4      !0
          3        ASSIGN_DIM                                               !1
          4        OP_DATA                                                  ~4
          5        INIT_FCALL                                               'str_replace'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 '+'
          8        SEND_VAL                                                 '1234567887654321'
          9        DO_ICALL                                         $5      
         10        CONCAT                                           ~6      $5, '%0D'
         11        ECHO                                                     ~6
         12    >   IS_SMALLER                                               1, !0
         13      > JMPNZ                                                    ~7, ->2
         14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.49 ms | 1398 KiB | 15 Q