PHPに惚れました

今でも多分惚れてます。

nicoAPI群で世話になった関数たち

API群もだけど、DeltaHP作ってきて使用頻度の多かった関数をまとめてみる。(session,cookie系は除く)

頻度大

<?php
//文字列系
addslashes()
htmlspecialchars()
preg_replace()
preg_match
preg_match_all()
urldecode()

//ファイル操作系
file_get_contents()

//文字列系
mb_convert_encoding()

//データベース系
mysql_query()
mysql_num_rows()
mysql_fetch_object()

//その他
isset()
simplexml_load_file()
var_dump()
?>

頻度中

<?php
//日付系
date()

//配列系
explode()
implode()
is_array()
split()

//数値、計算系
count()
floor()
round()
intval()
is_numeric()

その他
header("location:移動先URL")
?>

頻度小

<?php
//配列系
array_unique()
array_search()
array_multisort()

//数値処理、計算系
ceil()
rand()

//ファイル操作系
file_put_contents()
fsockopen()
fgets()

//文字列系
mb_convert_kana()
sscanf()
substr()

//日付系
strtotime()

//URL操作系
parse_url()
http_build_query()

//その他
stream_context_create()
?>

漏れもあるかもしれませんがDeltaHPで使用してる関数は大体こんなもんですかね。
API群ではfile_get_contents,preg系は本当に多様しています。
スクレイピングに使う代表格の関数ですかね?