3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Long\Retarded\NamespaceName\Domain\Talking; class SayPhrase { public function __invoke() { echo 'Ti eblan'; } } namespace Http\Controller\Talking; use Long\Retarded\NamespaceName\Domain\Talking; class SayPhrase { public function __invoke() { return (new Talking\SayPhrase)(); } } (new SayPhrase)();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AWrUo
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   NEW                                              $0      'Http%5CController%5CTalking%5CSayPhrase'
          1        DO_FCALL                                      0          
          2        INIT_DYNAMIC_CALL                                        $0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class Long\Retarded\NamespaceName\Domain\Talking\SayPhrase:
Function __invoke:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AWrUo
function name:  __invoke
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'Ti+eblan'
    8     1      > RETURN                                                   null

End of function __invoke

End of class Long\Retarded\NamespaceName\Domain\Talking\SayPhrase.

Class Http\Controller\Talking\SayPhrase:
Function __invoke:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AWrUo
function name:  __invoke
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   NEW                                              $0      'Long%5CRetarded%5CNamespaceName%5CDomain%5CTalking%5CSayPhrase'
          1        DO_FCALL                                      0          
          2        INIT_DYNAMIC_CALL                                        $0
          3        DO_FCALL                                      0  $2      
          4      > RETURN                                                   $2
   18     5*     > RETURN                                                   null

End of function __invoke

End of class Http\Controller\Talking\SayPhrase.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.15 ms | 994 KiB | 13 Q