3v4l.org

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

Class NewDateTime: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.37 ms | 1392 KiB | 13 Q