3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'may 2014'; $fecha = DateTime::createFromFormat('M Y', $string); echo $fecha; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fDWmP
function name:  (null)
number of ops:  8
compiled vars:  !0 = $string, !1 = $fecha
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'may+2014'
    3     1        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          2        SEND_VAL                                                 'M+Y'
          3        SEND_VAR                                                 !0
          4        DO_FCALL                                      0  $3      
          5        ASSIGN                                                   !1, $3
    4     6        ECHO                                                     !1
    5     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.3 ms | 1392 KiB | 13 Q