3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(\DateTime::createFromFormat(\DateTime::RFC3339, '2017-99-99T08:51:13-03:00')); var_dump(new \DateTime('2017-99-99T08:51:13-03:00'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v0IQb
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_STATIC_METHOD_CALL                                      'DateTime', 'createFromFormat'
          2        SEND_VAL                                                     'Y-m-d%5CTH%3Ai%3AsP'
          3        SEND_VAL                                                     '2017-99-99T08%3A51%3A13-03%3A00'
          4        DO_FCALL                                          0  $0      
          5        SEND_VAR                                                     $0
          6        DO_ICALL                                                     
    4     7        INIT_FCALL                                                   'var_dump'
          8        NEW                                                  $2      'DateTime'
          9        SEND_VAL_EX                                                  '2017-99-99T08%3A51%3A13-03%3A00'
         10        DO_FCALL                                          0          
         11        SEND_VAR                                                     $2
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
216.22 ms | 2493 KiB | 9 Q