Guest askjames01 Posted April 29, 2006 Share Posted April 29, 2006 Just to review my memory...[code]function readdb() {}// and also readDB();[/code]are these function the same or not?thanxs n advance. Quote Link to comment https://forums.phpfreaks.com/topic/8685-solved-case-sensitivity/ Share on other sites More sharing options...
toplay Posted April 29, 2006 Share Posted April 29, 2006 [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Note: Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration.[/quote]From: [a href=\"http://us2.php.net/manual/en/language.functions.php#AEN5316\" target=\"_blank\"]http://us2.php.net/manual/en/language.functions.php#AEN5316[/a] Quote Link to comment https://forums.phpfreaks.com/topic/8685-solved-case-sensitivity/#findComment-31883 Share on other sites More sharing options...
Guest askjames01 Posted April 29, 2006 Share Posted April 29, 2006 thank you very much for your help [b]toplay[/b]but my question is very easy to answer and i think i don't need to read the manual again..just to refresh my memory...if the readdb(); or readDB();uppercase and lowercase are the same...or is there a case sensitivity?the answer must be either YES or NO?well? what was the rule again? Quote Link to comment https://forums.phpfreaks.com/topic/8685-solved-case-sensitivity/#findComment-31888 Share on other sites More sharing options...
wildteen88 Posted April 29, 2006 Share Posted April 29, 2006 Yes functions in PHP are case insensitive, the following is taken from php.net:[quote][b]Note: [/b] Function names are case-[b]in[/b]sensitive, though it is usually good form to call functions as they appear in their declaration.[/quote]heres an example:[code]<?phpfunction test(){ echo "works";}tesT();TEST();TeSt();test();?>[/code]All four functions are the same! Quote Link to comment https://forums.phpfreaks.com/topic/8685-solved-case-sensitivity/#findComment-31957 Share on other sites More sharing options...
Guest askjames01 Posted April 29, 2006 Share Posted April 29, 2006 you save me again from the jungle world of PHP [b]wildteen[/b].Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/8685-solved-case-sensitivity/#findComment-31997 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.