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:
Felipe Pena 2007-12-27 01:29:48 +00:00
parent 6d6d06eabd
commit 0bdb078cd4

View file

@ -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);