Best practices to ensure compatibility with PHP 6
| From: | ufan100 at gmail dot com | Date: | Sun, 22 Apr 2007 21:54:14 +0000 |
| Subject: | Best practices to ensure compatibility with PHP 6 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-253498@lists.php.net to get a copy of this message | ||
Hi
I'm would like to avoid PHP usages that are deprecated with regard to PHP 6. I would also like to code according to what is regarded as best practice. Are there any web resources that I can read to keep up to date?
For instance:
1) safe_mode is deprecated. (The PHP manual gives me the answer)
2) Are named accessor/mutator methods recommended over the __get() and __set() magic methods? (A best practice question).
Thanks