検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 59 for baz (0.004 sec.)
インターフェイスの名前を取得する 7455
« ReflectionClass::getFileName ReflectionClass::getInterfaces » PHP Manual ReflectionClass インタ ... の例 <?php interface Foo { } interface Bar { } class Baz implements Foo , Bar { } $rc1 = new ReflectionClas ... s ( "Baz" ); print_r ( $rc1 -> getInterfaceNames ()); ?> 上 ...
https://man.plustar.jp/php/reflectionclass.getinterfacenames.html - [similar]
文字列を処理し、変数に代入する 7353
« ord print » PHP Manual String 関数 文字列を処理し、変数に代入する parse_str (PHP 4, PHP 5, PHP ... 使用法 <?php $str = "first=value&arr[]=foo+bar&arr[]=baz" ; // 推奨 parse_str ( $str , $output ); echo $out ... ][ 0 ]; // foo bar echo $output [ 'arr' ][ 1 ]; // baz // お勧めできない parse_str ( $str ); echo $first ... ue echo $arr [ 0 ]; // foo bar echo $arr [ 1 ]; // baz ?> PHP における変数は、名前にドットやスペースを許容 ...
https://man.plustar.jp/php/function.parse-str.html - [similar]
宣言しているクラスを取得する 7353
« ReflectionParameter::getClass ReflectionParameter::getDeclaringFunction » PHP Manual Reflectio ... c function bar (\ DateTime $datetime ) { } } class Baz extends Foo { } $param = new \ ReflectionParameter ... ([ 'Baz' , 'bar' ], 0 ); var_dump ( $param -> getDeclaring ...
https://man.plustar.jp/php/reflectionparameter.getdeclaringclass.html - [similar]
オブジェクトの継承 7265
« アクセス権 スコープ定義演算子 (::) » PHP Manual クラスとオブジェクト オブジェクトの継承 オブジ ... ew Foo (); $bar = new Bar (); $foo -> printItem ( 'baz' ); // 出力: 'Foo: baz' $foo -> printPHP (); // 出 ... 力: 'PHP is great' $bar -> printItem ( 'baz' ); // 出力: 'Bar: baz' $bar -> printPHP (); // 出 ...
https://man.plustar.jp/php/language.oop5.inheritance.html - [similar]
インターフェイスを取得する 7265
« ReflectionClass::getInterfaceNames ReflectionClass::getMethod » PHP Manual ReflectionClass イン ... の例 <?php interface Foo { } interface Bar { } class Baz implements Foo , Bar { } $rc1 = new ReflectionClas ... s ( "Baz" ); print_r ( $rc1 -> getInterfaces ()); ?> 上の例 ...
https://man.plustar.jp/php/reflectionclass.getinterfaces.html - [similar]
ドキュメントコメントを取得する 7163
« ReflectionClass::getDefaultProperties ReflectionClass::getEndLine » PHP Manual ReflectionClass ... hp /** * A test class * * @param foo bar * @return baz */ class TestClass { } $rc = new ReflectionClass ( ... ) "/** * A test class * * @param foo bar * @return baz */" 参考 ReflectionClass::getName() - クラスの名前 ...
https://man.plustar.jp/php/reflectionclass.getdoccomment.html - [similar]
デフォルトプロパティであるかどうかを調べる 7163
« ReflectionProperty::hasType ReflectionProperty::isInitialized » PHP Manual ReflectionProperty ... c $bar ; } $o = new Foo (); $o -> bar = 42 ; $o -> baz = 42 ; $ro = new ReflectionObject ( $o ); var_dump ... -> isDefault ()); var_dump ( $ro -> getProperty ( 'baz' )-> isDefault ()); ?> 上の例の出力は以下となります ...
https://man.plustar.jp/php/reflectionproperty.isdefault.html - [similar]
リファレンスが行わないこと 7075
« リファレンスが行うことは何ですか? リファレンス渡し » PHP Manual リファレンスの説明 リファレンス ... <?php function foo (& $var ) { $var =& $GLOBALS [ "baz" ]; } foo ( $bar ); ?> ここでの動作としては、関数 ... はコール側の $bar と関連付けられますが、 $GLOBALS["baz"] に再結合されるといったものになります。 コール側の ...
https://man.plustar.jp/php/language.references.arent.html - [similar]
可変変数 7075
« 変数のスコープ 外部から来る変数 » PHP Manual 変数 可変変数 可変変数 変数名を可変にできると便利 ... = 'I am r.' ; } $foo = new foo (); $bar = 'bar' ; $baz = array( 'foo' , 'bar' , 'baz' , 'quux' ); echo $f ... oo -> $bar . "\n" ; echo $foo ->{ $baz [ 1 ]} . "\n" ; $start = 'b' ; $end = 'ar' ; echo ...
https://man.plustar.jp/php/language.variables.variable.html - [similar]
プロパティで宣言されたデフォルト値を返す 7075
« ReflectionProperty::getDeclaringClass ReflectionProperty::getDocComment » PHP Manual Reflectio ... <?php class Foo { public $bar = 1 ; public ? int $baz ; public int $boing = 0 ; } $ro = new ReflectionCl ... DefaultValue ()); var_dump ( $ro -> getProperty ( 'baz' )-> getDefaultValue ()); var_dump ( $ro -> getPro ...
https://man.plustar.jp/php/reflectionproperty.getdefaultvalue.html - [similar]
PREV 1 2 3 4 5 6 NEXT