Results of 31 - 40 of about 123 for Unset (0.023 sec.)
- 配列 6156
- « 数値形式の文字列 Iterable » PHP Manual 型 配列 配列 PHP の配列は、実際には順番付けられたマップ
...
代入します。特定のキー/値の組を削除したい場合には、 unset() を使用する必要があります。 <?php $arr = array( 5 ...
] = 42 ; // キー"x"の新しい要素を配列に追加します unset( $arr [ 5 ]); // 配列から要素を削除します unset( $ ...
いでおきます。 foreach ( $array as $i => $value ) { unset( $array [ $i ]); } print_r ( $array ); // アイテム ...
さんあります。 配列関数 の節を参照ください。 注意 : unset() 関数は配列のキーを削除することが出来ます。 ただし ...
-
https://man.plustar.jp/php/language.types.array.html
- [similar]
- ファイルを tar/zip アーカイブから削除する 6156
- « PharData::offsetSet PharData::setAlias » PHP Manual PharData ファイルを tar/zip アーカイブから
...
削除する PharData::offsetUnset (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) ...
PharData::offsetUnset — ファイルを tar/zip アーカイブから削除する 説明 p ...
ublic PharData::offsetUnset ( string $localName ): void これは ArrayAccess イン ...
式の角括弧を使用したアクセスが可能となります。 offsetUnset を使用して、既存のファイルを削除します。また unset ...
-
https://man.plustar.jp/php/phardata.offsetunset.html
- [similar]
- 変数が宣言されていること、そして null とは異なることを検査する 6107
- « is_string print_r » PHP Manual 変数操作 関数 変数が宣言されていること、そして null とは異なるこ
...
おり、 null とは異なる値だということです。 変数が、 unset() により割当を解除された場合、 もはやセットされてい ...
a )); // TRUE var_dump (isset( $a , $b )); // TRUE unset ( $a ); var_dump (isset( $a )); // FALSE var_dump ...
pty() - 変数が空であるかどうかを検査する __isset() unset() - 指定した変数の割当を解除する defined() - 指定し ...
-
https://man.plustar.jp/php/function.isset.html
- [similar]
- ArrayAccess インターフェイス 6070
- « Throwable::__toString ArrayAccess::offsetExists » PHP Manual 定義済みのインターフェイスとクラス
...
mixed $offset , mixed $value ): void public offsetUnset ( mixed $offset ): void } 例1 基本的な使用法 <?php ...
-> container [ $offset ]); } public function offsetUnset ( $offset ) { unset( $this -> container [ $offset ...
set( $obj [ "two" ])); var_dump ( $obj [ "two" ]); unset( $obj [ "two" ]); var_dump (isset( $obj [ "two" ]) ...
指定したオフセットに値を設定する ArrayAccess::offsetUnset — オフセットの設定を解除する 関連キーワード: Array ...
-
https://man.plustar.jp/php/class.arrayaccess.html
- [similar]
- ファイルを phar から削除する 6070
- « Phar::offsetSet Phar::running » PHP Manual Phar ファイルを phar から削除する Phar::offsetUnset
...
3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::offsetUnset — ファイルを phar から削除する 説明 public Phar::o ...
ffsetUnset ( string $localName ): void 注意 : このメソッドは、 ...
式の角括弧を使用したアクセスが可能となります。 offsetUnset を使用して、既存のファイルを削除します。また unset ...
PharException をスローします。 例 例1 Phar::offsetUnset() の例 <?php $p = new Phar ( '/path/to/my.phar' , ...
-
https://man.plustar.jp/php/phar.offsetunset.html
- [similar]
- foreach 6021
- « for break » PHP Manual 制御構造 foreach foreach (PHP 4, PHP 5, PHP 7, PHP 8) foreach は、配列を
...
ue * 2 ; } // $arr は array(2, 4, 6, 8) となります unset( $value ); // 最後の要素への参照を解除します ?> 警 ...
value は配列の最後の要素を参照したままとなります。 unset() でその参照を解除しておくようにしましょう。 さもな ...
この時点で、$arr は array(2, 4, 6, 8) となります // unset($value) しなければ、$value は今でも最後の要素 ($ar ...
-
https://man.plustar.jp/php/control-structures.foreach.html
- [similar]
- リファレンスカウントの原理 6021
- « ガベージコレクション 循環の収集 » PHP Manual ガベージコレクション リファレンスカウントの原理 リ
...
場合、またはシンボルへの代入が解除された (たとえば unset() が呼ばれた) 場合に「refcount」が減少します。 下記 ...
zval ( 'a' ); $b = 42 ; xdebug_debug_zval ( 'a' ); unset( $c ); xdebug_debug_zval ( 'a' ); ?> 上の例の出力は ...
ing' a: (refcount=1, is_ref=0)='new string' 次に、 unset($a); を呼ぶと、(型と値を含む)変数コンテナが メモ ...
number' => 42 ); $a [ 'life' ] = $a [ 'meaning' ]; unset( $a [ 'meaning' ], $a [ 'number' ] ); xdebug_debug ...
-
https://man.plustar.jp/php/features.gc.refcounting-basics.html
- [similar]
- 現在のセッションIDを新しく生成したものと置き換える 5971
- « session_name session_register_shutdown » PHP Manual セッション関数 現在のセッションIDを新しく生
...
新しいセッションには、破棄されたタイムスタンプは不要 unset( $_SESSION [ 'destroyed' ]); $new_sessionid = sess ...
' , 1 ); // 新しいセッションには、以下の情報は不要 unset( $_SESSION [ 'destroyed' ]); unset( $_SESSION [ 'n ...
-
https://man.plustar.jp/php/function.session-regenerate-id.html
- [similar]
- Remove client options 5971
- « GearmanClient::ping GearmanClient::returnCode » PHP Manual GearmanClient Remove client options
...
ent::removeOptions ( int $options ): bool Removes (unsets) one or more options. パラメータ options The opti ...
ons to be removed (unset) 戻り値 Always returns true . 関連キーワード: Remo ...
oveOptions , returnCode , public , int , Removes , unsets , パラメータ , removed ...
-
https://man.plustar.jp/php/gearmanclient.removeoptions.html
- [similar]
- The SolrDocument class 5922
- « SolrInputDocument::toArray SolrDocument::addField » PHP Manual Solr The SolrDocument class The
...
ieldName , string $fieldValue ): void public offsetUnset ( string $fieldName ): void public reset (): bool ...
unserialize ( string $serialized ): void public __unset ( string $fieldName ): bool public valid (): bool ...
etSet — 文書にフィールドを追加 SolrDocument::offsetUnset — フィールドを除去 SolrDocument::reset — SolrDocum ...
ialization of SolrDocument objects SolrDocument::__unset — 文書からフィールドを除去 SolrDocument::valid — C ...
-
https://man.plustar.jp/php/class.solrdocument.html
- [similar]