Results of 31 - 40 of about 418 for Foo (0.004 sec.)
- 修飾子の名前を取得する 5635
- « Reflection::export ReflectionClass » PHP Manual Reflection 修飾子の名前を取得する Reflection::
...
<?php class Testing { final public static function foo () { return; } public function bar () { return; } ...
} $foo = new ReflectionMethod ( 'Testing' , 'foo' ); echo ...
"Modifiers for method foo():\n" ; echo $foo -> getModifiers () . "\n" ; echo ...
implode ( ' ' , Reflection :: getModifierNames ( $foo -> getModifiers ())) . "\n" ; $bar = new Reflectio ...
-
https://man.plustar.jp/php/reflection.getmodifiernames.html
- [similar]
- メソッドの修飾子を取得する 5576
- « ReflectionMethod::getDeclaringClass ReflectionMethod::getPrototype » PHP Manual ReflectionMeth
...
<?php class Testing { final public static function foo () { return; } public function bar () { return; } ...
} $foo = new ReflectionMethod ( 'Testing' , 'foo' ); echo ...
"Modifiers for method foo():\n" ; echo $foo -> getModifiers () . "\n" ; echo ...
implode ( ' ' , Reflection :: getModifierNames ( $foo -> getModifiers ())) . "\n" ; $bar = new Reflectio ...
-
https://man.plustar.jp/php/reflectionmethod.getmodifiers.html
- [similar]
- 可変変数 5516
- « 変数のスコープ 外部から来る変数 » PHP Manual 変数 可変変数 可変変数 変数名を可変にできると便利
...
解決は、呼び出し元のスコープで行われます。 たとえば $foo->$bar のようにするとローカルスコープで $bar を調べ ...
、その値を $foo のプロパティ名として使います。 $bar が配列へのアク ...
ティ) などです。 例1 可変プロパティの例 <?php class foo { var $bar = 'I am bar.' ; var $arr = array( 'I am ...
, 'I am B.' , 'I am C.' ); var $r = 'I am r.' ; } $foo = new foo (); $bar = 'bar' ; $baz = array( 'foo' , ...
-
https://man.plustar.jp/php/language.variables.variable.html
- [similar]
- パラメータの配列を指定してコールバック関数をコールする 5423
- « 関数処理 関数 call_user_func » PHP Manual 関数処理 関数 パラメータの配列を指定してコールバック
...
例 例1 call_user_func_array() の例 <?php function foobar ( $arg , $arg2 ) { echo __FUNCTION__ , " got $a ...
rg and $arg2 \n" ; } class foo { function bar ( $arg , $arg2 ) { echo __METHOD__ ...
, " got $arg and $arg2 \n" ; } } // foobar() 関数に引数を 2 つ渡してコールします call_user ...
_func_array ( "foobar" , array( "one" , "two" )); // $foo->bar() メソ ...
-
https://man.plustar.jp/php/function.call-user-func-array.html
- [similar]
- オブジェクトのクラス名を返す 5423
- « get_class_vars get_declared_classes » PHP Manual クラス/オブジェクト関数 オブジェクトのクラス名
...
意味でした。 例 例1 get_class() の使用例 <?php class foo { function name () { echo "My name is " , get_clas ...
is ) , "\n" ; } } // オブジェクトを生成 $bar = new foo (); // 外部からコール echo "Its name is " , get_cl ...
(); ?> 上の例の出力は以下となります。 Its name is foo My name is foo 例2 get_class() のスーパークラスでの ...
ss ( $this )); var_dump ( get_class ()); } } class foo extends bar { } new foo ; ?> 上の例の出力は以下とな ...
-
https://man.plustar.jp/php/function.get-class.html
- [similar]
- 実行時設定 5423
- « インストール手順 リソース型 » PHP Manual インストール/設定 実行時設定 実行時設定 php.ini の設定
...
. 例1 Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini <?php function show_values () { ec ...
ho "Foo is $_FOO \n" ; echo "Bar is $_BAR \n" ; echo "Baz ...
is $_BAZ \n" ; } $_FOO = 'foo' ; $_BAR = 'bar' ; $_BAZ = 'baz' ; /* Displ ...
ays foo and bar, but not baz */ show_values (); ?> runkit. ...
-
https://man.plustar.jp/php/runkit7.configuration.html
- [similar]
- 例 5423
- « リソース型 Stomp 関数 » PHP Manual Stomp 例 例 例1 オブジェクト指向型 <?php $queue = '/queue/foo
...
getMessage ()); } /* send a message to the queue 'foo' */ $stomp -> send ( $queue , $msg ); /* subscribe ...
to messages from the queue 'foo' */ $stomp -> subscribe ( $queue ); /* read a fram ...
6-4:2:-1:1:1" ["destination"]=> string(10) "/queue/foo" ["timestamp"]=> string(13) "1257226805828" ["expi ...
ing(3) "bar" } 例2 手続き型 <?php $queue = '/queue/foo' ; $msg = 'bar' ; /* connection */ $link = stomp_c ...
-
https://man.plustar.jp/php/stomp.examples.html
- [similar]
- MySQL サーバに接続する 5212
- « expression mysql_xdevapi\BaseResult » PHP Manual Mysql_xdevapi 関数 MySQL サーバに接続する get
...
ンは 8.0.22 で追加されました。 例1 URI の例 mysqlx://foobar mysqlx://root@localhost?socket=%2Ftmp%2Fmysqld. ...
sock%2F mysqlx://foo:bar@localhost:33060 mysqlx://foo:bar@localhost:331 ...
60?ssl-mode=disabled mysqlx://foo:bar@localhost:33260?ssl-mode=required mysqlx://foo ...
host:33360?ssl-mode=required&auth=mysql41 mysqlx://foo:bar@(/path/to/socket) mysqlx://foo:bar@(/path/to/s ...
-
https://man.plustar.jp/php/function.mysql-xdevapi-getsession.html
- [similar]
- ユーザー定義関数 5212
- « 関数 関数の引数 » PHP Manual 関数 ユーザー定義関数 ユーザー定義関数 関数は次のような構文で定義
...
数の使用法を説明するための擬似コード <?php function foo ( $arg_1 , $arg_2 , /* ..., */ $arg_n ) { echo "関 ...
いなければなりません。 例2 条件つきの関数 <?php $makefoo = true ; /* ここでは関数foo()はまだ定義されていない ...
し関数 bar()はコールできます。 */ bar (); if ( $makefoo ) { function foo () { echo "I don't exist until pr ...
am execution reaches me.\n" ; } } /* ここでは $makefooがtrueと評価されているため 安全にfoo()をコールするこ ...
-
https://man.plustar.jp/php/functions.user-defined.html
- [similar]
- 下位互換性のない変更点 5212
- « PHP 5.6.x から PHP 7.0.x への移行 新機能 » PHP Manual PHP 5.6.x から PHP 7.0.x への移行 下位互
...
スの評価順の変更 式 PHP 5 での解釈 PHP 7 での解釈 $$foo['bar']['baz'] ${$foo['bar']['baz']} ($$foo)['bar'] ...
['baz'] $foo->$bar['baz'] $foo->{$bar['baz']} ($foo->$bar)['baz ...
'] $foo->$bar['baz']() $foo->{$bar['baz']}() ($foo->$bar)[ ...
'baz']() Foo::$bar['baz']() Foo::{$bar['baz']}() (Foo::$bar)['b ...
-
https://man.plustar.jp/php/migration70.incompatible.html
- [similar]