The following code does not raise any errors in linting:
<?php function array_key_exists($key, array $array) { return true; }
Running this code, however, will throw a fatal error:
PHP Fatal error: Cannot redeclare array_key_exists()
The following code does not raise any errors in linting:
<?php function array_key_exists($key, array $array) { return true; }
Running this code, however, will throw a fatal error:
PHP Fatal error: Cannot redeclare array_key_exists()