« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 314 for called (0.007 sec.)
Constructs an EvTimer watcher object 9739
« EvTimer::again EvTimer::createStopped » PHP Manual EvTimer Constructs an EvTimer watcher object 検索 EvTimer::__construct (PECL ev >= 0.2.0) EvTimer::__construct — Constructs an EvTimer watcher object 説明 public function EvTimer::__const ... after 2 seconds repeating each second // until we manually stop it $w2 = new EvTimer ( 2 , 1 , function ( $w ) { echo "is called every second, is launched after 2 seconds\n" ; echo "iteration = " , Ev :: iteration (), PHP_EOL ; // Stop the watcher aft ... ped\n" ; // Stop the watcher after 2 iterations Ev :: iteration () >= 2 and $w -> stop (); }); // Loop until Ev::stop() is called or all of watchers stop Ev :: run (); // Start and look if it works $w_stopped -> start (); echo "Run single iteration\n" ... a blocking loop\n" ; Ev :: run (); echo "END\n" ; ?> 上の例の出力は、 たとえば以下のようになります。 2 seconds elapsed is called every second, is launched after 2 seconds iteration = 1 is called every second, is launched after 2 seconds iteration = 2 ...
https://man.mtool.work/php/8.3/evtimer.construct.html
Constructs an EvTimer watcher object 9739
« EvTimer::again EvTimer::createStopped » PHP Manual EvTimer Constructs an EvTimer watcher object 検索 EvTimer::__construct (PECL ev >= 0.2.0) EvTimer::__construct — Constructs an EvTimer watcher object 説明 public function EvTimer::__const ... after 2 seconds repeating each second // until we manually stop it $w2 = new EvTimer ( 2 , 1 , function ( $w ) { echo "is called every second, is launched after 2 seconds\n" ; echo "iteration = " , Ev :: iteration (), PHP_EOL ; // Stop the watcher aft ... ped\n" ; // Stop the watcher after 2 iterations Ev :: iteration () >= 2 and $w -> stop (); }); // Loop until Ev::stop() is called or all of watchers stop Ev :: run (); // Start and look if it works $w_stopped -> start (); echo "Run single iteration\n" ... a blocking loop\n" ; Ev :: run (); echo "END\n" ; ?> 上の例の出力は、 たとえば以下のようになります。 2 seconds elapsed is called every second, is launched after 2 seconds iteration = 1 is called every second, is launched after 2 seconds iteration = 2 ...
https://man.mtool.work/php/8.3/evtimer.construct.html
"遅延静的束縛" のクラス名 7933
« enum_exists get_class » PHP Manual クラス/オブジェクト関数 "遅延静的束縛" のクラス名 検索 get_called_class (PHP 5 >= 5.3.0, PHP 7, PHP 8) get_called_class — "遅延静的束縛" のクラス名 説明 function get_called_class (): string staticメソッド ... ール元のクラス名を取得します。 パラメータ この関数にはパラメータはありません。 戻り値 クラス名を返します。 エラー / 例外 get_called_class() がクラスの外部からコールされた場合、 Error がスローされます。PHP 8.0.0 より前のバージョンでは、 E_WARNING が発生し ... ror がスローされるようになりました。 これより前のバージョンでは、 E_WARNING が発生し、 false を返していました。 例 例1 get_called_class() の使用法 <?php class foo { static public function test () { var_dump ( get_called_class ()); } } class bar extends ... クトが指定したクラスのサブクラスに属するか (あるいは指定したインターフェイスを実装しているか) どうかを調べる 関連キーワード: called 遅延 束縛 static 外部 enum exists 履歴 dump extends 参考 parent subclass サブクラス インターフェイス 実装 ...
https://man.mtool.work/php/8.3/function.get-called-class.html
"遅延静的束縛" のクラス名 7867
« enum_exists get_class » PHP Manual クラス/オブジェクト関数 "遅延静的束縛" のクラス名 検索 get_called_class (PHP 5 >= 5.3.0, PHP 7, PHP 8) get_called_class — "遅延静的束縛" のクラス名 説明 function get_called_class (): string staticメソッド ... ール元のクラス名を取得します。 パラメータ この関数にはパラメータはありません。 戻り値 クラス名を返します。 エラー / 例外 get_called_class() がクラスの外部からコールされた場合、 Error がスローされます。PHP 8.0.0 より前のバージョンでは、 E_WARNING が発生し ... ror がスローされるようになりました。 これより前のバージョンでは、 E_WARNING が発生し、 false を返していました。 例 例1 get_called_class() の使用法 <?php class foo { static public function test () { var_dump ( get_called_class ()); } } class bar extends ... スのサブクラスに属するか (あるいは指定したインターフェイスを実装しているか) どうかを調べる 関連キーワード: クラス class get called オブジェクト foo 遅延 束縛 string コール バージョン test bar function static パラメータ 外部 場合 Error 発生 ...
https://man.mtool.work/php/8.3/function.get-called-class.html
Must be called after a fork 7355
« EvLoop::io EvLoop::now » PHP Manual EvLoop Must be called after a fork 検索 EvLoop::loopFork (PECL ev >= 0.2.0) EvLoop::loopFork — Must be called after a fork 説明 public function EvLoop::loopFork (): void Must be called after a fork in t ... he » libev documentation ). パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 関連キーワード: EvLoop called after fork loopFork function パラメータ io Search now ev void child before entering continuing event loop alternative use ...
https://man.mtool.work/php/8.3/evloop.loopfork.html
Must be called after a fork 7355
« EvLoop::io EvLoop::now » PHP Manual EvLoop Must be called after a fork 検索 EvLoop::loopFork (PECL ev >= 0.2.0) EvLoop::loopFork — Must be called after a fork 説明 public function EvLoop::loopFork (): void Must be called after a fork in t ... he » libev documentation ). パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 関連キーワード: EvLoop called after fork loopFork child before entering continuing event loop alternative calls automatically performance loss refer lib ...
https://man.mtool.work/php/8.3/evloop.loopfork.html
finalキーワード 7225
« マジックメソッド オブジェクトのクローン作成 » PHP Manual クラスとオブジェクト finalキーワード 検索 finalキーワード キーワード final を前に付けて定義されたメソッドやプロパティ、定数は、子クラスからオーバーライドできません。 クラス自体がfin ... を拡張することはできません。 例1 finalメソッドの例 <?php class BaseClass { public function test () { echo "BaseClass::test() called\n" ; } final public function moreTesting () { echo "BaseClass::moreTesting() called\n" ; } } class ChildClass extends Base ... Class { public function moreTesting () { echo "ChildClass::moreTesting() called\n" ; } } // Results in Fatal error: Cannot override final method BaseClass::moreTesting() ?> 例2 finalクラスの例 <?php fin ... al class BaseClass { public function test () { echo "BaseClass::test() called\n" ; } // As the class is already final, the final keyword is redundant final public function moreTesting () { echo "BaseC ...
https://man.mtool.work/php/8.3/language.oop5.final.html
finalキーワード 7225
« マジックメソッド オブジェクトのクローン作成 » PHP Manual クラスとオブジェクト finalキーワード 検索 finalキーワード キーワード final を前に付けて定義されたメソッドやプロパティ、定数は、子クラスからオーバーライドできません。 クラス自体がfin ... を拡張することはできません。 例1 finalメソッドの例 <?php class BaseClass { public function test () { echo "BaseClass::test() called\n" ; } final public function moreTesting () { echo "BaseClass::moreTesting() called\n" ; } } class ChildClass extends Base ... Class { public function moreTesting () { echo "ChildClass::moreTesting() called\n" ; } } // Results in Fatal error: Cannot override final method BaseClass::moreTesting() ?> 例2 finalクラスの例 <?php fin ... al class BaseClass { public function test () { echo "BaseClass::test() called\n" ; } // As the class is already final, the final keyword is redundant final public function moreTesting () { echo "BaseC ...
https://man.mtool.work/php/8.3/language.oop5.final.html
ブートストラップをコールする 6834
« Yaf_Application::app Yaf_Application::clearLastError » PHP Manual Yaf_Application ブートストラップをコールする 検索 Yaf_Application::bootstrap (Yaf >=1.0.0) Yaf_Application::bootstrap — ブートストラップをコールする 説明 public function Ya ... ind it */ class Bootstrap extends Yaf_Bootstrap_Abstract { function _initConfig ( Yaf_Dispatcher $dispatcher ) { echo "1st called\n" ; } function _initPlugin ( $dispatcher ) { echo "2nd called\n" ; } } ?> 例2 Yaf_Application::bootstrap() の例 <?php def ... ION_PATH . '/conf/application.ini' ); $application -> bootstrap (); ?> 上の例の出力は、 たとえば以下のようになります。 1st called 2nd called 参考 Yaf_Bootstrap_Abstract 関連キーワード: Yaf Application bootstrap Bootstrap ブートストラップ application Ab ... stract called コール function php パラメータ インスタンス file defined config dispatcher echo 1st 2nd ...
https://man.mtool.work/php/8.3/yaf-application.bootstrap.html
フェッチモード 6834
« 定義済み定数 接続、および接続の管理 » PHP Manual 定義済み定数 フェッチモード 検索 フェッチモード PDO::FETCH_ORI_* カーソル定数については、 カーソル定数 を参照ください。 基本的なフェッチモード フェッチモード 概要 PDO::FETCH_DEFAULT 現在のデ ... userid ; public $name ; public $country ; public $referred_by_userid ; public function __construct () { print "Constructor called with " . count ( func_get_args ()) . " args\n" ; print "Properties set when constructor called? " . (isset( $this -> name ... y ::class); $result = $stmt -> fetch (); var_dump ( $result ); 上の例の出力は、 たとえば以下のようになります。 Constructor called with 0 args Properties set when constructor called? Yes object(TestEntity)#3 (4) { ["userid"]=> int(104) ["name"]=> string ... userid ; public $name ; public $country ; public $referred_by_userid ; public function __construct () { print "Constructor called with " . count ( func_get_args ()) . " args\n" ; print "Properties set when constructor called? " . (isset( $this -> name ...
https://man.mtool.work/php/8.3/pdo.constants.fetch-modes.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT