What are the longest built-in function names?

I'm tired of typing mysql_real_escape_string()due to its extreme length, I wonder if there are longer function names built in there?

+5
source share
2 answers

I don't know longer function names in PHP, but in .Net you have a GetTextEffectCharacterIndexFromTextSourceCharacterIndexmethod System.Windows.Media.TextFormatting.TextSource.

But you can use an editor with code completion so you don't print. Or even better: use a wrapper class to connect MySQL. This eliminates the need to enter long function names, reduces the risk of security problems (forgetting to call mysql_real_escape_stringor call it incorrectly), and it saves you a lot of migration if you ever need to switch to another database or use mysqli.

+6
source

You can check them out here .

You can get an editor that supports autocomplete.

+1
source

All Articles