.. _extensions-extarray: .. _ext-array: ext/array +++++++++ Core functions processing arrays. These functions manipulate arrays in various ways. Arrays are essential for storing, managing, and operating on sets of variables. This is not a real extension : it is a documentation section, that helps classifying the functions. .. code-block:: php 1, 'b'=>2, 'c'=>3, 'd'=>4, 'e'=>5); $array2 = array(6, 7, 8, 9, 10, 11, 12); echo 'Odd :'.PHP_EOL; print_r(array_filter($array1, 'odd')); echo 'Even:'.PHP_EOL; print_r(array_filter($array2, 'even')); ?> See also `Arrays `_. Specs _____ +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Short name | Extensions/Extarray | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Appinfo `, :ref:`CE `, :ref:`Changed Behavior ` | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Severity | | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Community Edition `_, `Exakat Cloud `_ | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+