3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo DateTime::createFromFormat('!Y-m-??', '2012-11-00')->format('M Y');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D2TPX
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          1        SEND_VAL                                                 '%21Y-m-%3F%3F'
          2        SEND_VAL                                                 '2012-11-00'
          3        DO_FCALL                                      0  $0      
          4        INIT_METHOD_CALL                                         $0, 'format'
          5        SEND_VAL_EX                                              'M+Y'
          6        DO_FCALL                                      0  $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.27 ms | 1396 KiB | 13 Q