PHP Function List
__invoke doesn't exist. Closest matches:
- invoke
- com_invoke
- invokeargs
- gmp_invert
- is_link
- hw_info
- gd_info
- mb_get_info
- pg_put_line
- px_get_info
- ps_set_info
- ps_add_note
- apc_sma_info
- pdf_set_info
- odbc_binmode
- cal_info
- link
- eio_link
- pdf_add_note
- rrd_info
Site Search Results
-
__invoke() cannot be used to create fluente interface like in the "D language" <?php class CallableClass { var $next; function __invoke ($x)
-
There are no user contributed notes for this page.
-
There are two new magic methods, __callStatic() and __invoke(). Nowdoc syntax is now supported, similar to Heredoc syntax, but with single quotes.
-
if (version_compare (PHP_VERSION, "5.3.0", ">=") && method_exists ($callback, "__invoke")) { return new ReflectionMethod ($callback, "__invoke");
-
It takes advantage of the __invoke() magic method : <?php class Func { public static function fromFunction ($name){ return new Func ($name);
-
Added: The __invoke() method. 5.2.0: Changed: The __toString() method was only called when it was directly combined with echo or print.
-
Besides the methods listed here, this class also has an __invoke method. This is for consistency with other classes that implement calling magic, as this method is not ...
-
public function __invoke () { } // Introduced in 5.3, see http://php.net/manual/language.oop5.magic.php protected function protected_method() { }
-
Successfully call $this(__invoke); Successfully reference $$this->name; Successfully call call_user_func(array($this, 'method')) Failure: reference anything through $this->
-
Though you cannot use a class property as a function in any way (including for properties that are objects with their own __invoke() method) without triggering a fatal error, there ...

Other forms of search
To search the string "__invoke" using other options, try searching:
- Only the documentation
- Only this mirror
- The entire php.net domain
- pear.php.net
- pecl.php.net
- The Bug DB
- php-general mailing list
- Internals mailing list
- Documentation mailing list
For a quick overview over all documented PHP functions, click here.
