From 0bdb078cd4d190f620018921d79bd5eef6149ab6 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 27 Dec 2007 01:29:48 +0000 Subject: [PATCH] Add static keyword in method static git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249104 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/usort.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/array/functions/usort.xml b/reference/array/functions/usort.xml index 897910cf1b..bb7625207d 100644 --- a/reference/array/functions/usort.xml +++ b/reference/array/functions/usort.xml @@ -1,5 +1,5 @@ - + @@ -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);