3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyDateTime extends DateTime { } $d = MyDateTime::createFromFormat('Y-m-d', '2011-01-01'); echo get_class($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hfmmN
function name:  (null)
number of ops:  8
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_STATIC_METHOD_CALL                                  'MyDateTime', 'createFromFormat'
          1        SEND_VAL                                                 'Y-m-d'
          2        SEND_VAL                                                 '2011-01-01'
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    8     5        GET_CLASS                                        ~3      !0
          6        ECHO                                                     ~3
          7      > RETURN                                                   1

Class MyDateTime: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.58 ms | 1392 KiB | 13 Q