3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($d = new \DateTime('0000-01-01T00:00:00')); echo $d->format(\DateTime::W3C);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/29YV2
function name:  (null)
number of ops:  12
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $1      'DateTime'
          2        SEND_VAL_EX                                              '0000-01-01T00%3A00%3A00'
          3        DO_FCALL                                      0          
          4        ASSIGN                                           ~3      !0, $1
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
    5     7        INIT_METHOD_CALL                                         !0, 'format'
          8        SEND_VAL_EX                                              'Y-m-d%5CTH%3Ai%3AsP'
          9        DO_FCALL                                      0  $5      
         10        ECHO                                                     $5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.16 ms | 1394 KiB | 15 Q