3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Teste { $teste = function (){return 'abc';}; class A {} } namespace{ echo Teste\teste; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1RsB8
function name:  (null)
number of ops:  5
compiled vars:  !0 = $teste
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00teste%5C%7Bclosure%7D%2Fin%2F1RsB8%3A4%240'
          1        ASSIGN                                                   !0, ~1
    9     2        FETCH_CONSTANT                                   ~3      'Teste%5Cteste'
          3        ECHO                                                     ~3
   12     4      > RETURN                                                   1

Function %00teste%5C%7Bclosure%7D%2Fin%2F1RsB8%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1RsB8
function name:  Teste\{closure}
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   'abc'
          1*     > RETURN                                                   null

End of function %00teste%5C%7Bclosure%7D%2Fin%2F1RsB8%3A4%240

Class Teste\A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
199.64 ms | 1392 KiB | 13 Q