Results of 1 - 10 of about 57 for offsetExists (0.002 sec.)
- ArrayAccess::offsetExists — オフセットが存在するかどうか | PHP 8.3 13172
- ArrayAccess::offsetExists (PHP 5, PHP 7, PHP 8) ArrayAccess::offsetExists — オフセットが存在するかどうか 説明 public function ArrayAccess::offsetExists ( mixed $offset ): bool オフセットが存在するかどうかを返します。 このメソッドが実行される
... t() あるいは empty() を使用した場合です。 注意 : empty() を使用すると ArrayAccess::offsetGet() がコールされ、 ArrayAccess::offsetExists() が true を返すかどうかで空かどうかを判断します。 パラメータ offset 調べたいオフセット。 戻り値 成功した場合に true を、失 ... 敗した場合に false を返します。 注意 : 非 boolean 値が返された場合は bool にキャストして返します。 例 例1 ArrayAccess::offsetExists() の例 <?php class obj implements ArrayAccess { public function offsetSet ( $offset , $value ): void { var_dump ( __METHOD ... __ ); } public function offsetExists ( $var ): bool { var_dump ( __METHOD__ ); if ( $var == "foobar" ) { return true ; } return false ; } public function offse ...
-
https://man.mtool.work/php/8.3/arrayaccess.offsetexists.html
- ArrayObject::offsetExists — 要求されたインデックスが存在するかどうかを返す | PH... 11014
- ArrayObject::offsetExists (PHP 5, PHP 7, PHP 8) ArrayObject::offsetExists — 要求されたインデックスが存在するかどうかを返す 説明 public function ArrayObject::offsetExists ( mixed $key ): bool パラメータ key 調べたいインデックス。 戻り値 指定
... したインデックスが存在する場合に true 、それ以外の場合に false を返します。 例 例1 ArrayObject::offsetExists() の例 <?php $arrayobj = new ArrayObject (array( 'zero' , 'one' , 'example' => 'e.g.' )); var_dump ( $arrayobj -> offsetEx ... ists ( 1 )); var_dump ( $arrayobj -> offsetExists ( 'example' )); var_dump ( $arrayobj -> offsetExists ( 'notfound' )); ?> 上の例の出力は以下となります。 bool(true) bool(tr ...
-
https://man.mtool.work/php/8.3/arrayobject.offsetexists.html
- SplObjectStorage::offsetExists — オブジェクトがストレージ内に存在するかどうかを... 10059
- SplObjectStorage::offsetExists (PHP 5 >= 5.3.0, PHP 7, PHP 8) SplObjectStorage::offsetExists — オブジェクトがストレージ内に存在するかどうかを調べる 説明 public function SplObjectStorage::offsetExists ( object $object ): bool オブジェクトがス
... トレージ内に存在するかどうかを調べます。 注意 : SplObjectStorage::offsetExists() は、 SplObjectStorage::contains() のエイリアスです。 パラメータ object 探したいオブジェクト。 戻り値 object がストレージ ... 内に存在する場合に true 、 それ以外の場合に false を返します。 例 例1 SplObjectStorage::offsetExists() の例 <?php $s = new SplObjectStorage ; $o1 = new stdClass ; $o2 = new stdClass ; $s -> attach ( $o1 ); var_dump ( $s -> ... offsetExists ( $o1 )); // isset($s[$o1]) と同等 var_dump ( $s -> offsetExists ( $o2 )); // isset($s[$o2]) と同等 ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(false) 参考 SplObjec ...
-
https://man.mtool.work/php/8.3/splobjectstorage.offsetexists.html
- Yaf_Config_Ini::offsetExists — The offsetExists purpose | PHP 8.3 9369
- Yaf_Config_Ini::offsetExists (Yaf >=1.0.0) Yaf_Config_Ini::offsetExists — The offsetExists purpose 説明 public function Yaf_Config_Ini::offsetExists ( string $name ): void 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストの
...
-
https://man.mtool.work/php/8.3/yaf-config-ini.offsetexists.html
- Yaf_Config_Simple::offsetExists — The offsetExists purpose | PHP 8.3 9369
- Yaf_Config_Simple::offsetExists (Yaf >=1.0.0) Yaf_Config_Simple::offsetExists — The offsetExists purpose 説明 public function Yaf_Config_Simple::offsetExists ( string $name ): void 警告 この関数は、 現在のところ詳細な情報はありません。引数の
...
-
https://man.mtool.work/php/8.3/yaf-config-simple.offsetexists.html
- Yaf_Session::offsetExists — The offsetExists purpose | PHP 8.3 9369
- Yaf_Session::offsetExists (Yaf >=1.0.0) Yaf_Session::offsetExists — The offsetExists purpose 説明 public function Yaf_Session::offsetExists ( string $name ): void 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述
...
-
https://man.mtool.work/php/8.3/yaf-session.offsetexists.html
- Phar::offsetExists — ファイルが phar 内に存在するかどうかを調べる | PHP 8.3 9310
- Phar::offsetExists (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) Phar::offsetExists — ファイルが phar 内に存在するかどうかを調べる 説明 public function Phar::offsetExists ( string $localName ): bool これは ArrayAccess インターフェイスを
... 実装したものです。 これにより、Phar アーカイブの内容に対して配列形式の角括弧を使用したアクセスが可能となります。 offsetExists() は、 isset() がコールされる際にはいつもコールされます。 パラメータ localName Phar 内で探すファイル名 (相対パス)。 戻り値 ... ファイルが phar 内に存在する場合に true 、しない場合に false を返します。 例 例1 Phar::offsetExists() の例 <?php $p = new Phar ( dirname ( __FILE__ ) . '/my.phar' , 0 , 'my.phar' ); $p [ 'firstfile.txt' ] = 'first file' ; ... $p [ 'secondfile.txt' ] = 'second file' ; // 以下の行では、offsetExists() が間接的にコールされます var_dump (isset( $p [ 'firstfile.txt' ])); var_dump (isset( $p [ 'nothere.txt' ])); ?> 上の例の ...
-
https://man.mtool.work/php/8.3/phar.offsetexists.html
- CachingIterator::offsetExists — The offsetExists purpose | PHP 8.3 9266
- CachingIterator::offsetExists (PHP 5 >= 5.2.0, PHP 7, PHP 8) CachingIterator::offsetExists — The offsetExists purpose 説明 public function CachingIterator::offsetExists ( string $key ): bool 警告 この関数は、 現在のところ詳細な情報はありませ
...
-
https://man.mtool.work/php/8.3/cachingiterator.offsetexists.html
- MongoDB\BSON\Document::offsetExists — Returns whether a key is present in the d... 9207
- MongoDB\BSON\Document::offsetExists (mongodb >=1.17.0) MongoDB\BSON\Document::offsetExists — Returns whether a key is present in the document 説明 final public function MongoDB\BSON\Document::offsetExists ( mixed $key ): bool パラメータ key
... look for in the document. 戻り値 Returns true if the key is present in the document and false otherwise. 参考 ArrayAccess::offsetExists() - オフセットが存在するかどうか MongoDB\BSON\Document::has() - Returns whether a key is present in the document 他のマニュ ...
-
https://man.mtool.work/php/8.3/mongodb-bson-document.offsetexists.html
- MongoDB\BSON\PackedArray::offsetExists — Returns whether a index is present in ... 9149
- MongoDB\BSON\PackedArray::offsetExists (mongodb >=1.17.0) MongoDB\BSON\PackedArray::offsetExists — Returns whether a index is present in the array 説明 final public function MongoDB\BSON\PackedArray::offsetExists ( mixed $key ): bool パラメ
... to look for in the array. 戻り値 Returns true if the index is present in the array and false otherwise. 参考 ArrayAccess::offsetExists() - オフセットが存在するかどうか MongoDB\BSON\PackedArray::has() - Returns whether a index is present in the array 他のマニ ...
-
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.offsetexists.html