« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 337 for Internal (0.002 sec.)
ReflectionClass オブジェクトの文字列表現を返す 9221
« ReflectionClass::setStaticPropertyValue ReflectionClassConstant » PHP Manual ReflectionClass ReflectionClass オブジェクトの文字列表現を返す 検索 ReflectionClass::__toString (PHP 5, PHP 7, PHP 8) ReflectionClass::__toString — ReflectionCla ... = new ReflectionClass ( 'Exception' ); echo $reflectionClass -> __toString (); ?> 上の例の出力は以下となります。 Class [ <internal:Core> class Exception ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [7] { Prop ... tected $line ] Property [ <default> private $trace ] Property [ <default> private $previous ] } - Methods [10] { Method [ <internal:Core> final private method __clone ] { } Method [ <internal:Core, ctor> public method __construct ] { - Parameters [3] { P ... arameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] Parameter #2 [ <optional> $previous ] } } Method [ <internal:Core> final public method getMessage ] { } Method [ <internal:Core> final public method getCode ] { } Method [ <internal:C ...
https://man.mtool.work/php/8.3/reflectionclass.tostring.html
ReflectionClass オブジェクトの文字列表現を返す 9221
« ReflectionClass::setStaticPropertyValue ReflectionClassConstant » PHP Manual ReflectionClass ReflectionClass オブジェクトの文字列表現を返す 検索 ReflectionClass::__toString (PHP 5, PHP 7, PHP 8) ReflectionClass::__toString — ReflectionCla ... = new ReflectionClass ( 'Exception' ); echo $reflectionClass -> __toString (); ?> 上の例の出力は以下となります。 Class [ <internal:Core> class Exception ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [7] { Prop ... tected $line ] Property [ <default> private $trace ] Property [ <default> private $previous ] } - Methods [10] { Method [ <internal:Core> final private method __clone ] { } Method [ <internal:Core, ctor> public method __construct ] { - Parameters [3] { P ... arameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] Parameter #2 [ <optional> $previous ] } } Method [ <internal:Core> final public method getMessage ] { } Method [ <internal:Core> final public method getCode ] { } Method [ <internal:C ...
https://man.mtool.work/php/8.3/reflectionclass.tostring.html
ReflectionClass を作成する 8984
« ReflectionClass ReflectionClass::export » PHP Manual ReflectionClass ReflectionClass を作成する 検索 ReflectionClass::__construct (PHP 5, PHP 7, PHP 8) ReflectionClass::__construct — ReflectionClass を作成する 説明 public function Reflect ... tion = new ReflectionClass ( 'Exception' ); echo $reflection ; ?> 上の例の出力は、 たとえば以下のようになります。 Class [ <internal:Core> class Exception implements Stringable, Throwable ] { - Constants [0] { } - Static properties [0] { } - Static method ... = 0 ] Property [ private array $trace = [] ] Property [ private ?Throwable $previous = NULL ] } - Methods [11] { Method [ <internal:Core> private method __clone ] { - Parameters [0] { } - Return [ void ] } Method [ <internal:Core, ctor> public method __c ... age = "" ] Parameter #1 [ <optional> int $code = 0 ] Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core> public method __wakeup ] { - Parameters [0] { } - Tentative return [ void ] } Method [ <internal:Core, prototype Thr ...
https://man.mtool.work/php/8.3/reflectionclass.construct.html
ReflectionClass を作成する 8984
« ReflectionClass ReflectionClass::export » PHP Manual ReflectionClass ReflectionClass を作成する 検索 ReflectionClass::__construct (PHP 5, PHP 7, PHP 8) ReflectionClass::__construct — ReflectionClass を作成する 説明 public function Reflect ... tion = new ReflectionClass ( 'Exception' ); echo $reflection ; ?> 上の例の出力は、 たとえば以下のようになります。 Class [ <internal:Core> class Exception implements Stringable, Throwable ] { - Constants [0] { } - Static properties [0] { } - Static method ... = 0 ] Property [ private array $trace = [] ] Property [ private ?Throwable $previous = NULL ] } - Methods [11] { Method [ <internal:Core> private method __clone ] { - Parameters [0] { } - Return [ void ] } Method [ <internal:Core, ctor> public method __c ... age = "" ] Parameter #1 [ <optional> int $code = 0 ] Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core> public method __wakeup ] { - Parameters [0] { } - Tentative return [ void ] } Method [ <internal:Core, prototype Thr ...
https://man.mtool.work/php/8.3/reflectionclass.construct.html
Execution 8193
« parallel\Runtime::__construct parallel\Runtime::close » PHP Manual parallel\Runtime Execution 検索 parallel\Runtime::run (0.8.0) parallel\Runtime::run — Execution 説明 public function parallel\Runtime::run ( Closure $task ): ? Future Shal ... e. Task Characteristics Closures scheduled for parallel execution must not: accept or return by reference accept or return internal objects (see notes) execute a limited set of instructions Instructions prohibited in Closures intended for parallel execut ... les which the task may include. Arguments Characteristics Arguments must not: contain references contain resources contain internal objects (see notes) 注意 : In the case of file stream resources, the resource will be cast to the file descriptor and pass ... ed as int where possible, this is unsupported on Windows. Internal Objects Notes Internal objects generally use a custom structure which cannot be copied by value safely, PHP currently lack ...
https://man.mtool.work/php/8.3/parallel-runtime.run.html
Execution 8193
« parallel\Runtime::__construct parallel\Runtime::close » PHP Manual parallel\Runtime Execution 検索 parallel\Runtime::run (0.8.0) parallel\Runtime::run — Execution 説明 public function parallel\Runtime::run ( Closure $task ): ? Future Shal ... e. Task Characteristics Closures scheduled for parallel execution must not: accept or return by reference accept or return internal objects (see notes) execute a limited set of instructions Instructions prohibited in Closures intended for parallel execut ... les which the task may include. Arguments Characteristics Arguments must not: contain references contain resources contain internal objects (see notes) 注意 : In the case of file stream resources, the resource will be cast to the file descriptor and pass ... ed as int where possible, this is unsupported on Windows. Internal Objects Notes Internal objects generally use a custom structure which cannot be copied by value safely, PHP currently lack ...
https://man.mtool.work/php/8.3/parallel-runtime.run.html
Execution 8002
« parallel\bootstrap parallel\Runtime » PHP Manual Functional API Execution 検索 parallel\run (1.0.0) parallel\run — Execution 説明 function parallel\run ( Closure $task ): ? Future Shall schedule task for execution in parallel. function pa ... Shall schedule task for execution in parallel, passing argv at execution time. Automatic Scheduling If a \parallel\Runtime internally created and cached by a previous call to parallel\run() is idle, it will be used to execute the task. If no \parallel\Ru ... e. Task Characteristics Closures scheduled for parallel execution must not: accept or return by reference accept or return internal objects (see notes) execute a limited set of instructions Instructions prohibited in Closures intended for parallel execut ... les which the task may include. Arguments Characteristics Arguments must not: contain references contain resources contain internal objects (see notes) 注意 : In the case of file stream resources, the resource will be cast to the file descriptor and pass ...
https://man.mtool.work/php/8.3/parallel.run.html
Execution 8002
« parallel\bootstrap parallel\Runtime » PHP Manual Functional API Execution 検索 parallel\run (1.0.0) parallel\run — Execution 説明 function parallel\run ( Closure $task ): ? Future Shall schedule task for execution in parallel. function pa ... Shall schedule task for execution in parallel, passing argv at execution time. Automatic Scheduling If a \parallel\Runtime internally created and cached by a previous call to parallel\run() is idle, it will be used to execute the task. If no \parallel\Ru ... e. Task Characteristics Closures scheduled for parallel execution must not: accept or return by reference accept or return internal objects (see notes) execute a limited set of instructions Instructions prohibited in Closures intended for parallel execut ... les which the task may include. Arguments Characteristics Arguments must not: contain references contain resources contain internal objects (see notes) 注意 : In the case of file stream resources, the resource will be cast to the file descriptor and pass ...
https://man.mtool.work/php/8.3/parallel.run.html
例 7675
« リフレクション 拡張 » PHP Manual リフレクション 例 検索 例 リフレクションのドキュメントの中には多くの例が示されています。 特に、各クラスの __construct のドキュメントを見るといいでしょう。 例1 シェル (ターミナル) からのリフレクションの例 $ ... hp --rf strlen $ php --rc finfo $ php --re json $ php --ri dom 上の例の出力は、 たとえば以下のようになります。 Function [ <internal:Core> function strlen ] { - Parameters [1] { Parameter #0 [ <required> $str ] } } Class [ <internal:fileinfo> class finfo ... { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [4] { Method [ <internal:fileinfo, ctor> public method finfo ] { - Parameters [2] { Parameter #0 [ <optional> $options ] Parameter #1 [ <optional> ... $arg ] } } Method [ <internal:fileinfo> public method set_flags ] { - Parameters [1] { Parameter #0 [ <required> $options ] } } Method [ <internal:filei ...
https://man.mtool.work/php/8.3/reflection.examples.html
例 7629
« リフレクション 拡張 » PHP Manual リフレクション 例 検索 例 リフレクションのドキュメントの中には多くの例が示されています。 特に、各クラスの __construct のドキュメントを見るといいでしょう。 例1 シェル (ターミナル) からのリフレクションの例 $ ... hp --rf strlen $ php --rc finfo $ php --re json $ php --ri dom 上の例の出力は、 たとえば以下のようになります。 Function [ <internal:Core> function strlen ] { - Parameters [1] { Parameter #0 [ <required> $str ] } } Class [ <internal:fileinfo> class finfo ... { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [4] { Method [ <internal:fileinfo, ctor> public method finfo ] { - Parameters [2] { Parameter #0 [ <optional> $options ] Parameter #1 [ <optional> ... $arg ] } } Method [ <internal:fileinfo> public method set_flags ] { - Parameters [1] { Parameter #0 [ <required> $options ] } } Method [ <internal:filei ...
https://man.mtool.work/php/8.3/reflection.examples.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT