|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-30 07:30 UTC] wclssdn at yeah dot net
[2015-01-07 22:33 UTC] danack@php.net
-Status: Open
+Status: Feedback
-Package: Feature/Change Request
+Package: *General Issues
[2015-01-07 22:33 UTC] danack@php.net
[2015-01-18 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 23:00:01 2025 UTC |
Description: ------------ I cannot expect this to come any time soon, maybe for 6CVS. For isset() and unset() we now have __isset and __unset overload methods. We need another magic method for method_exists, e.g., __ismethod (or a similiar name, __iscallable, etc). Reproduce code: --------------- <?php class Foo { public function __call( $method, $args ) { // some magic with $methods } public function __ismethod( $method ) { // returns true or false if $method is a // valid method } } ?>