検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 29 for foobar (0.004 sec.)
古い値を新しい値に更新する 15826
« apcu_cache_info apcu_clear_cache » PHP Manual APCu 関数 古い値を新しい値に更新する apcu_cas (P ... します。 例 例1 apcu_cas() の例 <?php apcu_store ( 'foobar' , 2 ); echo '$foobar = 2' , PHP_EOL ; echo '$foob ... ar == 1 ? 2 : 1 = ' , ( apcu_cas ( 'foobar' , 1 , 2 ) ? 'ok' : 'fail' ), PHP_EOL ; echo '$foo ... bar == 2 ? 1 : 2 = ' , ( apcu_cas ( 'foobar' , 2 , 1 ) ? 'ok' : 'fail' ), PHP_EOL ; echo '$foo ... bar = ' , apcu_fetch ( 'foobar' ), PHP_EOL ; echo '$f__bar == 1 ? 2 : 1 = ' , ( a ...
https://man.plustar.jp/php/function.apcu-cas.html - [similar]
パラメータの配列を指定してコールバック関数をコールする 9332
« 関数処理 関数 call_user_func » PHP Manual 関数処理 関数 パラメータの配列を指定してコールバック ... 例 例1 call_user_func_array() の例 <?php function foobar ( $arg , $arg2 ) { echo __FUNCTION__ , " got $arg ... cho __METHOD__ , " got $arg and $arg2 \n" ; } } // foobar() 関数に引数を 2 つ渡してコールします call_user_fu ... nc_array ( "foobar" , array( "one" , "two" )); // $foo->bar() メソッド ... ?> 上の例の出力は、 たとえば以下のようになります。 foobar got one and two foo::bar got three and four 例2 ca ...
https://man.plustar.jp/php/function.call-user-func-array.html - [similar]
定数の値を返す 9332
« connection_status define » PHP Manual その他の関数 定数の値を返す constant (PHP 4 >= 4.0.4, PH ... つ前の行と同じことです interface bar { const test = 'foobar!' ; } class foo { const test = 'foobar!' ; } $cons ... mp ( constant ( 'bar::' . $const )); // string(7) "foobar!" var_dump ( constant ( 'foo::' . $const )); // st ... ring(7) "foobar!" ?> 参考 define() - 名前を指定して定数を定義する ...
https://man.plustar.jp/php/function.constant.html - [similar]
日付と時刻の解釈を「緩いモード」で行うかを取得する 9120
« IntlCalendar::isEquivalentTo IntlCalendar::isSet » PHP Manual IntlCalendar 日付と時刻の解釈を「 ... rror obtaining instant from IntlCalendar' in /home/foobar/example.php:16 Stack trace: #0 /home/foobar/exampl ... (IntlGregorianCalendar)) #1 {main} thrown in /home/foobar/example.php on line 16 関連キーワード: モード , In ... Calendar , 日付 , 解釈 , 時刻 , 取得 , isLenient , foobar , example , string ...
https://man.plustar.jp/php/intlcalendar.islenient.html - [similar]
最後に実行した PCRE 正規表現に関するエラーメッセージを返す 8989
« preg_grep preg_last_error » PHP Manual PCRE 関数 最後に実行した PCRE 正規表現に関するエラーメッ ... ample <?php preg_match ( '/(?:\D+|<\d+>)*[!?]/' , 'foobar foobar foobar' ); if ( preg_last_error () !== PREG ...
https://man.plustar.jp/php/function.preg-last-error-msg.html - [similar]
直近の PCRE 正規表現処理のエラーコードを返す 8843
« preg_last_error_msg preg_match_all » PHP Manual PCRE 関数 直近の PCRE 正規表現処理のエラーコー ... の例 <?php preg_match ( '/(?:\D+|<\d+>)*[!?]/' , 'foobar foobar foobar' ); if ( preg_last_error () == PREG_ ...
https://man.plustar.jp/php/function.preg-last-error.html - [similar]
Schedules the addition of an item in a working directory 8712
« SVN 関数 svn_auth_get_parameter » PHP Manual SVN 関数 Schedules the addition of an item in a w ... 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. 注意 警告 こ ...
https://man.plustar.jp/php/function.svn-add.html - [similar]
オフセットが存在するかどうか 8565
« ArrayAccess ArrayAccess::offsetGet » PHP Manual ArrayAccess オフセットが存在するかどうか Array ... r ): bool { var_dump ( __METHOD__ ); if ( $var == "foobar" ) { return true ; } return false ; } public funct ... obj::offsetExists()\n" ; var_dump (isset( $obj [ "foobar" ])); echo "\nRuns obj::offsetExists() and obj::of ... fsetGet()\n" ; var_dump (empty( $obj [ "foobar" ])); echo "\nRuns obj::offsetExists(), *not* obj: ...
https://man.plustar.jp/php/arrayaccess.offsetexists.html - [similar]
指定した関数を __autoload() の実装として登録する 8304
« spl_autoload_functions spl_autoload_unregister » PHP Manual SPL 関数 指定した関数を __autoload ... egister() でクラスをロードしない例 <?php namespace Foobar ; class Foo { static public function test ( $name ... 上の例の出力は、 たとえば以下のようになります。 [[Foobar\InexistentClass]] Fatal error: Class 'Foobar\Inexi ...
https://man.plustar.jp/php/function.spl-autoload-register.html - [similar]
正規表現によるマッチングを行う 8092
« preg_match_all preg_quote » PHP Manual PCRE 関数 正規表現によるマッチングを行う preg_match (PH ... なります。 <?php preg_match ( '/(foo)(bar)(baz)/' , 'foobarbaz' , $matches , PREG_OFFSET_CAPTURE ); print_r ( ... 出力は以下となります。 Array ( [0] => Array ( [0] => foobarbaz [1] => 0 ) [1] => Array ( [0] => foo [1] => 0 ) ... net 例4 名前つきサブパターンの使用法 <?php $str = 'foobar: 2008' ; preg_match ( '/(?P<name>\w+): (?P<digit>\ ... ; ?> 上の例の出力は以下となります。 Array ( [0] => foobar: 2008 [name] => foobar [1] => foobar [digit] => 20 ...
https://man.plustar.jp/php/function.preg-match.html - [similar]
PREV 1 2 3 NEXT