Re: moving over to php 5
| From: | Per Jessen | Date: | Tue, 30 Oct 2007 09:05:20 +0000 |
| Subject: | Re: moving over to php 5 | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263800@lists.php.net to get a copy of this message | ||
Larry Garfield wrote:
> Here's a bigger question: When will people stop using mysql_ as their
> example API, when PDO is more standard in PHP 5 and more secure, and
> mysqli is available as well?
As always, the key question must be - what's the advantage of moving?
When the developer benefits from something being "more standard" and
more secure, then he'll change.
If you want to force someone to change, you remove the interface (after
having marked it deprecated for a while).
/Per Jessen, Zürich