3v4l.org

run code in 300+ PHP versions simultaneously
<?php $minute = (int) date('i'); $quarter = $minute / 15; echo is_int($quarter) ? 'YES' : 'NO';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qneZq
function name:  (null)
number of ops:  14
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        ASSIGN                                                   !1, ~5
    4     7        TYPE_CHECK                                   16          !1
          8      > JMPZ                                                     ~7, ->11
          9    >   QM_ASSIGN                                        ~8      'YES'
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~8      'NO'
         12    >   ECHO                                                     ~8
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.12 ms | 1398 KiB | 15 Q