3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime("today 06:00"); $now = new DateTime("now"); if(DateTime("now") > $date) { echo "Tu peu encore le voir"; }
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/XATgX
function name:  (null)
number of ops:  15
compiled vars:  !0 = $date, !1 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'DateTime'
          1        SEND_VAL_EX                                              'today+06%3A00'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    4     4        NEW                                              $5      'DateTime'
          5        SEND_VAL_EX                                              'now'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $5
    5     8        INIT_FCALL_BY_NAME                                       'DateTime'
          9        SEND_VAL_EX                                              'now'
         10        DO_FCALL                                      0  $8      
         11        IS_SMALLER                                               !0, $8
         12      > JMPZ                                                     ~9, ->14
    7    13    >   ECHO                                                     'Tu+peu+encore+le+voir'
    8    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.07 ms | 1393 KiB | 13 Q