marcbraulio Posted March 3, 2012 Share Posted March 3, 2012 Hello there, Could anyone tell me why you are not allowed to use "Default" as a function name in php? I searched around and couldn't get a straight answer. Link to comment https://forums.phpfreaks.com/topic/258212-why-are-you-not-allowed-to-use-default-as-a-function-name/ Share on other sites More sharing options...
KevinM1 Posted March 3, 2012 Share Posted March 3, 2012 Default is a PHP keyword. http://php.net/manual/en/reserved.keywords.php Link to comment https://forums.phpfreaks.com/topic/258212-why-are-you-not-allowed-to-use-default-as-a-function-name/#findComment-1323587 Share on other sites More sharing options...
marcbraulio Posted March 3, 2012 Author Share Posted March 3, 2012 Understood, thank you! Link to comment https://forums.phpfreaks.com/topic/258212-why-are-you-not-allowed-to-use-default-as-a-function-name/#findComment-1323588 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.