検索

phrase: max: clip:
target: order:
Results of 471 - 480 of about 1200 for var (0.026 sec.)
列挙型が Backed Enum かを調べる 2820
« ReflectionEnum::hasCase ReflectionEnumUnitCase » PHP Manual ReflectionEnum 列挙型が Backed Enu ... s = 'D' ; case Clubs = 'C' ; case Spades = 'S' ; } var_dump ((new ReflectionEnum ( Suit ::class))-> isBac ... ked ()); var_dump ((new ReflectionEnum ( BackedSuit ::class))-> ...
https://man.plustar.jp/php/reflectionenum.isbacked.html - [similar]
クロージャであるかどうかを調べる 2820
« ReflectionFunctionAbstract::inNamespace ReflectionFunctionAbstract::isDeprecated » PHP Manual ... flection1 = new ReflectionFunction ( $function1 ); var_dump ( $reflection1 -> isClosure ()); // クロージャ ... flection2 = new ReflectionFunction ( $function2 ); var_dump ( $reflection2 -> isClosure ()); ?> 上の例の出 ...
https://man.plustar.jp/php/reflectionfunctionabstract.isclosure.html - [similar]
デフォルトプロパティであるかどうかを調べる 2820
« ReflectionProperty::hasType ReflectionProperty::isInitialized » PHP Manual ReflectionProperty ... o -> baz = 42 ; $ro = new ReflectionObject ( $o ); var_dump ( $ro -> getProperty ( 'bar' )-> isDefault () ... ); var_dump ( $ro -> getProperty ( 'baz' )-> isDefault () ...
https://man.plustar.jp/php/reflectionproperty.isdefault.html - [similar]
現在の SimpleXML エントリを返す 2820
« SimpleXMLIterator SimpleXMLIterator::getChildren » PHP Manual SimpleXMLIterator 現在の SimpleX ... P basics</book><book>XML basics</book></books>' ); var_dump ( $xmlIterator -> current ()); $xmlIterator - ... > rewind (); // 最初の要素に巻き戻します var_dump ( $xmlIterator -> current ()); ?> 上の例の出力 ...
https://man.plustar.jp/php/simplexmliterator.current.html - [similar]
リンク先を取得する 2820
« SplFileInfo::getInode SplFileInfo::getMTime » PHP Manual SplFileInfo リンク先を取得する SplFil ... s/bbieber/workspace' ); if ( $info -> isLink ()) { var_dump ( $info -> getLinkTarget ()); var_dump ( $inf ...
https://man.plustar.jp/php/splfileinfo.getlinktarget.html - [similar]
オブジェクトの参照先が通常のファイルであるかどうかを調べる 2820
« SplFileInfo::isExecutable SplFileInfo::isLink » PHP Manual SplFileInfo オブジェクトの参照先が通 ... ) の例 <?php $info = new SplFileInfo ( __FILE__ ); var_dump ( $info -> isFile ()); $info = new SplFileInf ... o ( dirname ( __FILE__ )); var_dump ( $info -> isFile ()); ?> 上の例の出力は、 た ...
https://man.plustar.jp/php/splfileinfo.isfile.html - [similar]
PHP の配列を SplFixedArray インスタンスにインポートする 2820
« SplFixedArray::current SplFixedArray::getSize » PHP Manual SplFixedArray PHP の配列を SplFixed ... :: fromArray (array( 1 => 1 , 0 => 2 , 3 => 3 )); var_dump ( $fa ); $fa = SplFixedArray :: fromArray (ar ... ray( 1 => 1 , 0 => 2 , 3 => 3 ), false ); var_dump ( $fa ); ?> 上の例の出力は以下となります。 ob ...
https://man.plustar.jp/php/splfixedarray.fromarray.html - [similar]
オブジェクトをストレージに追加する 2820
« SplObjectStorage::addAll SplObjectStorage::contains » PHP Manual SplObjectStorage オブジェクト ... ch ( $o2 , "hello" ); // $s[$o2] = "hello"; と同等 var_dump ( $s [ $o1 ]); var_dump ( $s [ $o2 ]); ?> 上の ...
https://man.plustar.jp/php/splobjectstorage.attach.html - [similar]
ストレージに特定のオブジェクトが含まれるかどうかを調べる 2820
« SplObjectStorage::attach SplObjectStorage::count » PHP Manual SplObjectStorage ストレージに特定 ... = new SplObjectStorage (); $s [ $o1 ] = "hello" ; var_dump ( $s -> contains ( $o1 )); var_dump ( $s -> c ...
https://man.plustar.jp/php/splobjectstorage.contains.html - [similar]
ストレージ内のオブジェクトの数を返す 2820
« SplObjectStorage::contains SplObjectStorage::current » PHP Manual SplObjectStorage ストレージ内 ... $o1 ); $s -> attach ( $o2 ); $s -> attach ( $o1 ); var_dump ( $s -> count ()); var_dump ( count ( $s )); ...
https://man.plustar.jp/php/splobjectstorage.count.html - [similar]