3v4l.org

run code in 300+ PHP versions simultaneously
<?php if( strtotime("1865-01-15 14:00:00") > strtotime("now") ) { print "Time Travel!"; } else { print "works as expected."; }
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/TNSNN
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '1865-01-15+14%3A00%3A00'
          2        DO_ICALL                                         $0      
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 'now'
          5        DO_ICALL                                         $1      
          6        IS_SMALLER                                               $1, $0
          7      > JMPZ                                                     ~2, ->10
    4     8    >   ECHO                                                     'Time+Travel%21'
    3     9      > JMP                                                      ->11
    7    10    >   ECHO                                                     'works+as+expected.'
    8    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
260.55 ms | 1009 KiB | 14 Q