Results of 1 - 10 of about 323 for parse (0.006 sec.)
- parse_url — URL を解釈し、その構成要素を返す | PHP 8.3 9048
- parse_url (PHP 4, PHP 5, PHP 7, PHP 8) parse_url — URL を解釈し、その構成要素を返す 説明 function parse_url ( string $url , int $component = -1 ): int | string | array | null | false この関数は、URL の様々な構成要素のうち特定できるものに関し
... 、単に URL を以下で示す 要素に分解するだけのものです。不完全、かつ不正な URL であっても受け入れますし、 そのような場合でも parse_url() は可能な限り 正しく解析しようとします。 警告 この関数は、確立された URI や URL の標準仕様に準拠していません。 相対 U ... l クラスは、それぞれ RFC 3986 と WHATWG URL Standard に厳密に従います。 新しく書くすべてのコードでこれらのクラスを使用し、 parse_url() 関数の既存の使用箇所もこれらのクラスに 移行することを強く推奨します。 ただし、互換性の理由から parse_url() の挙動を ... みを文字列 ( PHP_URL_PORT を指定した場合だけは整数値) で取得するようにします。 戻り値 完全におかしな形式の URL については、 parse_url() は false を返します。 component を省略した場合は、連想配列を返します。 連想配列の中には少なくともひとつの要素が含まれ ...
-
https://man.mtool.work/php/8.3/function.parse-url.html
- ini_parse_quantity — ini ディレクティブの省略形を解釈し、サイズを取得する | PHP... 8965
- ini_parse_quantity (PHP 8 >= 8.2.0) ini_parse_quantity — ini ディレクティブの省略形を解釈し、サイズを取得する 説明 function ini_parse_quantity ( string $shorthand ): int 成功した場合に、 ini ディレクティブの省略形 を解釈したサイズをバイト単
... して返します。 エラー / 例外 値をパースできなかった場合や、 不正な倍率を使った場合には、 E_WARNING が発生します。 例 例1 ini_parse_quantity() の例 <?php var_dump ( ini_parse_quantity ( '1024' )); var_dump ( ini_parse_quantity ( '1024M' )); var_dump ( in ... i_parse_quantity ( '512K' )); var_dump ( ini_parse_quantity ( '0xFFk' )); var_dump ( ini_parse_quantity ( '0b1010k' )); var_dump ( ... ini_parse_quantity ( '0o1024' )); var_dump ( ini_parse_quantity ( '01024' )); var_dump ( ini_parse_quantity ( 'Foobar' )); var_dump ...
-
https://man.mtool.work/php/8.3/function.ini-parse-quantity.html
- NumberFormatter::parse — 数値をパースする | PHP 8.3 8642
- NumberFormatter::parse numfmt_parse (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) NumberFormatter::parse -- numfmt_parse — 数値をパースする 説明 オブジェクト指向型 public function NumberFormatter::parse ( string $string , int $type = N
... umberFormatter::TYPE_DOUBLE , int &$offset = null ): int | float | false 手続き型 function numfmt_parse ( NumberFormatter $formatter , string $string , int $type = NumberFormatter::TYPE_DOUBLE , int &$offset = null ): int | fl ... RENCY はサポートされていないので注意して下さい。 NumberFormatter::TYPE_CURRENCY を使いたい場合、 代わりに NumberFormatter::parseCurrency() を使いましょう。 offset 文字列中でパースを開始する位置のオフセット。 結果を返す際に、この値はパース終了時のオフセ ... ットを保持します。 戻り値 パースした数値、あるいはエラー時に false を返します。 例 例1 numfmt_parse() の例 <?php $fmt = numfmt_create ( 'de_DE' , NumberFormatter :: DECIMAL ); $num = "1.234.567,891" ; echo numfmt_parse ( $ ...
-
https://man.mtool.work/php/8.3/numberformatter.parse.html
- MessageFormatter::parse — パターンを使用して入力文字列をパースする | PHP 8.3 8513
- MessageFormatter::parse msgfmt_parse (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) MessageFormatter::parse -- msgfmt_parse — パターンを使用して入力文字列をパースする 説明 オブジェクト指向型 public function MessageFormatter::parse ( str
... ing $string ): array | false 手続き型 function msgfmt_parse ( MessageFormatter $formatter , string $string ): array | false 入力文字列をパースし、取り出した項目を配列で返します。 パラ ... ing パースする文字列。 戻り値 取り出した項目を含む配列を返します。 エラーが発生した場合は false を返します。 例 例1 msgfmt_parse() の例 <?php $fmt = msgfmt_create ( 'en_US' , "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monk ... eys per tree" ); $res = msgfmt_parse ( $fmt , "4,560 monkeys on 123 trees make 37.073 monkeys per tree" ); var_export ( $res ); $fmt = msgfmt_create ( 'de' , " ...
-
https://man.mtool.work/php/8.3/messageformatter.parse.html
- IntlDateFormatter::isLenient — IntlDateFormatter で使用する寛大さを取得する | P... 8439
- IntlDateFormatter::isLenient datefmt_is_lenient (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::isLenient -- datefmt_is_lenient — IntlDateFormatter で使用する寛大さを取得する 説明 オブジェクト指向型 public function Int
... y' ); echo 'lenient of the formatter is : ' ; if ( $fmt -> isLenient ()) { echo 'TRUE' ; } else { echo 'FALSE' ; } datefmt_parse ( $fmt , '35/13/1971' ); echo "\n Trying to do parse('35/13/1971').\nResult is : " . datefmt_parse ( $fmt , '35/13/1971' ) ... ; echo 'Now lenient of the formatter is : ' ; if ( $fmt -> isLenient ()) { echo 'TRUE' ; } else { echo 'FALSE' ; } datefmt_parse ( $fmt , '35/13/1971' ); echo "\n Trying to do parse('35/13/1971').Result is : " . datefmt_parse ( $fmt , '35/13/1971' ); ... y" ); echo "lenient of the formatter is : " ; if ( $fmt -> isLenient ()) { echo 'TRUE' ; } else { echo 'FALSE' ; } $fmt -> parse ( '35/13/1971' ); echo "\n Trying to do parse('35/13/1971').\nResult is : " . $fmt -> parse ( '35/13/1971' ); if ( intl_ge ...
-
https://man.mtool.work/php/8.3/intldateformatter.islenient.html
- IntlDateFormatter::setLenient — パーサーの寛大さを設定する | PHP 8.3 8190
- IntlDateFormatter::setLenient datefmt_set_lenient (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::setLenient -- datefmt_set_lenient — パーサーの寛大さを設定する 説明 オブジェクト指向型 public function IntlDateFormatter
... y' ); echo 'lenient of the formatter is : ' ; if ( $fmt -> isLenient ()) { echo 'TRUE' ; } else { echo 'FALSE' ; } datefmt_parse ( $fmt , '35/13/1971' ); echo "\n Trying to do parse('35/13/1971').\nResult is : " . datefmt_parse ( $fmt , '35/13/1971' ) ... echo "\nNow lenient of the formatter is : " ; if ( $fmt -> isLenient ()) { echo 'TRUE' ; } else { echo 'FALSE' ; } datefmt_parse ( $fmt , '35/13/1971' ); echo "\nTrying to do parse('35/13/1971').\nResult is : " . datefmt_parse ( $fmt , '35/13/1971' ); ... y' ); echo 'lenient of the formatter is : ' ; if ( $fmt -> isLenient ()) { echo 'TRUE' ; } else { echo 'FALSE' ; } $fmt -> parse ( '35/13/1971' ); echo "\n Trying to do parse('35/13/1971').\nResult is : " . $fmt -> parse ( '35/13/1971' ); if ( intl_ge ...
-
https://man.mtool.work/php/8.3/intldateformatter.setlenient.html
- SolrUtils::digestXmlResponse — Parses an response XML string into a SolrObject ... 7987
- SolrUtils::digestXmlResponse (PECL solr >= 0.9.2) SolrUtils::digestXmlResponse — Parses an response XML string into a SolrObject 説明 public static function SolrUtils::digestXmlResponse ( string $xmlresponse , int $parse_mode = 0 ): SolrObj
... ect This method parses an response XML string from the Apache Solr server into a SolrObject. It throws a SolrException if there was an error. パ ... ラメータ xmlresponse The XML response string from the Solr server. parse_mode Use SolrResponse::PARSE_SOLR_OBJ or SolrResponse::PARSE_SOLR_DOC 戻り値 Returns the SolrObject representing the XML r ... esponse. If the parse_mode parameter is set to SolrResponse::PARSE_SOLR_OBJ Solr documents will be parses as SolrObject instances. If it is set ...
-
https://man.mtool.work/php/8.3/solrutils.digestxmlresponse.html
- request_parse_body — リクエストボディを読み取り、解析して結果を返す | PHP 8.3 7535
- request_parse_body (PHP 8 >= 8.4.0) request_parse_body — リクエストボディを読み取り、解析して結果を返す 説明 function request_parse_body ( ? array $options = null ): array この関数は リクエストボディを読み取り、 Content-Type ヘッダーに基づき
... 、スーパーグローバルの $_POST や $_FILES は自動的に設定されません。 警告 リクエストボディは一度しか処理できません。 request_parse_body() は、リクエストボディを php://input ストリームにバッファせずに処理します。 逆に、リクエストボディが既に読み取られてい ... る場合 (例: php://input を使用した場合)、 request_parse_body() は空のデータを返します。 パラメータ options options パラメータは連想配列を受け取り、 リクエストボディの解析に関連す ... 定を上書きします。 max_file_uploads max_input_vars max_multipart_body_parts post_max_size upload_max_filesize 戻り値 request_parse_body() は、 $_POST に相当するものを インデックス 0 に、 $_FILES に相当するものを 1 に 持つ配列ペアを返します。 エラー / 例 ...
-
https://man.mtool.work/php/8.3/function.request-parse-body.html
- IntlDateFormatter::parse — 文字列をパースしてタイムスタンプにする | PHP 8.3 7535
- IntlDateFormatter::parse datefmt_parse (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) IntlDateFormatter::parse -- datefmt_parse — 文字列をパースしてタイムスタンプにする 説明 オブジェクト指向型 public function IntlDateFormatter::parse (
... string $string , int &$offset = null ): int | float | false 手続き型 function datefmt_parse ( IntlDateFormatter $formatter , string $string , int &$offset = null ): int | float | false string を時間に変換します。 o ... lDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); echo 'First parsed output is ' . $fmt -> parse ( 'Wednesday, December 20, 1989 4:00:00 PM PT' ); $fmt = new IntlDateFormatter ( 'de-DE' , In ... teFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angeles' , IntlDateFormatter :: GREGORIAN ); ?> 例2 datefmt_parse() の例 <?php $fmt = datefmt_create ( 'en_US' , IntlDateFormatter :: FULL , IntlDateFormatter :: FULL , 'America/Los_Angele ...
-
https://man.mtool.work/php/8.3/intldateformatter.parse.html
- date_parse — 指定した日付/時刻の詳細な情報を連想配列で返す | PHP 8.3 6954
- date_parse (PHP 5 >= 5.2.0, PHP 7, PHP 8) date_parse — 指定した日付/時刻の詳細な情報を連想配列で返す 説明 function date_parse ( string $datetime ): array date_parse() は、 strtotime() や DateTimeImmutable::__construct() と同じルールに従って
... になり、 符号が逆になりました。 たとえば、 -120 は 7200 を表すようになります。 例 例1 datetime に包括的な情報を指定した date_parse() の例 <?php var_dump ( date_parse ( "2006-12-12 10:00:00.5" )); 上の例の出力は以下となります。 array(12) { ["year"]=> int ... この場合、 zone_type 要素が常に存在し、 値によっては少し多くの要素が含まれます。 例2 タイムゾーンの省略形を与えた場合の date_parse() の例 <?php var_dump ( date_parse ( "June 2nd, 2022, 10:28:17 BST" )); 上の例の出力は以下となります。 array(16) { ["year" ... ype"]=> int(2) ["zone"]=> int(0) ["is_dst"]=> bool(true) ["tz_abbr"]=> string(3) "BST" } 例3 タイムゾーン情報を与えた date_parse() の例 <?php var_dump ( date_parse ( "June 2nd, 2022, 10:28:17 Europe/London" )); 上の例の出力は以下となります。 array(14) ...
-
https://man.mtool.work/php/8.3/function.date-parse.html