3v4l.org

run code in 300+ PHP versions simultaneously
<?php $minute = (int) date('i'); $quarter = 1 + ($minute / 15); echo is_int($quarter) ? 'YES' : 'NO';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
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/P5KeJ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $minute, !1 = $quarter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'i'
          2        DO_ICALL                                         $2      
          3        CAST                                          4  ~3      $2
          4        ASSIGN                                                   !0, ~3
    3     5        DIV                                              ~5      !0, 15
          6        ADD                                              ~6      1, ~5
          7        ASSIGN                                                   !1, ~6
    4     8        TYPE_CHECK                                   16          !1
          9      > JMPZ                                                     ~8, ->12
         10    >   QM_ASSIGN                                        ~9      'YES'
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~9      'NO'
         13    >   ECHO                                                     ~9
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.4 ms | 1386 KiB | 15 Q