3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test; class DateTime { } var_dump(new DateTime(), new \DateTime());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/08bsC
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_NS_FCALL_BY_NAME                                    'test%5Cvar_dump'
          1        NEW                                              $0      'test%5CDateTime'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $0
          4        NEW                                              $2      'DateTime'
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $2
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Class test\DateTime: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.92 ms | 1385 KiB | 15 Q