I'm coding smt right now, and am a little bit peeved by the fact that PHP sometimes calls its functions with underscore, and sometimes as one word. What's up with that?
Example:
int strlen(string $str)
and
bool in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] )
I'm hoping that there is a good reason for this, and would really like to know what it is.
Welcome to php. This has been a topic so many times. Bottom line is, the only way to get over it is using a php centric ide/editor that suggests. By the way that is just half the problem you will also see functions where the order is oposite. Like
and then
So get used to it, or get out is the motto.
Quoted from: http://tnx.nl/php.html