mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
121020e6b4
commit
97d98c61c4
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue