3v4l.org

run code in 500+ PHP versions simultaneously
<?php $dt1 = new DateTime('12-11-01'); $dt2 = new DateTime('2008-05-02'); if ( $dt2 <= $dt1 ) { echo 111; }
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/cfDdY
function name:  (null)
number of ops:  12
compiled vars:  !0 = $dt1, !1 = $dt2
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   NEW                                                  $2      'DateTime'
          1        SEND_VAL_EX                                                  '12-11-01'
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $2
    3     4        NEW                                                  $5      'DateTime'
          5        SEND_VAL_EX                                                  '2008-05-02'
          6        DO_FCALL                                          0          
          7        ASSIGN                                                       !1, $5
    4     8        IS_SMALLER_OR_EQUAL                                          !1, !0
          9      > JMPZ                                                         ~8, ->11
    5    10    >   ECHO                                                         111
    6    11    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.16 ms | 2883 KiB | 13 Q