関数処理

はじめに

これらの関数は、関数で行う様々な処理を行います。

  • 関数処理 関数
    • call_user_func — 最初の引数で指定したコールバック関数をコールする
    • call_user_func_array — パラメータの配列を指定してコールバック関数をコールする
    • create_function — 文字列のコードを評価し、動的に関数を作成する
    • forward_static_call — static メソッドをコールする
    • forward_static_call_array — static メソッドをコールし、引数を配列で渡す
    • func_get_arg — 引数のリストから要素をひとつ返す
    • func_get_args — 関数の引数リストを配列として返す
    • func_num_args — 関数に渡された引数の数を返す
    • function_exists — 指定した関数が定義されている場合に true を返す
    • get_defined_functions — 定義済みの全ての関数を配列で返す
    • register_shutdown_function — シャットダウン時に実行する関数を登録する
    • register_tick_function — 各 tick で実行する関数を登録する
    • unregister_tick_function — 各 tick の実行用の関数の登録を解除する
+add a note

User Contributed Notes

There are no user contributed notes for this page.