3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Teste\A; class A { public function __toString(){ return 'teste'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QFZm8
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   DECLARE_CLASS                                            'teste%5Ca%5Ca'
    8     1      > RETURN                                                   1

Class Teste\A\A:
Function __tostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QFZm8
function name:  __toString
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   'teste'
    7     1*       VERIFY_RETURN_TYPE                                       
          2*     > RETURN                                                   null

End of function __tostring

End of class Teste\A\A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.37 ms | 1392 KiB | 13 Q