3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(unserialize(serialize(new DateTime("2013-02-02T00:00:00Z")))); var_dump(unserialize(serialize(new DateTime("2013-02-02T00:00:00Y"))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b5tiC
function name:  (null)
number of ops:  25
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'unserialize'
          2        INIT_FCALL                                               'serialize'
          3        NEW                                              $0      'DateTime'
          4        SEND_VAL_EX                                              '2013-02-02T00%3A00%3A00Z'
          5        DO_FCALL                                      0          
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                                 
    4    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'unserialize'
         14        INIT_FCALL                                               'serialize'
         15        NEW                                              $5      'DateTime'
         16        SEND_VAL_EX                                              '2013-02-02T00%3A00%3A00Y'
         17        DO_FCALL                                      0          
         18        SEND_VAR                                                 $5
         19        DO_ICALL                                         $7      
         20        SEND_VAR                                                 $7
         21        DO_ICALL                                         $8      
         22        SEND_VAR                                                 $8
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.21 ms | 1395 KiB | 19 Q