3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.81 ms | 1394 KiB | 17 Q