3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace True { class Foo { static function test() { echo self::class; } } } namespace { True\Foo::test(); }

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LCEX3
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_STATIC_METHOD_CALL                                  'True%5CFoo', 'test'
          1        DO_FCALL                                      0          
   12     2      > RETURN                                                   1

Class True\Foo:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LCEX3
function name:  test
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'True%5CFoo'
    7     1      > RETURN                                                   null

End of function test

End of class True\Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.68 ms | 1011 KiB | 13 Q