3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test { use const nonexistent; class test { static function run(){ var_dump(nonexistent); } } } namespace { test\test::run(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AOMXV
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_STATIC_METHOD_CALL                                  'test%5Ctest', 'run'
          1        DO_FCALL                                      0          
   15     2      > RETURN                                                   1

Class test\test:
Function run:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AOMXV
function name:  run
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_NS_FCALL_BY_NAME                                    'test%5Cvar_dump'
          1        FETCH_CONSTANT                                   ~0      'nonexistent'
          2        SEND_VAL_EX                                              ~0
          3        DO_FCALL                                      0          
    9     4      > RETURN                                                   null

End of function run

End of class test\test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.33 ms | 1394 KiB | 15 Q