Results of 191 - 200 of about 1231 for function (0.016 sec.)
- finalキーワード 3231
- « マジックメソッド オブジェクトのクローン作成 » PHP Manual クラスとオブジェクト finalキーワード
...
1 finalメソッドの例 <?php class BaseClass { public function test () { echo "BaseClass::test() called\n" ; } fi ...
nal public function moreTesting () { echo "BaseClass::moreTesting() ca ...
; } } class ChildClass extends BaseClass { public function moreTesting () { echo "ChildClass::moreTesting() c ...
nalクラスの例 <?php final class BaseClass { public function test () { echo "BaseClass::test() called\n" ; } // ...
-
https://man.plustar.jp/php/language.oop5.final.html
- [similar]
- メソッドの配列を取得する 3231
- « ReflectionClass::getMethod ReflectionClass::getModifiers » PHP Manual ReflectionClass メソッド
...
hods() の基本的な使用例 <?php class Apple { public function firstMethod () { } final protected function second ...
Method () { } private static function thirdMethod () { } } $class = new ReflectionClass ...
hods() のフィルタリング <?php class Apple { public function firstMethod () { } final protected function second ...
Method () { } private static function thirdMethod () { } } $class = new ReflectionClass ...
-
https://man.plustar.jp/php/reflectionclass.getmethods.html
- [similar]
- 実行中のジェネレータのトレースを取得する 3231
- « ReflectionGenerator::getThis ReflectionFiber » PHP Manual ReflectionGenerator 実行中のジェネレ
...
例 例1 ReflectionGenerator::getTrace() の例 <?php function foo () { yield 1 ; } function bar () { yield from ...
foo (); } function baz () { yield from bar (); } $gen = baz (); $gen ...
e"]=> string(18) "example.php" ["line"]=> int(8) ["function"]=> string(3) "foo" ["args"]=> array(0) { } } [1]= ...
"]=> string(18) "example.php" ["line"]=> int(12) ["function"]=> string(3) "bar" ["args"]=> array(0) { } } } 参 ...
-
https://man.plustar.jp/php/reflectiongenerator.gettrace.html
- [similar]
- The Common Record Log Function 3231
- « SeasLog::info SeasLog::notice » PHP Manual SeasLog The Common Record Log Function SeasLog::log
...
slog >=1.0.0) SeasLog::log — The Common Record Log Function 説明 public static SeasLog::log ( string $level , ...
, string $logger = ? ): bool The Common Record Log Function. パラメータ level Can use level in: SEASLOG_DEBUG ...
right this right now, like a temp logger, when the function SeasLog::setLogger() called in pre content. If `lo ...
sLog , Record , array , information , info , Log , Function , SEASLOG , logger , string ...
-
https://man.plustar.jp/php/seaslog.log.html
- [similar]
- Sets socket options 3214
- « EventUtil::getSocketName EventUtil::sslRandPoll » PHP Manual EventUtil Sets socket options Eve
...
numbers can be found by using the getprotobyname() function. See EventUtil constants . optname Option name(typ ...
as corresponding parameter of socket_get_option() function. See EventUtil constants . optval Accepts the same ...
ues as optval parameter of the socket_get_option() function. 戻り値 成功した場合に true を、失敗した場合に fal ...
l , Sets , options , option , optval , constants , function , parameter , setSocketOption , optname ...
-
https://man.plustar.jp/php/eventutil.setsocketoption.html
- [similar]
- 定義済み定数 3214
- « リソース型 例 » PHP Manual Gearman 定義済み定数 定義済み定数 以下の定数が定義されています。 こ
...
nt ) Failed to connect to servers. GEARMAN_INVALID_FUNCTION_NAME ( int ) Trying to register a function name of ...
thout specifying callbacks. GEARMAN_INVALID_WORKER_FUNCTION ( int ) Trying to register a function with a NULL ...
callback function. GEARMAN_NO_REGISTERED_FUNCTIONS ( int ) When a wo ...
rker gets a job for a function it did not register. GEARMAN_NO_JOBS ( int ) For a ...
-
https://man.plustar.jp/php/gearman.constants.html
- [similar]
- XML 外部エンティティの例 3197
- « XMLタグのマッピングの例 XML パーサ 関数 » PHP Manual 例 XML 外部エンティティの例 XML 外部エンテ
...
外部エンティティの例 <?php $file = "xmltest.xml" ; function trustedFile ( $file ) { // 信頼できるのは、自分自身 ...
== getmyuid ()) { return true ; } return false ; } function startElement ( $parser , $name , $attribs ) { echo ...
r=\"#990000\"> $v </font>\"" ; } } echo ">" ; } function endElement ( $parser , $name ) { echo "</<font ...
color=\"#0000cc\"> $name </font>>" ; } function characterData ( $parser , $data ) { echo "<b> $dat ...
-
https://man.plustar.jp/php/example.xml-external-entity.html
- [similar]
- PHP Callbacks 3197
- « Basic FFI usage A Complete PHP/FFI/preloading Example » PHP Manual 例 PHP Callbacks PHP Callba
...
le to assign a PHP closure to a native variable of function pointer type or to pass it as a function argument: ...
clone $zend -> zend_write ; $zend -> zend_write = function( $str , $len ) { global $orig_zend_write ; $orig_z ...
orld 2! } Hello World 3! Although this works, this functionality is not supported on all libffi platforms, is ...
llbacks. 関連キーワード: Callbacks , not , usage , function , minimize , recommended , therefore , ヒント , re ...
-
https://man.plustar.jp/php/ffi.examples-callback.html
- [similar]
- 新しいオブジェクトを生成する際に、クラスの代わりにモックを使う 3197
- « uopz_set_hook uopz_set_property » PHP Manual Uopz 関数 新しいオブジェクトを生成する際に、クラス
...
例 例1 uopz_set_mock() の例 <?php class A { public function who () { echo "A" ; } } class mockA { public funct ...
kA 例2 uopz_set_mock() の例 <?php class A { public function who () { echo "A" ; } } uopz_set_mock ( A ::class, ...
new class { public function who () { echo "mockA" ; } }); (new A )-> who (); ? ...
た。 <?php class A { const CON = 'A' ; public static function who () { echo "A" ; } } uopz_set_mock ( A ::class, ...
-
https://man.plustar.jp/php/function.uopz-set-mock.html
- [similar]
- Run a single task and return a result [deprecated] 3197
- « GearmanClient::data GearmanClient::doBackground » PHP Manual GearmanClient Run a single task a
...
eprecated] 説明 public GearmanClient::do ( string $function_name , string $workload , string $unique = ? ): st ...
1.0.0. Use GearmanClient::doNormal() . パラメータ function_name ワーカーが実行するために登録した関数。 worklo ...
(localhost). $gmworker -> addServer (); # Register function "reverse" with the server. Change the worker funct ...
or a faster worker with no output. $gmworker -> addFunction ( "reverse" , "reverse_fn" ); print "Waiting for j ...
-
https://man.plustar.jp/php/gearmanclient.do.html
- [similar]