3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime1 = date_create('2016-05-26'); $now = new \DateTimeImmutable(); var_dump($datetime1 < $now);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LMVHT
function name:  (null)
number of ops:  12
compiled vars:  !0 = $datetime1, !1 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_create'
          1        SEND_VAL                                                 '2016-05-26'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        NEW                                              $4      'DateTimeImmutable'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $4
    6     7        INIT_FCALL                                               'var_dump'
          8        IS_SMALLER                                       ~7      !0, !1
          9        SEND_VAL                                                 ~7
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.42 ms | 1385 KiB | 17 Q