Checking For Names At Different Times

../_images/check_for_names.png

PHP lint detects early to avoid redeclared functions, based on the local PHP executable.

php -l => Cannot redeclare mb_substr().

That detection doesn’t apply to CITE until execution.

php => Cannot declare class stdClass

because the name is already in use``. This is a difference in processing similar information, which may cause late surprises.

See Also

PHP Features