3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = 5; $min = 24; echo ($span == 0) ? floor((intval($min) / $interval) * $interval) : 0;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0nTZl
function name:  (null)
number of ops:  15
compiled vars:  !0 = $interval, !1 = $min, !2 = $span
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    3     1        ASSIGN                                                   !1, 24
    4     2        IS_EQUAL                                                 !2, 0
          3      > JMPZ                                                     ~5, ->12
          4    >   INIT_FCALL                                               'floor'
          5        CAST                                          4  ~6      !1
          6        DIV                                              ~7      ~6, !0
          7        MUL                                              ~8      !0, ~7
          8        SEND_VAL                                                 ~8
          9        DO_ICALL                                         $9      
         10        QM_ASSIGN                                        ~10     $9
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~10     0
         13    >   ECHO                                                     ~10
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.46 ms | 1398 KiB | 15 Q