検索

phrase: max: clip:
target: order:
Results of 91 - 100 of about 247 for bar (0.017 sec.)
古い値を新しい値に更新する 5103
« 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]
与えられたクラスあるいはインターフェイスが実装しているインターフェイスを返す 5103
« SPL 関数 class_parents » PHP Manual SPL 関数 与えられたクラスあるいはインターフェイスが実装して ... ss_implements() の例 <?php interface foo { } class bar implements foo {} print_r ( class_implements (new ... 列として指定しても良い print_r ( class_implements ( 'bar' )); spl_autoload_register (); // 'not_loaded' クラ ...
https://man.plustar.jp/php/function.class-implements.html - [similar]
パラメータのデフォルト値を取得する 5103
« ReflectionParameter::getDeclaringFunction ReflectionParameter::getDefaultValueConstantName » P ... デフォルト値を取得する <?php function foo ( $test , $bar = 'baz' ) { echo $test . $bar ; } $function = new ... ?> 上の例の出力は以下となります。 Name: test Name: bar Default value: baz 参考 ReflectionParameter::isOpt ...
https://man.plustar.jp/php/reflectionparameter.getdefaultvalue.html - [similar]
デフォルト値が定数あるいは null の場合に、その定数名を返す 5103
« ReflectionParameter::getDefaultValue ReflectionParameter::getName » PHP Manual ReflectionParam ... ルト値の定数を取得する <?php function foo ( $test , $bar = PHP_INT_MIN ) { echo $test . $bar ; } $function ... ?> 上の例の出力は以下となります。 Name: test Name: bar Default value: PHP_INT_MIN 参考 ReflectionParamete ...
https://man.plustar.jp/php/reflectionparameter.getdefaultvalueconstantname.html - [similar]
SQLite データベースをオープンする 5103
« SQLite3::loadExtension SQLite3::openBlob » PHP Manual SQLite3 SQLite データベースをオープンする ... db = new MyDB (); $db -> exec ( 'CREATE TABLE foo (bar STRING)' ); $db -> exec ( "INSERT INTO foo (bar) V ... s is a test')" ); $result = $db -> query ( 'SELECT bar FROM foo' ); var_dump ( $result -> fetchArray ()); ...
https://man.plustar.jp/php/sqlite3.open.html - [similar]
PHP 7.0.x で推奨されなくなる機能 5003
« 新機能 変更された関数 » PHP Manual PHP 5.6.x から PHP 7.0.x への移行 PHP 7.0.x で推奨されなくな ... は削除される見込みです。 <?php class foo { function bar () { echo 'I am not static!' ; } } foo :: bar (); ... 以下となります。 Deprecated: Non-static method foo::bar() should not be called statically in - on line 8 I ...
https://man.plustar.jp/php/migration70.deprecated.html - [similar]
デフォルトの外部エンティティローダーを変更する 4952
« libxml_get_last_error libxml_set_streams_context » PHP Manual libxml 関数 デフォルトの外部エン ... 例 <?php $xml = <<<XML <!DOCTYPE foo PUBLIC "-//FOO/BAR" "http://example.com/foobar"> <foo>bar</foo> XML; ... 上の例の出力は以下となります。 string(10) "-//FOO/BAR" string(25) "http://example.com/foobar" array(4) { ...
https://man.plustar.jp/php/function.libxml-set-external-entity-loader.html - [similar]
繰り返し正規表現検索を行う 4952
« preg_last_error preg_match » PHP Manual PCRE 関数 繰り返し正規表現検索を行う preg_match_all (P ... ?php preg_match_all ( '/(?J)(?<match>foo)|(?<match>bar)/' , 'foo bar' , $matches , PREG_PATTERN_ORDER ); ... 上の例の出力は以下となります。 Array ( [0] => [1] => bar ) PREG_SET_ORDER $matches[0] は 1 回目のマッチング ... セットからなります。 <?php preg_match_all ( '/(foo)(bar)(baz)/' , 'foobarbaz' , $matches , PREG_OFFSET_CAP ... す。 Array ( [0] => Array ( [0] => Array ( [0] => foobarbaz [1] => 0 ) ) [1] => Array ( [0] => Array ( [0] ...
https://man.plustar.jp/php/function.preg-match-all.html - [similar]
変数をユーザーキャッシュに追加し、変数が既にキャッシュに存在する場合はそれを上書... 4952
« wincache_ucache_meminfo wincache_unlock » PHP Manual WinCache 関数 変数をユーザーキャッシュに追 ... ncache_ucache_set() で key を文字列にする例 <?php $bar = 'BAR' ; var_dump ( wincache_ucache_set ( 'foo' , ... $bar )); var_dump ( wincache_ucache_get ( 'foo' )); $ba ... r1 = 'BAR1' ; var_dump ( wincache_ucache_set ( 'foo' , $bar1 ... 上の例の出力は以下となります。 bool(true) string(3) "BAR" bool(true) string(3) "BAR1" 例2 wincache_ucache_s ...
https://man.plustar.jp/php/function.wincache-ucache-set.html - [similar]
SQLite3 オブジェクトを作成し、SQLite 3 データベースをオープンする 4952
« SQLite3::close SQLite3::createAggregate » PHP Manual SQLite3 SQLite3 オブジェクトを作成し、SQL ... mysqlitedb.db' ); $db -> exec ( 'CREATE TABLE foo (bar TEXT)' ); $db -> exec ( "INSERT INTO foo (bar) VAL ... s is a test')" ); $result = $db -> query ( 'SELECT bar FROM foo' ); var_dump ( $result -> fetchArray ()); ...
https://man.plustar.jp/php/sqlite3.construct.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 NEXT