Results of 21 - 30 of about 109 for stdClass (0.014 sec.)
- Serialization to BSON 7815
- « Persisting Data Deserialization from BSON » PHP Manual Persisting Data Serialization to BSON S
...
inside a document. Objects If an object is of the stdClass class, serialize as a BSON document . If an object ...
ble::bsonSerialize() and use the returned array or stdClass to serialize as a BSON document or array. The BSON ...
ble::bsonSerialize() returns a non-packed array or stdClass , serialize as a BSON document. If MongoDB\BSON\Se ...
izable::bsonSerialize() did not return an array or stdClass , throw an MongoDB\Driver\Exception\UnexpectedValu ...
-
https://man.plustar.jp/php/mongodb.persistence.serialization.html
- [similar]
- Adds values to the set 7420
- « Set Ds\Set::allocate » PHP Manual Set Adds values to the set Ds\Set::add (PECL ds >= 1.0.0) Ds
...
same object will add them all. $set -> add (new \ stdClass ()); $set -> add (new \ stdClass ()); // Adding mu ...
ayIterator":private]=> array(0) { } } [1]=> object(stdClass)#3 (0) { } [2]=> object(stdClass)#4 (0) { } [3]=> ...
-
https://man.plustar.jp/php/ds-set.add.html
- [similar]
- WeakReference クラス 7255
- « Fiber::getCurrent WeakReference::__construct » PHP Manual 定義済みのインターフェイスとクラス W
...
本的な WeakReference クラスの使い方 <?php $obj = new stdClass ; $weakref = WeakReference :: create ( $obj ); var ...
の例の出力は、 たとえば以下のようになります。 object(stdClass)#1 (0) { } NULL 目次 WeakReference::__construct — ...
オブジェクト , public , create , メソッド , 生成 , stdClass ...
-
https://man.plustar.jp/php/class.weakreference.html
- [similar]
- Returns an object for BSON serialization 7255
- « MongoDB\Driver\ReadConcern MongoDB\Driver\ReadConcern::__construct » PHP Manual MongoDB\Driver
...
の例の出力は、 たとえば以下のようになります。 object(stdClass)#2 (0) { } { } 例2 MongoDB\Driver\ReadConcern::bso ...
の例の出力は、 たとえば以下のようになります。 object(stdClass)#2 (1) { ["level"]=> string(5) "local" } { "level" ...
s , serialization , bsonSerialize , local , 出力 , stdClass , read ...
-
https://man.plustar.jp/php/mongodb-driver-readconcern.bsonserialize.html
- [similar]
- The Volatile class 7178
- « Pool::submitTo セマフォ » PHP Manual pthreads The Volatile class The Volatile class (PECL pthr
...
of a Threaded class (invalid) $this -> data = new StdClass (); } } var_dump ((new Task ())-> data ); 上の例の ...
ty of a Volatile class (valid) $this -> data = new StdClass (); } } var_dump ((new Task ())-> data ); 上の例の ...
出力は、 たとえば以下のようになります。 object(stdClass)#3 (0) { } 関連キーワード: Threaded , public , Vol ...
-
https://man.plustar.jp/php/class.volatile.html
- [similar]
- Fetch the next row and return it as an object 7178
- « cubrid_fetch_lengths cubrid_fetch_row » PHP Manual CUBRID MySQL 互換関数 Fetch the next row an
...
e of the class to instantiate. If not specified, a stdClass (stdClass is PHP's generic empty class that's used ...
$conn ); ?> 上の例の出力は以下となります。 object(stdClass)#1 (2) { ["s_name"]=> string(1) "X" ["f_name"]=> s ...
"s_name" ["f_name"]=> string(6) "f_name" } object(stdClass)#1 (2) { ["s_name"]=> string(1) "B" ["f_name"]=> s ...
-
https://man.plustar.jp/php/function.cubrid-fetch-object.html
- [similar]
- Associates a key with a value 7102
- « Ds\Map::pairs Ds\Map::putAll » PHP Manual Map Associates a key with a value Ds\Map::put (PECL
...
t will create new associations. $map -> put (new \ stdClass (), 3 ); $map -> put (new \ stdClass (), 4 ); // U ...
) } [1]=> object(Ds\Pair)#8 (2) { ["key"]=> object(stdClass)#3 (0) { } ["value"]=> int(3) } [2]=> object(Ds\Pa ...
ir)#9 (2) { ["key"]=> object(stdClass)#4 (0) { } ["value"]=> int(4) } [3]=> object(Ds\Pa ...
-
https://man.plustar.jp/php/ds-map.put.html
- [similar]
- Returns an array containing all results for this cursor 6949
- « MongoDB\Driver\Cursor::setTypeMap MongoDB\Driver\Cursor::valid » PHP Manual MongoDB\Driver\Cur
...
とえば以下のようになります。 array(3) { [0]=> object(stdClass)#6 (2) { ["_id"]=> object(MongoDB\BSON\ObjectId)#5 ...
96118fd40b41bcf61" } ["x"]=> int(1) } [1]=> object(stdClass)#8 (2) { ["_id"]=> object(MongoDB\BSON\ObjectId)#7 ...
96118fd40b41bcf62" } ["x"]=> int(2) } [2]=> object(stdClass)#10 (2) { ["_id"]=> object(MongoDB\BSON\ObjectId)# ...
-
https://man.plustar.jp/php/mongodb-driver-cursor.toarray.html
- [similar]
- 変数の boolean としての値を取得する 6860
- « 変数操作 関数 debug_zval_dump » PHP Manual 変数操作 関数 変数の boolean としての値を取得する b
...
.( boolval ([]) ? 'true' : 'false' ). "\n" ; echo 'stdClass: ' .( boolval (new stdClass ) ? 'true' : 'false' ) ...
: true "0": false "1": true [1, 2]: true []: false stdClass: true 参考 floatval() - 変数の float 値を取得する ...
-
https://man.plustar.jp/php/function.boolval.html
- [similar]
- 変数のスコープ 6860
- « 定義済みの変数 可変変数 » PHP Manual 変数 変数のスコープ 変数のスコープ 変数のスコープは、その
...
tion test_global_ref () { global $obj ; $new = new stdclass ; $obj = & $new ; } function test_global_noref () ...
{ global $obj ; $new = new stdclass ; $obj = $new ; } test_global_ref (); var_dump ( $ ...
j ); ?> 上の例の出力は以下となります。 NULL object(stdClass)#1 (0) { } 類似の動作が static 命令にも適用されます ...
ar_dump ( $obj ); if (!isset( $obj )) { $new = new stdclass ; // Assign a reference to the static variable $ob ...
-
https://man.plustar.jp/php/language.variables.scope.html
- [similar]