From 08ef64031869a94eb304553eea98ab55330c6359 Mon Sep 17 00:00:00 2001 From: Sherif Ramadan Date: Wed, 14 Nov 2012 17:41:40 +0000 Subject: [PATCH] Fixed line wrap from revision 328358 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328359 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types/array.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/language/types/array.xml b/language/types/array.xml index 04dcb9b90f..72e167b398 100644 --- a/language/types/array.xml +++ b/language/types/array.xml @@ -303,11 +303,13 @@ string(3) "foo" - - - Both square brackets and curly braces can be used interchangeably for accessing array elements (e.g. $array[42] and $array{42} will both do the same thing in the example above). - - + + + Both square brackets and curly braces can be used interchangeably + for accessing array elements (e.g. $array[42] and $array{42} will + both do the same thing in the example above). + + As of PHP 5.4 it is possible to array dereference the result of a function or method