Missing colon (#43636 by Jakub)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249122 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Felipe Pena 2007-12-27 02:48:32 +00:00
parent 121020e6b4
commit 97d98c61c4

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<refentry xml:id="function.is-callable" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>is_callable</refname>
@ -56,7 +56,7 @@
<listitem>
<para>
Receives the "callable name". In the example below it is
"someClass:someMethod". Note, however, that despite the implication
"someClass::someMethod". Note, however, that despite the implication
that someClass::SomeMethod() is a callable static method, this is not
the case.
</para>
@ -117,7 +117,7 @@ $methodVariable = array($anObject, 'someMethod');
var_dump(is_callable($methodVariable, true, $callable_name)); // bool(true)
echo $callable_name, "\n"; // someClass:someMethod
echo $callable_name, "\n"; // someClass::someMethod
?>
]]>