From 0e6ad6673ca39be0992262c09db879c815bba462 Mon Sep 17 00:00:00 2001 From: Karoly Negyesi Date: Sun, 10 Mar 2013 10:08:53 +0000 Subject: [PATCH] objects are greater than arrays. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329723 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/operators.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/language/operators.xml b/language/operators.xml index b54f061e1c..de6a40a8e1 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1262,16 +1262,16 @@ case "a": // never reached because "a" is already matched with 0 found in operand 2 then arrays are uncomparable, otherwise - compare value by value (see following example) - - array - anything - array is always greater - object anything object is always greater + + array + anything + array is always greater +