Yes, exactly. I can never remember if it's "urlencode" or "url_encode" because the use of underscores seems to be totally random.
They seem to be trying to make it a little more consistent, though. For instance the new mysqli library conforms to the "handle, string" standard. Of course this makes it a pain to convert existing code if you don't have an abstraction class.
That's another stupid thing, actually. The new mysqli library is much faster, but they got rid of persistent connections. PHP's line is that they could cause the MySQL server to get clogged with dormant connections (which is a non-issue if you configure it properly, and is rare if you don't). Well when your database server is on a remote network and you have to repeatedly send it small queries, persistent connections are nice. Don't take away useful features to protect me from myself.
|