Dropping unecessary php: directive to function definitions in user guide
diff --git a/user_guide_src/source/helpers/array_helper.rst b/user_guide_src/source/helpers/array_helper.rst
index 9435b3a..90ead29 100644
--- a/user_guide_src/source/helpers/array_helper.rst
+++ b/user_guide_src/source/helpers/array_helper.rst
@@ -19,7 +19,7 @@
element()
=========
-.. php:function:: element($item, $array, $default = NULL)
+.. function:: element($item, $array, $default = NULL)
:param string $item: Item to fetch from the array
:param array $array: Input array
@@ -39,13 +39,13 @@
'size' => ''
);
- echo element('color', $array); // returns "red"
- echo element('size', $array, 'foobar'); // returns "foobar"
+ echo element('color', $array); // returns "red"
+ echo element('size', $array, 'foobar'); // returns "foobar"
elements()
==========
-.. php:function:: elements($items, $array, $default = NULL)
+.. function:: elements($items, $array, $default = NULL)
:param string $item: Item to fetch from the array
:param array $array: Input array
@@ -55,7 +55,7 @@
Lets you fetch a number of items from an array. The function tests
whether each of the array indices is set. If an index does not exist it
is set to NULL, or whatever you've specified as the default value via
-the third parameter.
+the third parameter.
Example::
@@ -106,7 +106,7 @@
random_element()
================
-.. php:function:: random_element($array)
+.. function:: random_element($array)
:param array $array: Input array
:returns: string (a random element from the array)