3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('UTC'); var_dump(DateTime::createFromFormat('Y-m-d\TH:i:sP', '2014-05-29T18:00:00+01:00'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CHUu6
function name:  (null)
number of ops:  11
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
         1        SEND_VAL                                                 'UTC'
         2        DO_ICALL                                                 
   3     3        INIT_FCALL                                               'var_dump'
         4        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
         5        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3AsP'
         6        SEND_VAL                                                 '2014-05-29T18%3A00%3A00%2B01%3A00'
         7        DO_FCALL                                      0  $1      
         8        SEND_VAR                                                 $1
         9        DO_ICALL                                                 
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0