3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Prague'); var_dump(unserialize('O:8:"DateTime":0:{}') == new DateTime);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g4GVk
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FPrague'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'unserialize'
          5        SEND_VAL                                                 'O%3A8%3A%22DateTime%22%3A0%3A%7B%7D'
          6        DO_ICALL                                         $1      
          7        NEW                                              $2      'DateTime'
          8        DO_FCALL                                      0          
          9        IS_EQUAL                                         ~4      $1, $2
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.74 ms | 1394 KiB | 19 Q