3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Paris'); var_dump(date_create("2018-03-25 02:00:00") == date_create("2018-03-25 03:00:00"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/abboe
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FParis'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'date_create'
          5        SEND_VAL                                                 '2018-03-25+02%3A00%3A00'
          6        DO_ICALL                                         $1      
          7        INIT_FCALL                                               'date_create'
          8        SEND_VAL                                                 '2018-03-25+03%3A00%3A00'
          9        DO_ICALL                                         $2      
         10        IS_EQUAL                                         ~3      $1, $2
         11        SEND_VAL                                                 ~3
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.85 ms | 1394 KiB | 19 Q