« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 238 for Email (0.006 sec.)
Ds\Hashable::hash — Returns a scalar value to be used as a hash value | PHP 8.3 12722
Ds\Hashable::hash (PECL ds >= 1.0.0) Ds\Hashable::hash — Returns a scalar value to be used as a hash value 説明 abstract public function Ds\Hashable::hash (): mixed Returns a scalar value to be used as the hash value of the objects. While t ... objects will be hashed to the same bucket. It's therefore very important that you pick a good hash value, such as an ID or email address. This method allows objects to be used as keys in structures such as Ds\Map and Ds\Set , or any other lookup struc ... sh value. 例 例1 Ds\Hashable::hash() example <?php class HashableObject implements \Ds\Hashable { private $name ; private $email ; public function __construct ( $name , $email ) { $this -> name = $name ; $this -> email = $email ; } /** * Should return ... esn't have to * be unique. This value will not be used to determine equality. */ public function hash () { return $this -> email ; } /** * This determines equality, usually during a hash table lookup to determine * if the bucket's key matches the look ...
https://man.mtool.work/php/8.3/ds-hashable.hash.html
検証 | PHP 8.3 11825
検証 例1 filter_var() でのメールアドレスの検証 <?php $email_a = 'joe@example.com' ; $email_b = 'bogus' ; if ( filter_var ( $email_a , FILTER_VALIDATE_EMAIL )) { echo "' $email_a ' はメールアドレスとして有効です。\n" ; } if ( filter_var ( $email ... mail_b , FILTER_VALIDATE_EMAIL )) { echo "' $email_b ' はメールアドレスとして有効です。\n" ; } else { echo "' $email_b ' はメールアドレスとして無効です。 ... での間) です。 整数値 C '1' は有効な値 (0 から 3 までの間) です。 他のマニュアルの関連ページ Docker API リファレンス Python email Docker docker.io アカウント API Python netdata Linux JM socket(7) Django api ...
https://man.mtool.work/php/8.3/filter.examples.validation.html
除去 | PHP 8.3 9839
除去 例1 メールアドレスの検証、および不正な部分の除去 <?php $a = 'joe@example.org' ; $b = 'bogus - at - example dot org' ; $c = '(bogus@example.org)' ; $sanitized_a = filter_var ( $a , FILTER_SANITIZE_EMAIL ); if ( filter_var ( $sanitized_a ... , FILTER_VALIDATE_EMAIL )) { echo "処理済の (a) はメールアドレスとして有効です。\n" ; } $sanitized_b = filter_var ( $b , FILTER_SANITIZE_EMAIL ); ... if ( filter_var ( $sanitized_b , FILTER_VALIDATE_EMAIL )) { echo "処理済のメールアドレスは有効です。" ; } else { echo "処理済の (b) はメールアドレスとして無効です。\n" ; } $sani ... tized_c = filter_var ( $c , FILTER_SANITIZE_EMAIL ); if ( filter_var ( $sanitized_c , FILTER_VALIDATE_EMAIL )) { echo "処理済の (c) はメールアドレスとして有効です。\n" ; ec ...
https://man.mtool.work/php/8.3/filter.examples.sanitization.html
DOMDocument::getElementById — id に対応する要素を検索する | PHP 8.3 8046
DOMDocument::getElementById (PHP 5, PHP 7, PHP 8) DOMDocument::getElementById — id に対応する要素を検索する 説明 public function DOMDocument::getElementById ( string $elementId ): ? DOMElement この関数は、 DOMDocument::getElementsByTagName ... ST books xmlns CDATA #IMPLIED> <!ATTLIST books xmlns:xhtml CDATA #IMPLIED> <!ATTLIST book id ID #IMPLIED> <!ATTLIST author email CDATA #IMPLIED> ]> <?xml-stylesheet type="text/xsl" href="style.xsl"?> <books xmlns="http://books.php/" xmlns:xhtml="http: ... //www.w3.org/1999/xhtml"> <book id="php-basics"> <title>PHP Basics</title> <author email="jim.smith@basics.php">Jim Smith</author> <author email="jane.smith@basics.php">Jane Smith</author> <xhtml:blurb><![CDATA[ ... ntroduction to PHP.</p> ]]></xhtml:blurb> </book> <book id="php-advanced"> <title>PHP Advanced Programming</title> <author email="jon.doe@advanced.php">Jon Doe</author> </book> </books> <?php $doc = new DomDocument ; // ID を参照する前に、ドキュメント ...
https://man.mtool.work/php/8.3/domdocument.getelementbyid.html
mailparse_stream_encode — ソースファイルポインタからストリームデータを取得し、 ... 7944
mailparse_stream_encode (PECL mailparse >= 0.9.0) mailparse_stream_encode — ソースファイルポインタからストリームデータを取得し、 エンコーディングを適用し、出力ファイルポインタに書き込む 説明 function mailparse_stream_encode ( resource $sour ... のいずれか。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 mailparse_stream_encode() の例 <?php // email.eml の中身は: hello, this is some text=hello. $fp = fopen ( 'email.eml' , 'r' ); $dest = tmpfile (); mailparse_stream_enco ... fpassthru ( $dest ); ?> 上の例の出力は以下となります。 hello, this is some text=3Dhello. 他のマニュアルの関連ページ Python email Python email.charset Python codecs Python unicode Python 2.0 Python tokenize ...
https://man.mtool.work/php/8.3/function.mailparse-stream-encode.html
implode — 配列要素を文字列により連結する | PHP 8.3 7445
implode (PHP 4, PHP 5, PHP 7, PHP 8) implode — 配列要素を文字列により連結する 説明 function implode ( string $separator , array $array ): string 代替のシグネチャ(名前付き引数をサポートしていません): function implode ( array $array ): string ... すこと (つまり、古いシグネチャを使うこと) は、推奨されなくなりました。 例 例1 implode() の例 <?php $array = [ 'lastname' , 'email' , 'phone' ]; var_dump ( implode ( "," , $array )); // string(20) "lastname,email,phone" // 空の配列を使うと空文字列となり ... 正規表現で文字列を分割する http_build_query() - URL エンコードされたクエリ文字列を生成する 他のマニュアルの関連ページ Python email Python email.header Linux JM cat(1) Python netdata Docker format コマンドとログ出力 Python xmlrpc.client ...
https://man.mtool.work/php/8.3/function.implode.html
filter_list — サポートされるフィルタの一覧を返す | PHP 8.3 7048
filter_list (PHP 5 >= 5.2.0, PHP 7, PHP 8) filter_list — サポートされるフィルタの一覧を返す 説明 function filter_list (): array パラメータ この関数にはパラメータはありません。 戻り値 サポートされる全フィルタの名前の配列を返します。 フィルタ ... のようになります。 Array ( [0] => int [1] => boolean [2] => float [3] => validate_regexp [4] => validate_url [5] => validate_email [6] => validate_ip [7] => string [8] => stripped [9] => encoded [10] => special_chars [11] => unsafe_raw [12] => email [13 ... c_quotes [17] => callback ) 他のマニュアルの関連ページ Django filters Django 5.0.12 Django 4.2.19 Docker service ls Python email Docker docker secret ls ...
https://man.mtool.work/php/8.3/function.filter-list.html
VarnishAdmin::setCompat — クラスのオプション compat を設定する | PHP 8.3 7048
VarnishAdmin::setCompat (PECL varnish >= 0.9.2) VarnishAdmin::setCompat — クラスのオプション compat を設定する 説明 public function VarnishAdmin::setCompat ( int $compat ): void パラメータ compat Varnish の compat オプション。 戻り値 他のマ ... ニュアルの関連ページ Linux JM nsswitch.conf(5) Python email.policy Python email.parser ...
https://man.mtool.work/php/8.3/varnishadmin.setcompat.html
strstr — 文字列が最初に現れる位置を見つける | PHP 8.3 6956
strstr (PHP 4, PHP 5, PHP 7, PHP 8) strstr — 文字列が最初に現れる位置を見つける 説明 function strstr ( string $haystack , string $needle , bool $before_needle = false ): string | false haystack の中で needle が最初に現れる場所を含めてそこか ... 数値を渡すことはサポートされなくなりました。 7.3.0 needle に数値を渡すことは非推奨になりました。 例 例1 strstr() の例 <?php $email = 'name@example.com' ; $domain = strstr ( $email , '@' ); echo $domain , PHP_EOL ; // @example.com と表示します $user = st ... rstr ( $email , '@' , true ); echo $user , PHP_EOL ; // name と表示します ?> 参考 stristr() - 大文字小文字を区別しない strstr strrchr() ... preg_match() - 正規表現によるマッチングを行う 他のマニュアルの関連ページ Linux JM strstr(3) Linux JM strcasestr(3) Python email Linux JM string(3) Linux JM wcsncasecmp(3) DuckDB Variant Functions ...
https://man.mtool.work/php/8.3/function.strstr.html
stristr — 大文字小文字を区別しない strstr() | PHP 8.3 6855
stristr (PHP 4, PHP 5, PHP 7, PHP 8) stristr — 大文字小文字を区別しない strstr() 説明 function stristr ( string $haystack , string $needle , bool $before_needle = false ): string | false haystack において needle が最初に見つかった位置を含め ... 値を渡すことはサポートされなくなりました。 7.3.0 needle に数値を渡すことは非推奨になりました。 例 例1 stristr() の例 <?php $email = 'USER@EXAMPLE.com' ; echo stristr ( $email , 'e' ), PHP_EOL ; // outputs ER@EXAMPLE.com echo stristr ( $email , 'e' , tr ... preg_match() - 正規表現によるマッチングを行う 他のマニュアルの関連ページ Linux JM strstr(3) Linux JM wcsncasecmp(3) Python email Linux JM wcscasecmp(3) Linux JM strcasestr(3) Linux JM strpbrk(3) ...
https://man.mtool.work/php/8.3/function.stristr.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT