3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d1 = new DateTime('28/05/2014 00:00'); $d2 = new DateTime('31/05/2014 00:00'); $now = new Datetime(); if($now <= $d2){ echo "Yes !"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/UJ5P5
function name:  (null)
number of ops:  15
compiled vars:  !0 = $d1, !1 = $d2, !2 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'DateTime'
          1        SEND_VAL_EX                                              '28%2F05%2F2014+00%3A00'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    3     4        NEW                                              $6      'DateTime'
          5        SEND_VAL_EX                                              '31%2F05%2F2014+00%3A00'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $6
    5     8        NEW                                              $9      'Datetime'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !2, $9
    7    11        IS_SMALLER_OR_EQUAL                                      !2, !1
         12      > JMPZ                                                     ~12, ->14
    8    13    >   ECHO                                                     'Yes+%21'
    9    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.85 ms | 1393 KiB | 13 Q