変数チェック †isset †empty †is_null †パラメタ処理 †parse_str †// URLパラメータの部分だけを変数に格納 $param = "source=google&user_id=testuser"; // parse_strで分解処理し、第二引数で配列の変数名を指定 parse_str($param, $str); // 配列の要素として出力 print_r($str['source']); print_r($str['user_id']); 文字列 †文字列開始チェック †mb_convert_kana †
JSON †json_decode †$paramArr = json_decode($jsonStr, true); $paramArr['key01']; : 正規表現 †日付 †DateTime::createFromFormat †
strtotime †リダイレクト †
その他 †array_multisort() † |