3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (new DateTime() > new DateTime("2010-05-15 16:00:00")) { echo "HELLO"; # current time is greater than 2010-05-15 16:00:00 # in other words, 2010-05-15 16:00:00 has passed }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/8FBp3
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $0      'DateTime'
          1        DO_FCALL                                      0          
          2        NEW                                              $2      'DateTime'
          3        SEND_VAL_EX                                              '2010-05-15+16%3A00%3A00'
          4        DO_FCALL                                      0          
          5        IS_SMALLER                                               $2, $0
          6      > JMPZ                                                     ~4, ->8
    4     7    >   ECHO                                                     'HELLO'
    7     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.38 ms | 1396 KiB | 13 Q