3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$start_date =strtotime('2013-02-13 12:02:00'); //$end_date =strtotime('2013-02-20 12:02:00'); //$total = ($end_date- $start_date); //echo date("Y-m-d H:i:s",$total); $count = 5; for($i=$count;$i>=0;$i--){ $array = array_fill(0,$i,'X'); echo implode("",$array); echo "<br>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
Branch analysis from position: 3
filename:       /in/hap9B
function name:  (null)
number of ops:  19
compiled vars:  !0 = $count, !1 = $i, !2 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, 5
    8     1        ASSIGN                                                   !1, !0
          2      > JMP                                                      ->16
    9     3    >   INIT_FCALL                                               'array_fill'
          4        SEND_VAL                                                 0
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 'X'
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !2, $5
   10     9        INIT_FCALL                                               'implode'
         10        SEND_VAL                                                 ''
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $7      
         13        ECHO                                                     $7
   11    14        ECHO                                                     '%3Cbr%3E'
    8    15        PRE_DEC                                                  !1
         16    >   IS_SMALLER_OR_EQUAL                                      0, !1
         17      > JMPNZ                                                    ~9, ->3
   12    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.09 ms | 1395 KiB | 17 Q