From f94e9794f066eb38d3fb10990e2f207aabff8407 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Wed, 10 Jan 2007 15:01:42 +0000 Subject: [PATCH] Complete the callback example with a note concerning php4 users git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@226917 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/language/types.xml b/language/types.xml index 8f41ab9216..a67cff0d63 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -2403,7 +2403,14 @@ call_user_func(array($obj, 'myCallbackMethod')); - + + + In PHP4, you will have to use a reference to create a callback that + points to the actual object, and not a copy of it. For more details, + see References Explained. + + +