Results of 201 - 210 of about 418 for Foo (0.036 sec.)
- 定数が定義されているかどうかを調べる 3979
- « ReflectionClass::getTraits ReflectionClass::hasMethod » PHP Manual ReflectionClass 定数が定義さ
...
例1 ReflectionClass::hasConstant() の例 <?php class Foo { const c1 = 1 ; } $class = new ReflectionClass ( ...
"Foo" ); var_dump ( $class -> hasConstant ( "c1" )); va ...
-
https://man.plustar.jp/php/reflectionclass.hasconstant.html
- [similar]
- Register namespace with searching path 3979
- « Yaf_Loader::registerLocalNamespace Yaf_Loader::setLibraryPath » PHP Manual Yaf_Loader Register
...
/php/Dummy.php' $loader -> autoload ( "\Vendor\PHP\Foo_Bar" ); //load '/var/lib/php/Foo/Bar.php' $loader ...
-
https://man.plustar.jp/php/yaf-loader.registernamespace.html
- [similar]
- SplFixedArray クラス 3953
- « SplPriorityQueue::valid SplFixedArray::__construct » PHP Manual データ構造 SplFixedArray クラス
...
xedArray ( 5 ); $array [ 1 ] = 2 ; $array [ 4 ] = "foo" ; var_dump ( $array [ 0 ]); // NULL var_dump ( $a ...
/ int(2) var_dump ( $array [ "4" ]); // string(3) "foo" // 配列のサイズを 10 に拡大します $array -> setSi ...
の例の出力は以下となります。 NULL int(2) string(3) "foo" RuntimeException: Index invalid or out of range R ...
-
https://man.plustar.jp/php/class.splfixedarray.html
- [similar]
- キーを指定して、配列を値で埋める 3953
- « array_diff array_fill » PHP Manual 配列 関数 キーを指定して、配列を値で埋める array_fill_keys
...
例 例1 array_fill_keys() の例 <?php $keys = array( 'foo' , 5 , 10 , 'bar' ); $a = array_fill_keys ( $keys ...
( $a ); ?> 上の例の出力は以下となります。 Array ( [foo] => banana [5] => banana [10] => banana [bar] => b ...
-
https://man.plustar.jp/php/function.array-fill-keys.html
- [similar]
- 最初の引数で指定したコールバック関数をコールする 3953
- « call_user_func_array create_function » PHP Manual 関数処理 関数 最初の引数で指定したコールバッ
...
名前空間を使用した call_user_func() <?php namespace Foobar ; class Foo { static public function test () { ...
world!\n" ; } } call_user_func ( __NAMESPACE__ . '\Foo::test' ); call_user_func (array( __NAMESPACE__ . ' ...
\Foo' , 'test' )); ?> 上の例の出力は以下となります。 He ...
-
https://man.plustar.jp/php/function.call-user-func.html
- [similar]
- SNMP オブジェクトの値を設定する 3953
- « snmp2_real_walk snmp2_walk » PHP Manual SNMP 関数 SNMP オブジェクトの値を設定する snmp2_set (P
...
calhost" , "public" , "IF-MIB::ifAlias.3" , "s" , "foo" ); ?> 例2 BITS SNMP オブジェクト ID を設定した sn ...
の使用法 <?php snmp2_set ( "localhost" , "public" , 'FOO-MIB::bar.42' , 'b' , '0 1 2 3 4' ); // あるいは sn ...
mp2_set ( "localhost" , "public" , 'FOO-MIB::bar.42' , 'x' , 'F0' ); ?> 参考 snmp2_get() - ...
-
https://man.plustar.jp/php/function.snmp2-set.html
- [similar]
- SNMP オブジェクトの値を設定する 3953
- « snmprealwalk snmpwalk » PHP Manual SNMP 関数 SNMP オブジェクトの値を設定する snmpset (PHP 4, P
...
calhost" , "public" , "IF-MIB::ifAlias.3" , "s" , "foo" ); ?> 例2 BITS SNMP オブジェクト ID を設定した sn ...
の使用法 <?php snmpset ( "localhost" , "public" , 'FOO-MIB::bar.42' , 'b' , '0 1 2 3 4' ); // あるいは sn ...
mpset ( "localhost" , "public" , 'FOO-MIB::bar.42' , 'x' , 'F0' ); ?> 参考 snmpget() - S ...
-
https://man.plustar.jp/php/function.snmpset.html
- [similar]
- 変数をユーザーキャッシュから削除する 3953
- « wincache_ucache_dec wincache_ucache_exists » PHP Manual WinCache 関数 変数をユーザーキャッシュ
...
key に文字列を使う例 <?php wincache_ucache_set ( 'foo' , 'bar' ); var_dump ( wincache_ucache_delete ( 'f ...
oo' )); var_dump ( wincache_ucache_exists ( 'foo' )); ?> 上の例の出力は以下となります。 bool(true) ...
-
https://man.plustar.jp/php/function.wincache-ucache-delete.html
- [similar]
- 名前空間の使用法: エイリアス/インポート 3953
- « namespace キーワードおよび __NAMESPACE__ 定数 グローバル空間 » PHP Manual 名前空間 名前空間の使
...
演算子によるインポート/エイリアス <?php namespace foo ; use My \ Full \ Classname as Another ; // これは ...
ll \ CONSTANT ; $obj = new namespace\ Another ; // foo\Another クラスのオブジェクトのインスタンスを作成し ...
タンスを作成します // "use ArrayObject" がなければ、foo\ArrayObject クラスのオブジェクトのインスタンスを作 ...
きの名前 (完全修飾形式の名前空間は区切り文字を含んだ Foo\Bar のようなもので、グローバルな場合は区切り文字を ...
-
https://man.plustar.jp/php/language.namespaces.importing.html
- [similar]
- PHP 7.4.x で推奨されなくなる機能 3953
- « 下位互換性のない変更点 削除された拡張モジュール » PHP Manual PHP 7.3.x から PHP 7.4.x への移行
...
るようにして下さい: <?php // ReflectionClass::export(Foo::class, false) is: echo new ReflectionClass ( Foo ...
::class), "\n" ; // $str = ReflectionClass::export(Foo::class, true) is: $str = (string) new ReflectionCl ...
ass ( Foo ::class); ?> Socket glibc で推奨されなくなったため ...
-
https://man.plustar.jp/php/migration74.deprecated.html
- [similar]