3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Landing; class Landing { public $a = 'lol'; } namespace Stats; class Landing { public $a = 'test'; } $landingA = new \Landing\Landing(); $landingB = new \Stats\Landing(); var_dump($landingA->a); var_dump($landingB->a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/961s2
function name:  (null)
number of ops:  17
compiled vars:  !0 = $landingA, !1 = $landingB
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $2      'Landing%5CLanding'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   14     3        NEW                                              $5      'Stats%5CLanding'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
   16     6        INIT_NS_FCALL_BY_NAME                                    'Stats%5Cvar_dump'
          7        CHECK_FUNC_ARG                                           
          8        FETCH_OBJ_FUNC_ARG                               $8      !0, 'a'
          9        SEND_FUNC_ARG                                            $8
         10        DO_FCALL                                      0          
   17    11        INIT_NS_FCALL_BY_NAME                                    'Stats%5Cvar_dump'
         12        CHECK_FUNC_ARG                                           
         13        FETCH_OBJ_FUNC_ARG                               $10     !1, 'a'
         14        SEND_FUNC_ARG                                            $10
         15        DO_FCALL                                      0          
         16      > RETURN                                                   1

Class Landing\Landing: [no user functions]
Class Stats\Landing: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.84 ms | 1394 KiB | 15 Q