3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.93 ms | 1397 KiB | 13 Q