3v4l.org

run code in 500+ PHP versions simultaneously
<?php $sincedate = new DateTime( '2016-01-06 00:00:00' ); $post_date = new DateTime( '2016-01-07 16:40:42' ); if ( $post_date > $sincedate ) { echo 'Post date > since'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/G3nT2
function name:  (null)
number of ops:  12
compiled vars:  !0 = $sincedate, !1 = $post_date
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $2      'DateTime'
          1        SEND_VAL_EX                                                  '2016-01-06+00%3A00%3A00'
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $2
    4     4        NEW                                                  $5      'DateTime'
          5        SEND_VAL_EX                                                  '2016-01-07+16%3A40%3A42'
          6        DO_FCALL                                          0          
          7        ASSIGN                                                       !1, $5
    6     8        IS_SMALLER                                                   !0, !1
          9      > JMPZ                                                         ~8, ->11
    7    10    >   ECHO                                                         'Post+date+%3E+since'
    8    11    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.48 ms | 2512 KiB | 13 Q