Results of 111 - 120 of about 817 for Return (0.042 sec.)
- 例外(exceptions) 3922
- « PHP 7 でのエラー 例外を拡張する » PHP Manual 言語リファレンス 例外(exceptions) 例外(exceptions
...
へアクセスすることは出来ません。 finally ブロックと return 文の間には注意すべき相互作用があります。 return 文 ...
場合でも、 finally ブロックは実行されます。 さらに、 return 文は出現した時に評価されますが、 結果は finally ブ ...
された後に返されます。 さらに、 finally ブロックにも return 文が存在した場合は、 finally ブロックから値が返され ...
) { throw new Exception ( 'ゼロによる除算。' ); } return 1 / $x ; } try { echo inverse ( 5 ) . "\n" ; echo ...
-
https://man.plustar.jp/php/language.exceptions.html
- [similar]
- Identification 3922
- « Thread::getCreatorId Thread::getCurrentThreadId » PHP Manual Thread Identification Thread::get
...
public static Thread::getCurrentThread (): Thread Return a reference to the currently executing Thread パラ ...
representing the currently executing Thread 例 例1 Return the currently executing Thread <?php class My exte ...
uting , getCurrentThread , urrently , パラメータ , Return , 出力 , representing , An ...
-
https://man.plustar.jp/php/thread.getcurrentthread.html
- [similar]
- Identification 3922
- « Thread::getCurrentThread Thread::getThreadId » PHP Manual Thread Identification Thread::getCur
...
lic static Thread::getCurrentThreadId (): int Will return the identity of the currently executing Thread パラ ...
ータはありません。 戻り値 A numeric identity 例 例1 Return the identity of the currently executing Thread <?p ...
eadId , executing , パラメータ , 出力 , urrently , Return , numeric , 関数 ...
-
https://man.plustar.jp/php/thread.getcurrentthreadid.html
- [similar]
- Reduces the deque to a single value using a callback function 3896
- « Ds\Deque::push Ds\Deque::remove » PHP Manual Deque Reduces the deque to a single value using a
...
k ( mixed $carry , mixed $value ): mixed carry The return value of the previous callback, or initial if it's ...
value of the carry value. Can be null . 戻り値 The return value of the final callback. 例 例1 Ds\Deque::redu ...
, 3 ]); $callback = function( $carry , $value ) { return $carry * $value ; }; var_dump ( $deque -> reduce ( ...
( $deque -> reduce (function( $carry , $value ) { return $carry + $value + 5 ; })); // Iterations: // // $c ...
-
https://man.plustar.jp/php/ds-deque.reduce.html
- [similar]
- Basic usage 3896
- « 例 Basic Gearman client and worker, background » PHP Manual 例 Basic usage Basic usage 例1 Bas
...
rmal ( "reverse" , "Hello!" ); # Check for various return packets and errors. switch( $gmclient -> returnCod ...
\n" ; break; default: echo "RET: " . $gmclient -> returnCode () . "\n" ; exit; } } while( $gmclient -> retu ...
; while( $gmworker -> work ()) { if ( $gmworker -> returnCode () != GEARMAN_SUCCESS ) { echo "return_code: " ...
. $gmworker -> returnCode () . "\n" ; break; } } function reverse_fn ( $ ...
-
https://man.plustar.jp/php/gearman.examples-reverse.html
- [similar]
- Description 3896
- « Imagick::setPointSize Imagick::setRegistry » PHP Manual Imagick Description Imagick::setProgre
...
callback The progress function to call. It should return true if image processing should continue, or false ...
> 20 ) { $abortReason = "Processing reached 20%" ; return false ; } $nowTime = time (); if ( $nowTime - $sta ...
on = "Image processing took more than 5 seconds" ; return false ; } if (( $offset % 5 ) == 0 ) { echo "Progr ...
ess: $offset / $span <br/>" ; } return true ; }; $imagick -> setProgressMonitor ( $callba ...
-
https://man.plustar.jp/php/imagick.setprogressmonitor.html
- [similar]
- クラスの抽象化 3896
- « static キーワード オブジェクト インターフェイス » PHP Manual クラスとオブジェクト クラスの抽象
...
s AbstractClass { protected function getValue () { return "ConcreteClass1" ; } public function prefixValue ( ...
$prefix ) { return " { $prefix } ConcreteClass1" ; } } class Concrete ...
ends AbstractClass { public function getValue () { return "ConcreteClass2" ; } public function prefixValue ( ...
$prefix ) { return " { $prefix } ConcreteClass2" ; } } $class1 = new ...
-
https://man.plustar.jp/php/language.oop5.abstract.html
- [similar]
- Provides an array or document to serialize as BSON 3896
- « MongoDB\BSON\Serializable MongoDB\BSON\Unserializable » PHP Manual MongoDB\BSON\Serializable P
...
rialization of the object to BSON. The method must return an array or stdClass . Root documents (e.g. a Mong ...
SON\ObjectId initialized in your constructor) when returning data for a BSON root document; otherwise, the d ...
例 例1 MongoDB\BSON\Serializable::bsonSerialize() returning an associative array for root document <?php cl ...
\ BSON \ ObjectId ; } function bsonSerialize () { return [ '_id' => $this -> id , 'foo' => 'bar' ]; } } $bs ...
-
https://man.plustar.jp/php/mongodb-bson-serializable.bsonserialize.html
- [similar]
- Get log count by level, log_path and key_word 3896
- « SeasLog::alert SeasLog::analyzerDetail » PHP Manual SeasLog Get log count by level, log_path a
...
el}' | grep -aic '{key_word}'` use system pipe and return to PHP (array or int). パラメータ level String. Th ...
mation. 戻り値 If `level` is SEASLOG_ALL or Empty, return all levels count as `array`. If `level` is SEASLOG ...
_INFO or the other level, return count as `int`. 例 例1 SeasLog::analyzerCount() ex ...
y , count , path , SeasLog , Get , analyzerCount , return , information , string ...
-
https://man.plustar.jp/php/seaslog.analyzercount.html
- [similar]
- Write and push data into Swoole channel. 3896
- « Swoole\Channel::pop Swoole\Channel::stats » PHP Manual Swoole\Channel Write and push data into
...
nel will use temp files storage. The function will return true if the write operation is succeeded, or retur ...
, data , into , swoole , string , variable , not , return , storage , Wheter ...
-
https://man.plustar.jp/php/swoole-channel.push.html
- [similar]