3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 720 / 11; $y = 0; for ($i = 0; $i < 13; $i++) { $z = $y - $i * 60; $min = floor($z); $s = 60 * ($z-$min); $sec = floor($s); $ms = $s-$sec; echo "$i:$min:$sec.$ms $y\n"; $y += $x; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 4
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 4
Branch analysis from position: 35
Branch analysis from position: 4
filename:       /in/FeOeY
function name:  (null)
number of ops:  36
compiled vars:  !0 = $x, !1 = $y, !2 = $i, !3 = $z, !4 = $min, !5 = $s, !6 = $sec, !7 = $ms
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 65.4545
    4     1        ASSIGN                                                   !1, 0
    5     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->33
    6     4    >   MUL                                              ~11     !2, 60
          5        SUB                                              ~12     !1, ~11
          6        ASSIGN                                                   !3, ~12
    7     7        INIT_FCALL                                               'floor'
          8        SEND_VAR                                                 !3
          9        DO_ICALL                                         $14     
         10        ASSIGN                                                   !4, $14
    8    11        SUB                                              ~16     !3, !4
         12        MUL                                              ~17     ~16, 60
         13        ASSIGN                                                   !5, ~17
    9    14        INIT_FCALL                                               'floor'
         15        SEND_VAR                                                 !5
         16        DO_ICALL                                         $19     
         17        ASSIGN                                                   !6, $19
   10    18        SUB                                              ~21     !5, !6
         19        ASSIGN                                                   !7, ~21
   11    20        ROPE_INIT                                    10  ~24     !2
         21        ROPE_ADD                                      1  ~24     ~24, '%3A'
         22        ROPE_ADD                                      2  ~24     ~24, !4
         23        ROPE_ADD                                      3  ~24     ~24, '%3A'
         24        ROPE_ADD                                      4  ~24     ~24, !6
         25        ROPE_ADD                                      5  ~24     ~24, '.'
         26        ROPE_ADD                                      6  ~24     ~24, !7
         27        ROPE_ADD                                      7  ~24     ~24, '+'
         28        ROPE_ADD                                      8  ~24     ~24, !1
         29        ROPE_END                                      9  ~23     ~24, '%0A'
         30        ECHO                                                     ~23
   13    31        ASSIGN_OP                                     1          !1, !0
    5    32        PRE_INC                                                  !2
         33    >   IS_SMALLER                                               !2, 13
         34      > JMPNZ                                                    ~31, ->4
   14    35    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
266.94 ms | 1396 KiB | 16 Q