3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(time() - strtotime(NULL) > 0) echo 'hi'; else echo 'bye'; ?>
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/c6J3I
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $0      
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 null
          4        DO_ICALL                                         $1      
          5        SUB                                              ~2      $0, $1
          6        IS_SMALLER                                               0, ~2
          7      > JMPZ                                                     ~3, ->10
    5     8    >   ECHO                                                     'hi'
          9      > JMP                                                      ->11
    7    10    >   ECHO                                                     'bye'
    9    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.06 ms | 1394 KiB | 17 Q