Marcus Boerger
e8a8acdf39
[DOC]
...
- Fix callable/static mess, the following will now all result in a E_STRICT
. binding a dynamic function as a static callback
. static call of a dynamic function
. is_callable() on a static binding to a dynamic function
# [marcus@frodo PHP_5_3]$ php -a -d error_reporting=8191
# make: `sapi/cli/php' is up to date.
# Interactive shell
#
# php > class t{ function f() { echo "Funny\n"; } }
# php > $c = array("t","f");
# php > call_user_func($c);
#
# Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method t::f() cannot be called statically in php shell code on line 1
# Funny
# php > var_dump(is_callable($c));
#
# Strict Standards: Non-static method t::f() cannot be called statically in php shell code on line 1
# bool(true)
# php > t::f();
#
# Strict Standards: Non-static method t::f() should not be called statically in php shell code on line 1
# Funny
# php >
2008-02-01 21:27:55 +00:00
..
2008-02-01 17:21:18 +00:00
2008-01-29 10:45:07 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2008-02-01 12:28:44 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-10-05 15:00:09 +00:00
2007-10-05 15:00:09 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-11-05 12:33:40 +00:00
2007-04-29 00:43:11 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2008-01-17 14:12:12 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2008-01-08 19:08:50 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2008-01-29 22:03:01 +00:00
2007-12-31 07:17:19 +00:00
2008-01-07 15:13:17 +00:00
2008-01-10 20:29:12 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-05-24 21:40:41 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2008-01-19 19:27:22 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2008-02-01 12:28:44 +00:00
2004-07-15 01:26:03 +00:00
2007-12-31 07:17:19 +00:00
2008-02-01 21:27:55 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-10-10 09:27:13 +00:00
2007-12-31 07:17:19 +00:00
2007-10-10 00:34:40 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-10-17 10:36:33 +00:00
2007-10-17 10:36:33 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00