.. _functions-redeclaredphpfunction: .. _redeclared-php-functions: Redeclared PHP Functions ++++++++++++++++++++++++ Function that bear the same name as a PHP function, and that are declared. This is useful when managing backward compatibility, like emulating an old function, or preparing for newer PHP versions, like emulating new upcoming function. .. code-block:: php 0) { function split($separator, $string) { return explode($separator, $string); } } print_r( split(' ', '2 3')); ?> Connex PHP features ------------------- + `function `_ Suggestions ___________ * Check if it is still worth emulating that function Specs _____ +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Short name | Functions/RedeclaredPhpFunction | +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Analyze `, :ref:`Appinfo `, :ref:`CE `, :ref:`CI-checks `, :ref:`Changed Behavior ` | +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Slow (1 hour) | +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Community Edition `_, `Exakat Cloud `_ | +--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+