From e7a5c5583fc1c0f01048ba08e30c03b1600d761c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 16 Apr 2009 09:46:57 +0000 Subject: [PATCH] First parameter is callback git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278800 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/is-callable.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reference/var/functions/is-callable.xml b/reference/var/functions/is-callable.xml index 06e414e11a..36de7dedbe 100644 --- a/reference/var/functions/is-callable.xml +++ b/reference/var/functions/is-callable.xml @@ -1,5 +1,5 @@ - + is_callable @@ -12,7 +12,7 @@ &reftitle.description; boolis_callable - mixedvar + callbackname boolsyntax_onlyfalse stringcallable_name @@ -29,7 +29,7 @@ - var + name Can be either the name of a function stored in a string variable, or @@ -43,7 +43,7 @@ If set to &true; the function only verifies that - var might be a function or method. It will only + name might be a function or method. It will only reject simple variables that are not strings, or an array that does not have a valid structure to be used as a callback. The valid ones are supposed to have only 2 entries, the first of which is an object @@ -69,7 +69,7 @@ &reftitle.returnvalues; - Returns &true; if var is callable, &false; + Returns &true; if name is callable, &false; otherwise.