1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 19:41:05 +02:00
Files
archived-php-src/ext
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
2008-01-31 21:36:40 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2008-01-25 20:11:53 +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-31 18:46:03 +00:00
2008-01-30 08:10: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
2008-01-28 22:50:06 +00:00
2008-01-29 22:06:43 +00:00
2008-01-31 22:03:23 +00:00
2007-12-31 07:17:19 +00:00
2008-01-29 20:18:02 +00:00
2008-01-31 20:50:27 +00:00
2008-01-29 01:17:30 +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-30 16:06:44 +00:00
2007-12-31 07:17:19 +00:00
WS
2008-01-27 17:00:37 +00:00
2007-12-31 07:17:19 +00:00
2008-01-16 06:15:04 +00:00
2008-01-31 07:44:01 +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
2008-01-27 15:04:41 +00:00
2008-01-20 15:33:24 +00:00
2008-01-30 08:52:17 +00:00
2008-01-29 21:21:20 +00:00
2008-01-15 14:51:50 +00:00