3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.48 ms | 1394 KiB | 15 Q