3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d2 = DateTime::createFromFormat('d/m/Y H:i','25/05/2014 22:49'); $now = new Datetime(); var_dump($d2); //var_dump($now); 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/fOscB
function name:  (null)
number of ops:  15
compiled vars:  !0 = $d2, !1 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          1        SEND_VAL                                                 'd%2Fm%2FY+H%3Ai'
          2        SEND_VAL                                                 '25%2F05%2F2014+22%3A49'
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
    5     5        NEW                                              $4      'Datetime'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $4
    7     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
   10    11        IS_SMALLER_OR_EQUAL                                      !1, !0
         12      > JMPZ                                                     ~8, ->14
   11    13    >   ECHO                                                     'Yes+%21'
   12    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.15 ms | 1394 KiB | 15 Q