検索

phrase: max: clip:
target: order:
Results of 81 - 90 of about 418 for Foo (0.022 sec.)
オブジェクトの継承 4688
« アクセス権 スコープ定義演算子 (::) » PHP Manual クラスとオブジェクト オブジェクトの継承 オブジ ... readonly int $prop ; } ?> 例1 継承の例 <?php class Foo { public function printItem ( $string ) { echo 'Fo ... 'PHP is great.' . PHP_EOL ; } } class Bar extends Foo { public function printItem ( $string ) { echo 'Ba ... r: ' . $string . PHP_EOL ; } } $foo = new Foo (); $bar = new Bar (); $foo -> printItem ... ( 'baz' ); // 出力: 'Foo: baz' $foo -> printPHP (); // 出力: 'PHP is great' ...
https://man.plustar.jp/php/language.oop5.inheritance.html - [similar]
オブジェクト インターフェイス 4688
« クラスの抽象化 トレイト » PHP Manual クラスとオブジェクト オブジェクト インターフェイス オブジ ... ーフェイスの継承 <?php interface A { public function foo (); } interface B extends A { public function baz ... 動作します。 class C implements B { public function foo () { } public function baz ( Baz $baz ) { } } // こ ... となります。 class D implements B { public function foo () { } public function baz ( Foo $foo ) { } } ?> 例 ... ーフェイスの継承 <?php interface A { public function foo (); } interface B { public function bar (); } inte ...
https://man.plustar.jp/php/language.oop5.interfaces.html - [similar]
ファイル名を取得する 4688
« SplFileInfo::getFileInfo SplFileInfo::getGroup » PHP Manual SplFileInfo ファイル名を取得する S ... etFilename() の例 <?php $info = new SplFileInfo ( 'foo.txt' ); var_dump ( $info -> getFilename ()); $info ... = new SplFileInfo ( '/path/to/foo.txt' ); var_dump ( $info -> getFilename ()); $info ... の出力は、 たとえば以下のようになります。 string(7) "foo.txt" string(7) "foo.txt" string(0) "" string(7) "s ...
https://man.plustar.jp/php/splfileinfo.getfilename.html - [similar]
Manipulation 4688
« Threaded::isTerminated Threaded::notify » PHP Manual Threaded Manipulation Threaded::merge (PE ... array ); $stdClass = new stdClass (); $stdClass -> foo = "foo" ; $stdClass -> bar = "bar" ; $stdClass -> ... w Threaded (); $safe -> merge ( $array ); $safe -> foo = "bar" ; $safe -> merge ( $stdClass , false ); va ... (6) ["7"]=> int(7) ["8"]=> int(8) ["9"]=> int(9) ["foo"]=> string(3) "bar" ["bar"]=> string(3) "bar" ["ba ...
https://man.plustar.jp/php/threaded.merge.html - [similar]
include 4655
« require require_once » PHP Manual 制御構造 include include (PHP 4, PHP 5, PHP 7, PHP 8) includ ... が評価します。 例2 関数内での読み込み <?php function foo () { global $color ; include 'vars.php' ; echo "A ... $color $fruit " ; } /* vars.php は foo() のスコープを継承するため * * $fruit はこの関数の ... はglobalとして宣言されているため * * 有効です。 */ foo (); // A green apple echo "A $color $fruit " ; // ... 、ここでの * * '動作します'という言葉の意味は、変数$fooと$barが読み込まれる側のファイ * * ルで使用可能である ...
https://man.plustar.jp/php/function.include.html - [similar]
直近の操作から生じた警告の数を取得する 4655
« Result::getWarnings mysql_xdevapi\RowResult » PHP Manual mysql_xdevapi\Result 直近の操作から生 ... ost" ); $session -> sql ( "DROP DATABASE IF EXISTS foo" )-> execute (); $session -> sql ( "CREATE DATABAS ... E foo" )-> execute (); $session -> sql ( "CREATE TABLE f ... )-> execute (); $schema = $session -> getSchema ( "foo" ); $table = $schema -> getTable ( "test_table" ); ...
https://man.plustar.jp/php/mysql-xdevapi-result.getwarningscount.html - [similar]
直近の操作から生じた警告の数を取得する 4655
« RowResult::getWarnings mysql_xdevapi\Schema » PHP Manual mysql_xdevapi\RowResult 直近の操作から ... ost" ); $session -> sql ( "DROP DATABASE IF EXISTS foo" )-> execute (); $session -> sql ( "CREATE DATABAS ... E foo" )-> execute (); $session -> sql ( "CREATE TABLE f ... )-> execute (); $schema = $session -> getSchema ( "foo" ); $table = $schema -> getTable ( "test_table" ); ...
https://man.plustar.jp/php/mysql-xdevapi-rowresult.getwarningscount.html - [similar]
生の XML データを追加する 4629
« DOMDocumentFragment DOMDocumentFragment::__construct » PHP Manual DOMDocumentFragment 生の XML ... -> createDocumentFragment (); $f -> appendXML ( "<foo>text</foo><bar>text2</bar>" ); $doc -> documentEle ... 出力は以下となります。 <?xml version="1.0"?> <root><foo>text</foo><bar>text2</bar></root> 関連キーワード: ...
https://man.plustar.jp/php/domdocumentfragment.appendxml.html - [similar]
ふたつのパスの差分を再帰的に取得する 4629
« svn_delete svn_export » PHP Manual SVN 関数 ふたつのパスの差分を再帰的に取得する svn_diff (PEC ... = svn_diff ( 'http://www.example.com/svnroot/trunk/foo' , SVN_REVISION_HEAD , 'http://www.example.com/svn ... root/branches/dev/foo' , SVN_REVISION_HEAD ); if (! $diff ) exit; $conte ... ります。 Index: http://www.example.com/svnroot/trunk/foo ================================================== ... ========= --- http://www.example.com/svnroot/trunk/foo (.../foo) (revision 23) +++ http://www.example.com ...
https://man.plustar.jp/php/function.svn-diff.html - [similar]
論理演算子 4629
« 加算子/減算子 文字列演算子 » PHP Manual 演算子 論理演算子 論理演算子 論理演算子 例 名前 結果 $ ... 算子についての説明 <?php // -------------------- // foo() は決してコールされることはありません。これらの演 ... 算子は短絡評価を行うからです。 $a = ( false && foo ()); $b = ( true || foo ()); $c = ( false and foo ... ()); $d = ( true or foo ()); // -------------------- // "||" の優先順位は ...
https://man.plustar.jp/php/language.operators.logical.html - [similar]