Results of 21 - 30 of about 88 for obj (0.003 sec.)
- 項目の値を減らす 7520
- « Memcache::connect Memcache::delete » PHP Manual Memcache 項目の値を減らす Memcache::decrement
...
rement() の例 <?php /* 手続き型の API */ $memcache_obj = memcache_connect ( 'memcache_host' , 11211 ); /* ...
ます */ $new_value = memcache_decrement ( $memcache_obj , 'test_item' , 2 ); /* オブジェクト指向の API */ ...
$memcache_obj = new Memcache ; $memcache_obj -> connect ( 'memca ...
項目の値を 3 減らします */ $new_value = $memcache_obj -> decrement ( 'test_item' , 3 ); ?> 参考 Memcache ...
-
https://man.plustar.jp/php/memcache.decrement.html
- [similar]
- MQSeries MQGET 7466
- « mqseries_disc mqseries_inq » PHP Manual mqseries 関数 MQSeries MQGET mqseries_get (PECL mqseri
...
T 説明 mqseries_get ( resource $hConn , resource $hObj , array &$md , array &$gmo , int &$bufferLength , ...
e represents the connection to the queue manager. hObj Object handle. This handle represents the object t ...
er holding the message that was retrieved from the object. data_length Actual buffer length compCode Comp ...
to the testq queue mqseries_open ( $conn , array( 'ObjectName' => 'TESTQ' ), MQSERIES_MQOO_INPUT_AS_Q_DEF ...
-
https://man.plustar.jp/php/function.mqseries-get.html
- [similar]
- オブジェクト 7359
- « Iterable 列挙型 / Enum » PHP Manual 型 オブジェクト オブジェクト オブジェクトの初期化 オブジェ
...
るアクセスはできなかった点に注意して下さい。 <?php $obj = (object) array( '1' => 'foo' ); var_dump (isset( ...
$obj ->{ '1' })); // PHP 7.2.0 以降は 'bool(true)' それ ...
より前は 'bool(false)' var_dump ( key ( $obj )); // PHP 7.2.0 以降は 'string(1) "1"' それより前 ...
ar という名前のメンバ変数が値を格納します。 <?php $obj = (object) 'ciao' ; echo $obj -> scalar ; // 'ciao ...
-
https://man.plustar.jp/php/language.types.object.html
- [similar]
- Serializable インターフェイス 7305
- « ArrayAccess::offsetUnset Serializable::serialize » PHP Manual 定義済みのインターフェイスとクラ
...
ing $data ): void } 例1 基本的な使用法 <?php class obj implements Serializable { private $data ; public f ...
function getData () { return $this -> data ; } } $obj = new obj ; $ser = serialize ( $obj ); var_dump ( ...
$ser ); $newobj = unserialize ( $ser ); var_dump ( $newobj -> getD ...
は、 たとえば以下のようになります。 string(38) "C:3:"obj":23:{s:15:"My private data";}" string(15) "My priv ...
-
https://man.plustar.jp/php/class.serializable.html
- [similar]
- Adds values to the set 7198
- « Set Ds\Set::allocate » PHP Manual Set Adds values to the set Ds\Set::add (PECL ds >= 1.0.0) Ds
...
haven't already been added. 注意 : Values of type object are supported. If an object implements Ds\Hasha ...
ble , equality will be determined by the object's equals function. If an object does not implem ...
ent Ds\Hashable , objects must be references to the same instance to be ...
?> 上の例の出力は、 たとえば以下のようになります。 object(Ds\Set)#1 (5) { [0]=> int(1) [1]=> int(2) [2]=> ...
-
https://man.plustar.jp/php/ds-set.add.html
- [similar]
- MQSeries MQPUT 7037
- « mqseries_put1 mqseries_set » PHP Manual mqseries 関数 MQSeries MQPUT mqseries_put (PECL mqseri
...
T 説明 mqseries_put ( resource $hConn , resource $hObj , array &$md , array &$pmo , string $message , res ...
のハンドルは、キューマネージャへの接続を表します。 hObj オブジェクトハンドル。 このハンドルは、使用するオブ ...
接続をオープンします mqseries_open ( $conn , array( 'ObjectName' => 'TESTQ' ), MQSERIES_MQOO_INPUT_AS_Q_DEF ...
S_MQOO_FAIL_IF_QUIESCING | MQSERIES_MQOO_OUTPUT , $obj , $comp_code , $reason ); // これで、$obj はオブジ ...
-
https://man.plustar.jp/php/function.mqseries-put.html
- [similar]
- リファレンスを返す 7037
- « リファレンス渡し リファレンスの解除 » PHP Manual リファレンスの説明 リファレンスを返す リファレ
...
ction & getValue () { return $this -> value ; } } $obj = new foo ; $myValue = & $obj -> getValue (); // $ ...
myValue は $obj->value へのリファレンス、つまり 42 となります $obj ...
-> value = 2 ; echo $myValue ; // $obj->value の新しい値である 2 を表示します ?> この例で ...
-
https://man.plustar.jp/php/language.references.return.html
- [similar]
- オフセットを取得する 6983
- « ArrayAccess::offsetExists ArrayAccess::offsetSet » PHP Manual ArrayAccess オフセットを取得する
...
に対する間接的な変更ができます。 直接的な変更とは、 $obj[6] = 7 のように配列のその次元の値を完全に置き換える ...
変更のことです。 一方、間接的な変更とは、 $obj[6][7] = 7 のようにその次元の一部分のみを変更したり ...
$var =& $obj[6] のように他の変数に参照を代入したりする変更のこと ...
ト , ArrayAccess , 変更 , 取得 , offsetGet , 間接 , obj , 参照 , 実装 , 次元 ...
-
https://man.plustar.jp/php/arrayaccess.offsetget.html
- [similar]
- Associates a key with a value 6983
- « Ds\Map::pairs Ds\Map::putAll » PHP Manual Map Associates a key with a value Ds\Map::put (PECL
...
ous association if one exists. 注意 : Keys of type object are supported. If an object implements Ds\Hasha ...
ble , equality will be determined by the object's equals function. If an object does not implem ...
ent Ds\Hashable , objects must be references to the same instance to be ...
の例の出力は、 たとえば以下のようになります。 Ds\Map Object ( [0] => Ds\Pair Object ( [key] => a [value] => ...
-
https://man.plustar.jp/php/ds-map.put.html
- [similar]
- Return the integer object handle for given object 6983
- « runkit7_method_rename runkit7_superglobals » PHP Manual runkit7 関数 Return the integer object
...
handle for given object runkit7_object_id (PECL runkit7 >= Unknown) run ...
kit7_object_id — Return the integer object handle for given ...
object 説明 runkit7_object_id ( object $obj ): int Thi ...
s function is equivalent to spl_object_id() . This function returns a unique identifie ...
-
https://man.plustar.jp/php/function.runkit7-object-id.html
- [similar]