mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add static keyword in method static
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249104 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6d6d06eabd
commit
0bdb078cd4
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.25 $ -->
|
||||
<!-- $Revision: 1.26 $ -->
|
||||
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
|
||||
<refentry xml:id="function.usort" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
|
@ -138,7 +138,7 @@ class TestObj {
|
|||
}
|
||||
|
||||
/* This is the static comparing function: */
|
||||
function cmp_obj($a, $b)
|
||||
static function cmp_obj($a, $b)
|
||||
{
|
||||
$al = strtolower($a->name);
|
||||
$bl = strtolower($b->name);
|
||||
|
|
Loading…
Reference in a new issue