1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 13:01:02 +02:00
Files
archived-php-src/ext/standard
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
..
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-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
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-29 22:03:01 +00:00
2007-12-31 07:17:19 +00:00
WS
2008-01-07 15:13:17 +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
2008-02-01 12:28:44 +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-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