« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 64 for Foobar (0.006 sec.)
古い値を新しい値に更新する 13095
« apcu_cache_info apcu_clear_cache » PHP Manual APCu 関数 古い値を新しい値に更新する 検索 apcu_cas (PECL apcu >= 4.0.0) apcu_cas — 古い値を新しい値に更新する 説明 function apcu_cas ( string $key , int $old , int $new ): bool apcu_cas() は、 ... く更新したい値。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 apcu_cas() の例 <?php apcu_store ( 'foobar' , 2 ); echo '$foobar = 2' , PHP_EOL ; echo '$foobar == 1 ? 2 : 1 = ' , ( apcu_cas ( 'foobar' , 1 , 2 ) ? 'ok' : 'fail' ), ... PHP_EOL ; echo '$foobar == 2 ? 1 : 2 = ' , ( apcu_cas ( 'foobar' , 2 , 1 ) ? 'ok' : 'fail' ), PHP_EOL ; echo '$foobar = ' , apcu_fetch ( 'foobar' ... 'xyz' ); echo '$perfection == 2 ? 1 : 2 = ' , ( apcu_cas ( 'perfection' , 2 , 1 ) ? 'ok' : 'epic fail' ), PHP_EOL ; echo '$foobar = ' , apcu_fetch ( 'foobar' ), PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 $foobar = 2 $foobar == 1 ? 2 : ...
https://man.mtool.work/php/8.3/function.apcu-cas.html
古い値を新しい値に更新する 13052
« apcu_cache_info apcu_clear_cache » PHP Manual APCu 関数 古い値を新しい値に更新する 検索 apcu_cas (PECL apcu >= 4.0.0) apcu_cas — 古い値を新しい値に更新する 説明 function apcu_cas ( string $key , int $old , int $new ): bool apcu_cas() は、 ... く更新したい値。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 apcu_cas() の例 <?php apcu_store ( 'foobar' , 2 ); echo '$foobar = 2' , PHP_EOL ; echo '$foobar == 1 ? 2 : 1 = ' , ( apcu_cas ( 'foobar' , 1 , 2 ) ? 'ok' : 'fail' ), ... PHP_EOL ; echo '$foobar == 2 ? 1 : 2 = ' , ( apcu_cas ( 'foobar' , 2 , 1 ) ? 'ok' : 'fail' ), PHP_EOL ; echo '$foobar = ' , apcu_fetch ( 'foobar' ... 'xyz' ); echo '$perfection == 2 ? 1 : 2 = ' , ( apcu_cas ( 'perfection' , 2 , 1 ) ? 'ok' : 'epic fail' ), PHP_EOL ; echo '$foobar = ' , apcu_fetch ( 'foobar' ), PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 $foobar = 2 $foobar == 1 ? 2 : ...
https://man.mtool.work/php/8.3/function.apcu-cas.html
パラメータの配列を指定してコールバック関数をコールする 10797
« call_user_func create_function » PHP Manual 関数処理 関数 パラメータの配列を指定してコールバック関数をコールする 検索 call_user_func_array (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) call_user_func_array — パラメータの配列を指定してコールバック ... gs のキーは、無視されず、 パラメータ名として解釈されるようになりました。 例 例1 call_user_func_array() の例 <?php function foobar ( $arg , $arg2 ) { echo __FUNCTION__ , " got $arg and $arg2 \n" ; } class foo { function bar ( $arg , $arg2 ) { echo __MET ... HOD__ , " got $arg and $arg2 \n" ; } } // foobar() 関数に引数を 2 つ渡してコールします call_user_func_array ( "foobar" , array( "one" , "two" )); // $foo->bar() メソッドに ... all_user_func_array (array( $foo , "bar" ), array( "three" , "four" )); ?> 上の例の出力は、 たとえば以下のようになります。 foobar got one and two foo::bar got three and four 例2 call_user_func_array() での名前空間の使用法 <?php namespace Foobar ; class ...
https://man.mtool.work/php/8.3/function.call-user-func-array.html
パラメータの配列を指定してコールバック関数をコールする 10754
« call_user_func create_function » PHP Manual 関数処理 関数 パラメータの配列を指定してコールバック関数をコールする 検索 call_user_func_array (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) call_user_func_array — パラメータの配列を指定してコールバック ... gs のキーは、無視されず、 パラメータ名として解釈されるようになりました。 例 例1 call_user_func_array() の例 <?php function foobar ( $arg , $arg2 ) { echo __FUNCTION__ , " got $arg and $arg2 \n" ; } class foo { function bar ( $arg , $arg2 ) { echo __MET ... HOD__ , " got $arg and $arg2 \n" ; } } // foobar() 関数に引数を 2 つ渡してコールします call_user_func_array ( "foobar" , array( "one" , "two" )); // $foo->bar() メソッドに ... all_user_func_array (array( $foo , "bar" ), array( "three" , "four" )); ?> 上の例の出力は、 たとえば以下のようになります。 foobar got one and two foo::bar got three and four 例2 call_user_func_array() での名前空間の使用法 <?php namespace Foobar ; class ...
https://man.mtool.work/php/8.3/function.call-user-func-array.html
最後に実行した PCRE 正規表現に関するエラーメッセージを返す 8284
« preg_last_error preg_match » PHP Manual PCRE 関数 最後に実行した PCRE 正規表現に関するエラーメッセージを返す 検索 preg_last_error_msg (PHP 8) preg_last_error_msg — 最後に実行した PCRE 正規表現に関するエラーメッセージを返す 説明 function p ... きていない場合は、 "No error" を返します。 例 例1 preg_last_error_msg() example <?php preg_match ( '/(?:\D+|<\d+>)*[!?]/' , 'foobar foobar foobar' ); if ( preg_last_error () !== PREG_NO_ERROR ) { echo preg_last_error_msg (); } ?> 上の例の出力は以下となり ... error() - 直近の PCRE 正規表現処理のエラーコードを返す 関連キーワード: preg last error 正規 表現 エラーメッセージ msg 最後 foobar match パラメータ 場合 Search function string 戻り値 成功 No error example php ...
https://man.mtool.work/php/8.3/function.preg-last-error-msg.html
最後に実行した PCRE 正規表現に関するエラーメッセージを返す 8284
« preg_last_error preg_match » PHP Manual PCRE 関数 最後に実行した PCRE 正規表現に関するエラーメッセージを返す 検索 preg_last_error_msg (PHP 8) preg_last_error_msg — 最後に実行した PCRE 正規表現に関するエラーメッセージを返す 説明 function p ... きていない場合は、 "No error" を返します。 例 例1 preg_last_error_msg() example <?php preg_match ( '/(?:\D+|<\d+>)*[!?]/' , 'foobar foobar foobar' ); if ( preg_last_error () !== PREG_NO_ERROR ) { echo preg_last_error_msg (); } ?> 上の例の出力は以下となり ... preg_last_error() - 直近の PCRE 正規表現処理のエラーコードを返す 関連キーワード: preg last 正規 表現 エラーメッセージ 最後 foobar match 成功 No error example Backtrack limit exhausted 参考 直近 エラーコード ...
https://man.mtool.work/php/8.3/function.preg-last-error-msg.html
直近の PCRE 正規表現処理のエラーコードを返す 8170
« preg_grep preg_last_error_msg » PHP Manual PCRE 関数 直近の PCRE 正規表現処理のエラーコードを返す 検索 preg_last_error (PHP 5 >= 5.2.0, PHP 7, PHP 8) preg_last_error — 直近の PCRE 正規表現処理のエラーコードを返す 説明 function preg_last_e ... 直近の PCRE 正規表現処理のエラーコードを返します。 例1 preg_last_error() の例 <?php preg_match ( '/(?:\D+|<\d+>)*[!?]/' , 'foobar foobar foobar' ); if ( preg_last_error () == PREG_BACKTRACK_LIMIT_ERROR ) { echo 'Backtrack limit was exhausted!' ; } ?> 上 ... 最後に実行した PCRE 正規表現に関するエラーメッセージを返す 関連キーワード: preg last error 正規 表現 直近 エラーコード limit foobar msg Backtrack exhausted パラメータ pcre grep Search function int php match ...
https://man.mtool.work/php/8.3/function.preg-last-error.html
直近の PCRE 正規表現処理のエラーコードを返す 8170
« preg_grep preg_last_error_msg » PHP Manual PCRE 関数 直近の PCRE 正規表現処理のエラーコードを返す 検索 preg_last_error (PHP 5 >= 5.2.0, PHP 7, PHP 8) preg_last_error — 直近の PCRE 正規表現処理のエラーコードを返す 説明 function preg_last_e ... 直近の PCRE 正規表現処理のエラーコードを返します。 例1 preg_last_error() の例 <?php preg_match ( '/(?:\D+|<\d+>)*[!?]/' , 'foobar foobar foobar' ); if ( preg_last_error () == PREG_BACKTRACK_LIMIT_ERROR ) { echo 'Backtrack limit was exhausted!' ; } ?> 上 ... ) - 最後に実行した PCRE 正規表現に関するエラーメッセージを返す 関連キーワード: preg last 正規 表現 直近 エラーコード limit foobar Backtrack exhausted pcre grep match 定数 backtrack recursion 参考 最後 エラーメッセージ ...
https://man.mtool.work/php/8.3/function.preg-last-error.html
Schedules the addition of an item in a working directory 8012
« SVN 関数 svn_auth_get_parameter » PHP Manual SVN 関数 Schedules the addition of an item in a working directory 検索 svn_add (PECL svn >= 0.1.0) svn_add — Schedules the addition of an item in a working directory 説明 function svn_add ( str ... 、失敗した場合に false を返します。 例 例1 svn_add() example In a working directory where svn status returns: $ svn status ? foobar.txt ...this code: <?php svn_add ( 'foobar.txt' ); ?> ...will schedule foobar.txt for addition into the repository. 注意 警 ... 参考 » SVN documentation on svn add 関連キーワード: svn add directory item working addition true Schedules path bool false foobar txt recursive force repository ディレクトリ 基準 Default directories ...
https://man.mtool.work/php/8.3/function.svn-add.html
Schedules the addition of an item in a working directory 8012
« SVN 関数 svn_auth_get_parameter » PHP Manual SVN 関数 Schedules the addition of an item in a working directory 検索 svn_add (PECL svn >= 0.1.0) svn_add — Schedules the addition of an item in a working directory 説明 function svn_add ( str ... 、失敗した場合に false を返します。 例 例1 svn_add() example In a working directory where svn status returns: $ svn status ? foobar.txt ...this code: <?php svn_add ( 'foobar.txt' ); ?> ...will schedule foobar.txt for addition into the repository. 注意 警 ... 責任で使用してください。 参考 » SVN documentation on svn add 関連キーワード: directory item working addition Schedules path foobar recursive force repository 基準 Default directories status auth parameter Adds symbolic link added next time call commit c ...
https://man.mtool.work/php/8.3/function.svn-add.html
PREV 1 2 3 4 5 6 7 NEXT