検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 247 for bar (0.012 sec.)
リファレンスが行わないこと 6372
« リファレンスが行うことは何ですか? リファレンス渡し » PHP Manual リファレンスの説明 リファレンス ... o (& $var ) { $var =& $GLOBALS [ "baz" ]; } foo ( $bar ); ?> ここでの動作としては、関数 foo の $var はコー ... ル側の $bar と関連付けられますが、 $GLOBALS["baz"] に再結合され ... るといったものになります。 コール側のスコープにある $bar を、 リファレンスを使って関数内の何かに結合すること ... はできません。 なぜなら、 $bar は関数 foo からは利用できないからです (この変数は ...
https://man.plustar.jp/php/language.references.arent.html - [similar]
Serialization to BSON 6372
« Persisting Data Deserialization from BSON » PHP Manual Persisting Data Serialization to BSON S ... ON \ Serializable { private $elements = [ 'foo' , 'bar' ]; function bsonSerialize () { return $this -> el ... ements ; } } // => { "0" : "foo", "1" : "bar" } class ContainerClass implements MongoDB \ BSON ... lizable { private $elements = [ 0 => 'foo' , 2 => 'bar' ]; function bsonSerialize () { return $this -> el ... gs ]; } } // => { "things" : { "0" : "foo", "2" : "bar" } } class ContainerClass implements MongoDB \ BSO ...
https://man.plustar.jp/php/mongodb.persistence.serialization.html - [similar]
複数のアイテムを取得する 6271
« Memcached::getDelayedByKey Memcached::getMultiByKey » PHP Manual Memcached 複数のアイテムを取得 ... ' , 11211 ); $data = array( 'foo' => 'foo-data' , 'bar' => 'bar-data' , 'baz' => 'baz-data' , 'lol' => 'l ... 出力は、 たとえば以下のようになります。 foo foo-data bar bar-data baz baz-data lol lol-data kek kek-data zo ... ' , 11211 ); $data = array( 'foo' => 'foo-data' , 'bar' => 'bar-data' , 'baz' => 'baz-data' , 'lol' => 'l ... 出力は、 たとえば以下のようになります。 foo foo-data bar bar-data baz baz-data lol lol-data kek kek-data zo ...
https://man.plustar.jp/php/memcached.getmulti.html - [similar]
クラスの基礎 6181
« はじめに プロパティ » PHP Manual クラスとオブジェクト クラスの基礎 クラスの基礎 class 各クラス ... this is not defined.\n" ; } } } class B { function bar () { A :: foo (); } } $a = new A (); $a -> foo (); ... A :: foo (); $b = new B (); $b -> bar (); B :: bar (); ?> 上の例の PHP 7 での出力は、この ... s is not defined. Deprecated: Non-static method B::bar() should not be called statically in %s on line 32 ... クセスとメソッドの呼び出し <?php class Foo { public $bar = 'property' ; public function bar () { return 'me ...
https://man.plustar.jp/php/language.oop5.basic.html - [similar]
以前に設定したHTTPヘッダを削除する 6080
« header_register_callback header » PHP Manual ネットワーク 関数 以前に設定したHTTPヘッダを削除す ... 例1 特定のヘッダを削除する <?php header ( "X-Foo: Bar" ); header ( "X-Bar: Baz" ); header_remove ( "X-Fo ... 上の例の出力は、 たとえば以下のようになります。 X-Bar: Baz 例2 以前設定したすべてヘッダを削除する <?php ... header ( "X-Foo: Bar" ); header ( "X-Bar: Baz" ); header_remove (); ?> ...
https://man.plustar.jp/php/function.header-remove.html - [similar]
インターフェイスを取得する 6030
« ReflectionClass::getInterfaceNames ReflectionClass::getMethod » PHP Manual ReflectionClass イン ... nterfaces() の例 <?php interface Foo { } interface Bar { } class Baz implements Foo , Bar { } $rc1 = new ... [Foo] => ReflectionClass Object ( [name] => Foo ) [Bar] => ReflectionClass Object ( [name] => Bar ) ) 参考 ...
https://man.plustar.jp/php/reflectionclass.getinterfaces.html - [similar]
Copies a method from class to another 5979
« runkit7_method_add runkit7_method_redefine » PHP Manual runkit7 関数 Copies a method from clas ... function example () { return "foo!\n" ; } } class Bar { // initially, no methods } // copy the example() ... method from the Foo class to the Bar class, as baz() runkit7_method_copy ( 'Bar' , 'baz ... Foo' , 'example' ); // output copied function echo Bar :: baz (); ?> 上の例の出力は以下となります。 foo! ...
https://man.plustar.jp/php/function.runkit7-method-copy.html - [similar]
配列から現在のキーと値のペアを返して、カーソルを進める 5828
« current end » PHP Manual 配列 関数 配列から現在のキーと値のペアを返して、カーソルを進める each ... red" , "jussi" , "jouni" , "egon" , "marliese" ); $bar = each ( $foo ); print_r ( $bar ); ?> $bar は、ここ ... = array( "Robert" => "Bob" , "Seppo" => "Sepi" ); $bar = each ( $foo ); print_r ( $bar ); ?> $bar は次のよ ...
https://man.plustar.jp/php/function.each.html - [similar]
"遅延静的束縛" のクラス名 5828
« enum_exists get_class_methods » PHP Manual クラス/オブジェクト関数 "遅延静的束縛" のクラス名 g ... st () { var_dump ( get_called_class ()); } } class bar extends foo { } foo :: test (); bar :: test (); ?> ... の出力は以下となります。 string(3) "foo" string(3) "bar" 参考 get_parent_class() - オブジェクトの親クラスの ... クト , called , string , 関数 , 取得 , パラメータ , bar ...
https://man.plustar.jp/php/function.get-called-class.html - [similar]
格納されている変数をキャッシュから取得する 5788
« apcu_exists apcu_inc » PHP Manual APCu 関数 格納されている変数をキャッシュから取得する apcu_fe ... タが追加されました。 例 例1 apcu_fetch() の例 <?php $bar = 'BAR' ; apcu_store ( 'foo' , $bar ); var_dump ( ... ' )); ?> 上の例の出力は以下となります。 string(3) "BAR" 参考 apcu_store() - 変数をデータ領域にキャッシュす ...
https://man.plustar.jp/php/function.apcu-fetch.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 NEXT