summaryrefslogtreecommitdiff
path: root/ext/overload
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2001-12-09 04:31:33 +0000
committerAndrei Zmievski <andrei@php.net>2001-12-09 04:31:33 +0000
commit2f4035c833884ecfa5b5840a4ca2cb897a5a18fc (patch)
tree7ad6d59d0cc9699cfdb9cd5f4d4c45505c03d861 /ext/overload
parent36c4708a84bf93c2145417cb8754cdf50c7f4712 (diff)
downloadphp-git-2f4035c833884ecfa5b5840a4ca2cb897a5a18fc.tar.gz
Adjust to account for latest changes.
Diffstat (limited to 'ext/overload')
-rw-r--r--ext/overload/README4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/overload/README b/ext/overload/README
index e6017fe408..73cda73b59 100644
--- a/ext/overload/README
+++ b/ext/overload/README
@@ -42,10 +42,8 @@ class OO {
return true;
}
- function __call()
+ function __call($method, $args)
{
- $args = func_get_args();
- $method = array_shift($args);
print '-- OO::' . $method . "() was called.--\n";
return call_user_func_array(array(&$this, 'my_' . $method), $args);
}