From 3a33e2cfc1553ce33b78e13eb616877f3dd00878 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Sat, 8 Dec 2007 02:14:26 +0000 Subject: [PATCH] reference only required in PHP4, add an alternative as an example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247766 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/call-user-method-array.xml | 23 +++++++++++++++---- .../classobj/functions/call-user-method.xml | 21 ++++++++++++++--- 2 files changed, 37 insertions(+), 7 deletions(-) diff --git a/reference/classobj/functions/call-user-method-array.xml b/reference/classobj/functions/call-user-method-array.xml index 302ffe15fa..0d518ef296 100644 --- a/reference/classobj/functions/call-user-method-array.xml +++ b/reference/classobj/functions/call-user-method-array.xml @@ -1,5 +1,5 @@ - + call_user_method_array @@ -11,16 +11,31 @@ mixedcall_user_method_array stringmethod_name objectobj - arrayparamarr + arrayparams The call_user_method_array function is deprecated - as of PHP 4.1.0, use the call_user_func_array variety - with the array(&$obj, "method_name") syntax instead. + as of PHP 4.1.0. + + &reftitle.examples; + + + <function>call_user_method_array</function> alternative + + +]]> + + + + &reftitle.seealso; diff --git a/reference/classobj/functions/call-user-method.xml b/reference/classobj/functions/call-user-method.xml index 1ffce004c6..af674662ca 100644 --- a/reference/classobj/functions/call-user-method.xml +++ b/reference/classobj/functions/call-user-method.xml @@ -1,5 +1,5 @@ - + call_user_method @@ -17,11 +17,26 @@ The call_user_method function is deprecated - as of PHP 4.1.0, use the call_user_func variety - with the array(&$obj, "method_name") syntax instead. + as of PHP 4.1.0. + + &reftitle.examples; + + + <function>call_user_method</function> alternative + + +]]> + + + + &reftitle.seealso;