検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 418 for Foo (0.010 sec.)
与えられたクラスの親クラスを返す 5178
« class_implements class_uses » PHP Manual SPL 関数 与えられたクラスの親クラスを返す class_paren ... を返します。 例 例1 class_parents() の例 <?php class foo { } class bar extends foo {} print_r ( class_paren ... 例の出力は、 たとえば以下のようになります。 Array ( [foo] => foo ) Array ( [foo] => foo ) Array ( [parent_o ...
https://man.plustar.jp/php/function.class-parents.html - [similar]
遅延静的束縛 (Late Static Bindings) 5178
« オブジェクトの比較 オブジェクトと参照 » PHP Manual クラスとオブジェクト 遅延静的束縛 (Late Sta ... static:: の使用法 <?php class A { private function foo () { echo "success!\n" ; } public function test () ... { $this -> foo (); static:: foo (); } } class B extends A { /* fo ... 成功します */ } class C extends A { private function foo () { /* もとのメソッドが置き換えられるので、新しい ... s! success! Fatal error: Call to private method C::foo() from context 'A' in /tmp/test.php on line 9 注意 ...
https://man.plustar.jp/php/language.oop5.late-static-bindings.html - [similar]
別のストレージに含まれているもの以外のすべてのオブジェクトを現在のストレージから... 5178
« SplObjectStorage::removeAll SplObjectStorage::rewind » PHP Manual SplObjectStorage 別のストレー ... ct) 'a' ; $b = (object) 'b' ; $c = (object) 'c' ; $foo = new SplObjectStorage ; $foo -> attach ( $a ); $f ... e ; $bar -> attach ( $b ); $bar -> attach ( $c ); $foo -> removeAllExcept ( $bar ); var_dump ( $foo -> co ... ntains ( $a )); var_dump ( $foo -> contains ( $b )); ?> 上の例の出力は、 たとえば以 ...
https://man.plustar.jp/php/splobjectstorage.removeallexcept.html - [similar]
PHP と HTML 5145
« パスワードのハッシュ PHP と COM » PHP Manual FAQ PHP と HTML PHP と HTML PHP と HTML は深く関係 ... ype="image"> タグを使おうとしているのですが、変数 $foo.x と $foo.y が使えません。 $_GET['foo.x'] も存在し ... ype="image"> タグを使おうとしているのですが、変数 $foo.x と $foo.y が使えません。 $_GET['foo.x'] も存在し ... できます。 <input type="image" src="image.gif" name="foo" /> ユーザーが画像のどこかをクリックすると、そのフ ... ォームの内容に foo.x と foo.y という 2 つの変数が追加され、サーバーに ...
https://man.plustar.jp/php/faq.html.html - [similar]
Returns the Javascript's scope document 5145
« MongoDB\BSON\Javascript::getCode MongoDB\BSON\Javascript::jsonSerialize » PHP Manual MongoDB\B ... $js = new MongoDB \ BSON \ Javascript ( 'function foo(bar) { return bar; }' ); var_dump ( $js -> getScop ... $js = new MongoDB \ BSON \ Javascript ( 'function foo() { return foo; }' , [ 'foo' => 42 ]); var_dump ( ... 力は以下となります。 NULL object(stdClass)#1 (1) { ["foo"]=> int(42) } 参考 » BSON Types 関連キーワード: Ja ...
https://man.plustar.jp/php/mongodb-bson-javascript.getscope.html - [similar]
指定したクラスが使っているトレイトを返す 5119
« class_parents iterator_apply » PHP Manual SPL 関数 指定したクラスが使っているトレイトを返す cl ... を返します。 例 例1 class_uses() の例 <?php trait foo { } class bar { use foo ; } print_r ( class_uses ( ... 例の出力は、 たとえば以下のようになります。 Array ( [foo] => foo ) Array ( [foo] => foo ) Array ( [trait_of ...
https://man.plustar.jp/php/function.class-uses.html - [similar]
Gets value of class or instance property 5119
« uopz_get_mock uopz_get_return » PHP Manual Uopz 関数 Gets value of class or instance property ... 例 例1 Basic uopz_get_property() Usage <?php class Foo { private static $staticBar = 10 ; private $bar = ... 100 ; } $foo = new Foo ; var_dump ( uopz_get_property ( 'Foo' , ... 'staticBar' )); var_dump ( uopz_get_property ( $foo , 'bar' )); ?> 上の例の出力は、 たとえば以下のよう ...
https://man.plustar.jp/php/function.uopz-get-property.html - [similar]
オブジェクト定数 5119
« プロパティ クラスのオートローディング » PHP Manual クラスとオブジェクト オブジェクト定数 オブジ ... ちます。 例2 名前空間の ::class の例 <?php namespace foo { class bar { } echo bar ::class; // foo\bar } ?> ... クラス内での定数式の例 <?php const ONE = 1 ; class foo { const TWO = ONE * 2 ; const THREE = ONE + self : ... 7.1.0 以降の、クラス定数のアクセス範囲 <?php class Foo { public const BAR = 'bar' ; private const BAZ = ' ... baz' ; } echo Foo :: BAR , PHP_EOL ; echo Foo :: BAZ , PHP_EOL ; ?> ...
https://man.plustar.jp/php/language.oop5.constants.html - [similar]
グローバルスコープで使用可能なすべての変数への参照 5119
« スーパーグローバル $_SERVER » PHP Manual 定義済の変数 グローバルスコープで使用可能なすべての変 ... す。 例 例1 $GLOBALS の例 <?php function test () { $foo = "local variable" ; echo '$foo in global scope: ' ... . $GLOBALS [ "foo" ] . "\n" ; echo '$foo in current scope: ' . $foo ... . "\n" ; } $foo = "Example content" ; test (); ?> 上の例の出力は、 ... たとえば以下のようになります。 $foo in global scope: Example content $foo in current s ...
https://man.plustar.jp/php/reserved.variables.globals.html - [similar]
配列 5086
« 数値形式の文字列 Iterable » PHP Manual 型 配列 配列 PHP の配列は、実際には順番付けられたマップ ... ます。 例1 シンプルな配列定義 <?php $array = array( "foo" => "bar" , "bar" => "foo" , ); // 配列の短縮構文 ... $array = [ "foo" => "bar" , "bar" => "foo" , ]; ?> key は、 整数 ま ... 整数と文字列のキーの混在例 <?php $array = array( "foo" => "bar" , "bar" => "foo" , 100 => - 100 , - 100 ... ); ?> 上の例の出力は以下となります。 array(4) { ["foo"]=> string(3) "bar" ["bar"]=> string(3) "foo" [100 ...
https://man.plustar.jp/php/language.types.array.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NEXT