3v4l.org

run code in 500+ PHP versions simultaneously
<?php $dt = DateTime::createFromFormat('h:i:A+', '01:31:PM - 03:00:PM'); var_export(DateTime::getLastErrors());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Sod9o
function name:  (null)
number of ops:  11
compiled vars:  !0 = $dt
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                      'DateTime', 'createFromFormat'
          1        SEND_VAL                                                     'h%3Ai%3AA%2B'
          2        SEND_VAL                                                     '01%3A31%3APM+-+03%3A00%3APM'
          3        DO_FCALL                                          0  $1      
          4        ASSIGN                                                       !0, $1
    5     5        INIT_FCALL                                                   'var_export'
          6        INIT_STATIC_METHOD_CALL                                      'DateTime', 'getLastErrors'
          7        DO_FCALL                                          0  $3      
          8        SEND_VAR                                                     $3
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.11 ms | 1878 KiB | 14 Q