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); $sec = 60 * ($z-$min); echo "$i:$min:$sec $y\n"; $y += $x; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 4
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 4
Branch analysis from position: 27
Branch analysis from position: 4
filename:       /in/lq73b
function name:  (null)
number of ops:  28
compiled vars:  !0 = $x, !1 = $y, !2 = $i, !3 = $z, !4 = $min, !5 = $sec
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                                                      ->25
    6     4    >   MUL                                              ~9      !2, 60
          5        SUB                                              ~10     !1, ~9
          6        ASSIGN                                                   !3, ~10
    7     7        INIT_FCALL                                               'floor'
          8        SEND_VAR                                                 !3
          9        DO_ICALL                                         $12     
         10        ASSIGN                                                   !4, $12
    8    11        SUB                                              ~14     !3, !4
         12        MUL                                              ~15     ~14, 60
         13        ASSIGN                                                   !5, ~15
   10    14        ROPE_INIT                                     8  ~18     !2
         15        ROPE_ADD                                      1  ~18     ~18, '%3A'
         16        ROPE_ADD                                      2  ~18     ~18, !4
         17        ROPE_ADD                                      3  ~18     ~18, '%3A'
         18        ROPE_ADD                                      4  ~18     ~18, !5
         19        ROPE_ADD                                      5  ~18     ~18, '+'
         20        ROPE_ADD                                      6  ~18     ~18, !1
         21        ROPE_END                                      7  ~17     ~18, '%0A'
         22        ECHO                                                     ~17
   12    23        ASSIGN_OP                                     1          !1, !0
    5    24        PRE_INC                                                  !2
         25    >   IS_SMALLER                                               !2, 13
         26      > JMPNZ                                                    ~24, ->4
   13    27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.24 ms | 1396 KiB | 15 Q