検索

phrase: max: clip:
target: order:
Results of 251 - 260 of about 418 for Foo (0.342 sec.)
Dynamically adds a new method to a given class 3860
« runkit7_import runkit7_method_copy » PHP Manual runkit7 関数 Dynamically adds a new method to ... ethod_add() example <?php class Example { function foo () { echo "foo!\n" ; } } // create an Example obje ...
https://man.plustar.jp/php/function.runkit7-method-add.html - [similar]
変数の文字列表現を出力または返す 3860
« var_dump ウェブサービス » PHP Manual 変数操作 関数 変数の文字列表現を出力または返す var_export ... ; } } $a = new A ; $a -> var1 = 5 ; $a -> var2 = 'foo' ; eval( '$b = ' . var_export ( $a , true ) . ';' ... ::__set_state(array( // 'var1' => 5, // 'var2' => 'foo', // )); var_dump ( $b ); ?> 上の例の出力は以下とな ... A)#2 (2) { ["var1"]=> int(5) ["var2"]=> string(3) "foo" } 注意 注意 : リソース型 の変数は、 この関数ではエ ...
https://man.plustar.jp/php/function.var-export.html - [similar]
デフォルトプロパティを取得する 3860
« ReflectionClass::getConstructor ReflectionClass::getDocComment » PHP Manual ReflectionClass デ ... $inheritedProperty = 'inheritedDefault' ; } class Foo extends Bar { public $property = 'propertyDefault' ... erty ; } $reflectionClass = new ReflectionClass ( 'Foo' ); var_dump ( $reflectionClass -> getDefaultPrope ...
https://man.plustar.jp/php/reflectionclass.getdefaultproperties.html - [similar]
パラメータのデフォルト値を取得する 3860
« ReflectionParameter::getDeclaringFunction ReflectionParameter::getDefaultValueConstantName » P ... のパラメータのデフォルト値を取得する <?php function foo ( $test , $bar = 'baz' ) { echo $test . $bar ; } $ ... function = new ReflectionFunction ( 'foo' ); foreach ( $function -> getParameters () as $pa ...
https://man.plustar.jp/php/reflectionparameter.getdefaultvalue.html - [similar]
プロパティのドキュメントコメントを取得する 3860
« ReflectionProperty::getDefaultValue ReflectionProperty::getModifiers » PHP Manual ReflectionPr ... ントは最初のプロパティのみを参照します。 <?php class Foo { /** @var string */ public $a , $b ; } $class = n ... ew \ ReflectionClass ( 'Foo' ); foreach ( $class -> getProperties () as $prope ...
https://man.plustar.jp/php/reflectionproperty.getdoccomment.html - [similar]
制御構造に関する別の構文 3827
« elseif/else if while » PHP Manual 制御構造 制御構造に関する別の構文 制御構造に関する別の構文 ( ... たとえば、以下のコードは無効です。 <?php switch ( $foo ): ?> <?php case 1 : ?> ... <?php endswitch ?> 一方 ... の間では何も出力されないからです。 <?php switch ( $foo ): ?> <?php case 1 : ?> ... <?php endswitch ?> whi ...
https://man.plustar.jp/php/control-structures.alternative-syntax.html - [similar]
英数字かどうかを調べる 3827
« Ctype 関数 ctype_alpha » PHP Manual Ctype 関数 英数字かどうかを調べる ctype_alnum (PHP 4 >= 4. ... ケールを使用) <?php $strings = array( 'AbCd1zyZ9' , 'foo!#$bar' ); foreach ( $strings as $testcase ) { if ( ... zyZ9 consists of all letters or digits. The string foo!#$bar does not consist of all letters or digits. 参 ...
https://man.plustar.jp/php/function.ctype-alnum.html - [similar]
FDF データを表示する PDF ドキュメントを設定する 3827
« fdf_set_encoding fdf_set_flags » PHP Manual FDF 関数 FDF データを表示する PDF ドキュメントを設 ... ; /* fdf を開始します */ $fdf = fdf_create (); /* "foo" フィールドに、値 "bar" を設定します */ fdf_set_va ... lue ( $fdf , "foo" , "bar" ); /* "fdf_form.pdf" を使用して fdf を表示 ...
https://man.plustar.jp/php/function.fdf-set-file.html - [similar]
変数が既にキャッシュに存在しない場合にのみ変数をユーザーキャッシュに追加する 3827
« wincache_scache_meminfo wincache_ucache_cas » PHP Manual WinCache 関数 変数が既にキャッシュに存 ... p $bar = 'BAR' ; var_dump ( wincache_ucache_add ( 'foo' , $bar )); var_dump ( wincache_ucache_add ( 'foo' ... , $bar )); var_dump ( wincache_ucache_get ( 'foo' )); ?> 上の例の出力は以下となります。 bool(true) ...
https://man.plustar.jp/php/function.wincache-ucache-add.html - [similar]
JSON にシリアライズしたいデータを指定する 3827
« JsonSerializable JSON 関数 » PHP Manual JsonSerializable JSON にシリアライズしたいデータを指定 ... alize () { return $this -> array ; } } $array = [ 'foo' => 'bar' , 'quux' => 'baz' ]; echo json_encode (n ... ETTY_PRINT ); ?> 上の例の出力は以下となります。 { "foo": "bar", "quux": "baz" } 例3 JsonSerializable::jso ...
https://man.plustar.jp/php/jsonserializable.jsonserialize.html - [similar]