« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 16 for getLastErrors (0.001 sec.)
DateTime::getLastErrors — DateTimeImmutable::getLastErrors() | PHP 8.3 12909
DateTime::getLastErrors (PHP 5 >= 5.3.0, PHP 7, PHP 8) DateTime::getLastErrors — DateTimeImmutable::getLastErrors() のエイリアス 説明 この関数は次の関数のエイリアスです。 DateTimeImmutable::getLastErrors() 他のマニュアルの関連ページ Python ...
https://man.mtool.work/php/8.3/datetime.getlasterrors.html
DateTimeImmutable::getLastErrors — 警告およびエラーを返す | PHP 8.3 11627
DateTimeImmutable::getLastErrors (PHP 5 >= 5.5.0, PHP 7, PHP 8) DateTimeImmutable::getLastErrors — 警告およびエラーを返す 説明 public static function DateTimeImmutable::getLastErrors (): array | false 日付/時刻文字列のパース時に見つかった警 ... ませんでした。 代わりに、例に示している、警告やエラーに関する情報を含む配列を常に返していました。 例 例1 DateTimeImmutable::getLastErrors() の例 <?php try { $date = new DateTimeImmutable ( 'asdfasdf' ); } catch ( Exception $e ) { // 使用例を出したかっただけ... ... print_r ( DateTimeImmutable :: getLastErrors ()); // オブジェクト指向流にやるなら、本来は以下のように書くべき echo $e -> getMessage (); } ?> 上の例の出力は以下となりま ... 付を検知する <?php $date = DateTimeImmutable :: createFromFormat ( '!Y-m-d' , '2020-02-30' ); print_r ( DateTimeImmutable :: getLastErrors ()); 上の例の出力は以下となります。 Array ( [warning_count] => 1 [warnings] => Array ( [10] => The parsed date was invalid ...
https://man.mtool.work/php/8.3/datetimeimmutable.getlasterrors.html
ZMQPoll::getLastErrors — Get poll errors | PHP 8.3 11021
ZMQPoll::getLastErrors (PECL zmq >= 0.5.0) ZMQPoll::getLastErrors — Get poll errors 説明 public function ZMQPoll::getLastErrors (): array Returns the ids of the objects that had errors in the last poll. パラメータ この関数にはパラメータはあ ...
https://man.mtool.work/php/8.3/zmqpoll.getlasterrors.html
date_get_last_errors — DateTimeImmutable::getLastErrors() | PHP 8.3 9652
date_get_last_errors (PHP 5 >= 5.3.0, PHP 7, PHP 8) date_get_last_errors — DateTimeImmutable::getLastErrors() のエイリアス 説明 この関数は次の関数のエイリアスです。 DateTimeImmutable::getLastErrors() 他のマニュアルの関連ページ Django 1.7.11 ...
https://man.mtool.work/php/8.3/function.date-get-last-errors.html
The ZMQPoll class | PHP 8.3 9218
The ZMQPoll class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQPoll { /* メソッド */ public function add ( mixed $entry , int $type ): string public function clear (): ZMQPoll public function count (): int public function getLastErrors ... ::add — Add item to the poll set ZMQPoll::clear — Clear the poll set ZMQPoll::count — Count items in the poll set ZMQPoll::getLastErrors — Get poll errors ZMQPoll::poll — Poll the items ZMQPoll::remove — Remove item from poll set 他のマニュアルの関連ページ Fa ...
https://man.mtool.work/php/8.3/class.zmqpoll.html
日付・時刻 | PHP 8.3 8352
日付・時刻 はじめに DateTimeImmutable と、 それに関連するクラスを使うと、日付/時刻 に関する情報を表現できます。 このオブジェクトは、日付/時刻 の文字列表現か、 現在のシステム時刻から作成できます。 この情報を変更したり、 フォーマット化するため ... 、新しい DateTime オブジェクトを返す DateTime::createFromTimestamp — Unix タイムスタンプからインスタンスを生成する DateTime::getLastErrors — DateTimeImmutable::getLastErrors のエイリアス DateTime::modify — タイムスタンプを変更する DateTime::__set_state — __set_ ... インスタンスを返す DateTimeImmutable::createFromTimestamp — Unix タイムスタンプからインスタンスを生成する DateTimeImmutable::getLastErrors — 警告およびエラーを返す DateTimeImmutable::modify — タイムスタンプを変更した新しいオブジェクトを作る DateTimeImmutable::_ ... e_diff — DateTime::diff のエイリアス date_format — DateTime::format のエイリアス date_get_last_errors — DateTimeImmutable::getLastErrors のエイリアス date_interval_create_from_date_string — DateInterval::createFromDateString のエイリアス date_interval_format ...
https://man.mtool.work/php/8.3/book.datetime.html
ZMQPoll::poll — Poll the items | PHP 8.3 8352
ZMQPoll::poll (PECL zmq >= 0.5.0) ZMQPoll::poll — Poll the items 説明 public function ZMQPoll::poll ( array &$readable , array &$writable , int $timeout = -1 ): int Polls the items in the current poll set. The readable and writable items ar ... e returned in the readable and writable parameters. ZMQPoll::getLastErrors() can be used to check if there were errors. パラメータ readable Array where readable ZMQSockets/PHP streams are returned. ... ry { /* Poll until there is something to do */ $events = $poll -> poll ( $readable , $writable , - 1 ); $errors = $poll -> getLastErrors (); if ( count ( $errors ) > 0 ) { foreach ( $errors as $error ) { echo "Error polling object " . $error . "\n" ; } } } ca ...
https://man.mtool.work/php/8.3/zmqpoll.poll.html
DateTimeImmutable::createFromFormat — 時刻の文字列を指定されたフォーマットに従... 8179
DateTimeImmutable::createFromFormat date_create_immutable_from_format (PHP 5 >= 5.5.0, PHP 7, PHP 8) DateTimeImmutable::createFromFormat -- date_create_immutable_from_format — 時刻の文字列を指定されたフォーマットに従ってパースする 説明 オブ ... 列のそれ以降のデータではエラーが発生せず、 かわりに警告を発生させる それ以降のデータが存在したかどうかを調べるには DateTime::getLastErrors() を使います。 書式文字列の中に解釈不能な文字が含まれていると処理は失敗し、 戻り値にはエラーメッセージが付加されます。エラ ... ーメッセージを調べるには DateTime::getLastErrors() を使います。 format にリテラル文字を含めるには、 バックスラッシュ ( \ ) でエスケープする必要があります。 format に文字 ! ... 対的なキーワード指定については、 相対的な書式 で説明されています。 日付のオーバーフローを検出するために、 DateTimeImmutable::getLastErrors() が使えます。 このメソッドの結果には、オーバーフローが発生した場合に警告が含まれます。 例7 オーバーフローした日付を検出す ...
https://man.mtool.work/php/8.3/datetimeimmutable.createfromformat.html
DateTime クラス | PHP 8.3 7919
DateTime クラス (PHP 5 >= 5.2.0, PHP 7, PHP 8) はじめに 日付と時刻を表現するクラスです。 このクラスは、 DateTimeImmutable と同じ振る舞いをします。 但し、 DateTime::modify() のような、 オブジェクトそのものを変更するメソッドが呼び出された時を ... 、新しい DateTime オブジェクトを返す DateTime::createFromTimestamp — Unix タイムスタンプからインスタンスを生成する DateTime::getLastErrors — DateTimeImmutable::getLastErrors のエイリアス DateTime::modify — タイムスタンプを変更する DateTime::__set_state — __set_ ...
https://man.mtool.work/php/8.3/class.datetime.html
DateTimeImmutable クラス | PHP 8.3 7919
DateTimeImmutable クラス (PHP 5 >= 5.5.0, PHP 7, PHP 8) はじめに 日付と時刻を表現します。 このクラスは DateTime と同じ振る舞いをします。 但し、 DateTime::modify() のような、 状態を変更して新しいオブジェクトを返すメソッドが呼び出された時を除 ... ime $object ): static public static function createFromTimestamp ( int | float $timestamp ): static public static function getLastErrors (): array | false #[ \NoDiscard ( message : "as DateTimeImmutable::modify() does not modify the object itself" )] public f ... インスタンスを返す DateTimeImmutable::createFromTimestamp — Unix タイムスタンプからインスタンスを生成する DateTimeImmutable::getLastErrors — 警告およびエラーを返す DateTimeImmutable::modify — タイムスタンプを変更した新しいオブジェクトを作る DateTimeImmutable::_ ...
https://man.mtool.work/php/8.3/class.datetimeimmutable.html
PREV 1 2 NEXT