阿維剛剛看到 10 things you (probably) didn't know about PHP 這篇文章
裡面說了十件關於PHP的事情
1. Use ip2long() and long2ip() to store IP addresses as integers instead of strings in a database.
2. Partially validate email addresses by checking that the domain name exists with checkdnsrr().
3. If you're using PHP 5 with MySQL 4.1 or above, consider ditching the mysql_* functions for the improved mysqli_* functions.
4. Learn to love the ternary operator.
