3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( DateTime::createFromFormat('G:iA', '15:00PM'), DateTime::createFromFormat('g:iA', '3:00PM') );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F9uj3
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          2        SEND_VAL                                                 'G%3AiA'
          3        SEND_VAL                                                 '15%3A00PM'
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR                                                 $0
    5     6        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          7        SEND_VAL                                                 'g%3AiA'
          8        SEND_VAL                                                 '3%3A00PM'
          9        DO_FCALL                                      0  $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                                 
    6    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
45.4 ms | 410 KiB | 7 Q