![]() |
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch instance_invoke_003.phpt for Scripting Engine problem Bug #63253Patch version 2012-10-12 04:25 UTC Return to Bug #63253 | Download this patchPatch Revisions: Developer: laruence@php.net--TEST-- Instance invoke --FILE-- <?php class Foo { public function dummy() { echo "dummy"; } public function __invoke() { return $this; } } (new Foo())()->dummy(); --EXPECT-- dummy |
![]() All rights reserved. |
Last updated: Sat May 03 19:01:30 2025 UTC |