3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.08 ms | 1394 KiB | 15 Q