3v4l.org

run code in 500+ PHP versions simultaneously
<?php class CallbackWithIntersectionTypehintClass { #[PHP8] public function __invoke(Exception&Countable $e) : void /* // public function __invoke(bool $feelingDirty = true): void // */ { echo __METHOD__; } } (new CallbackWithIntersectionTypehintClass)();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KrZlK
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   NEW                                                  $0      'CallbackWithIntersectionTypehintClass'
          1        DO_FCALL                                          0          
          2        INIT_DYNAMIC_CALL                                            $0
          3        DO_FCALL                                          0          
          4      > RETURN                                                       1

Class CallbackWithIntersectionTypehintClass:
Function __invoke:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KrZlK
function name:  __invoke
number of ops:  3
compiled vars:  !0 = $e
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   RECV                                                 !0      
    7     1        ECHO                                                         'CallbackWithIntersectionTypehintClass%3A%3A__invoke'
          2      > RETURN                                                       null

End of function __invoke

End of class CallbackWithIntersectionTypehintClass.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.43 ms | 3414 KiB | 13 Q