PHPでおそらくあなたが知らないこと

10 things you (probably) didn’t know about PHP.
知っていることもあったけど知らないこともあった。

1. Use ip2long() and long2ip() to store IP addresses as integers instead of strings in a database.

DBへIPアドレスを格納したり参照する際、ip2longとlong2ipを使えば、少ない領域でOKだから、検索とかも早くなるよね、って話。

2. Partially validate email addresses by checking that the domain name exists with checkdnsrr().

emailアドレスのドメインチェックは checkdnsrr() を使えばいいんじゃね?って話。

7.Prevent potentially sensitive error messages from being shown to users with the error_reporting(0) function.

error_reporting(0)を使って、エラー情報を非表示にしようという話。
まぁこれは普通 php.ini を使いそうな気もするけど。

8.Use gzcompress() and gzuncompress() to transparently compress/decompress large strings before storing them in a database.

DBに大きなデータを圧縮して格納する際は gzcompress()、gzuncmpress() が使えるという話。

他は割と普通に知られている気がする。