Results of 21 - 30 of about 81 for preg (0.004 sec.)
- コメント 6707
- « 条件付きサブパターン 再帰的パターン » PHP Manual PCRE 正規表現構文 コメント コメント コメントは
...
にコメントを追加するには, (?# を使います */ $match = preg_match ( '/te(?# this is a comment)st/' , $subject ...
効の場合、パターンの一部として扱われます */ $match = preg_match ( '/te #~~~~ st/' , $subject ); var_dump ( $ ...
ていない # の後に続く全てが無視されます */ $match = preg_match ( '/te #~~~~ st/x' , $subject ); var_dump ( ...
-
https://man.plustar.jp/php/regexp.reference.comments.html
- [similar]
- 例 6652
- « 定義済み定数 Rar 関数 » PHP Manual Rar 例 例 rar:// ラッパー の例も参照ください。 例1 オンザフ
...
her" ; $uas = $_SERVER [ 'HTTP_USER_AGENT' ]; if ( preg_match ( "@Opera/@" , $uas )) return "Opera" ; if ( ...
preg_match ( "@Firefox/@" , $uas )) return "Firefox" ; ...
if ( preg_match ( "@Chrome/@" , $uas )) return "Chrome" ; if ...
( preg_match ( "@MSIE ([0-9.]+);@" , $uas , $matches )) { ...
-
https://man.plustar.jp/php/rar.examples.html
- [similar]
- 文字列の中から任意の文字を探す 6447
- « strncmp strpos » PHP Manual String 関数 文字列の中から任意の文字を探す strpbrk (PHP 5, PHP 7,
...
つける strstr() - 文字列が最初に現れる位置を見つける preg_match() - 正規表現によるマッチングを行う 関連キーワ ...
trpbrk , characters , 最初 , strpos , パラメータ , preg , 位置 ...
-
https://man.plustar.jp/php/function.strpbrk.html
- [similar]
- 新機能 6365
- « PHP 7.3.x から PHP 7.4.x への移行 新しいクラスとインターフェイス » PHP Manual PHP 7.3.x から P
...
する機能 がサポートされました。 正規表現 (Perl互換) preg_replace_callback() および preg_replace_callback_ar ...
関数は、追加のフラグを受け入れるようになりました。 PREG_OFFSET_CAPTURE と PREG_UNMATCHED_AS_NULL です。これ ...
-
https://man.plustar.jp/php/migration74.new-features.html
- [similar]
- 署名済みの公開鍵とチャレンジを検証する 6338
- « openssl_spki_new openssl_verify » PHP Manual OpenSSL 関数 署名済みの公開鍵とチャレンジを検証す
...
, 'challenge string' ); if ( openssl_spki_verify ( preg_replace ( '/SPKAC=/' , '' , $spkac ))) { echo $spk ...
ンジを検証します。 <?php if ( openssl_spki_verify ( preg_replace ( '/SPKAC=/' , '' , $_POST [ 'spkac' ]))) ...
-
https://man.plustar.jp/php/function.openssl-spki-verify.html
- [similar]
- 署名済みの公開鍵とチャレンジに関連するチャレンジをエクスポートする 6310
- « openssl_sign openssl_spki_export » PHP Manual OpenSSL 関数 署名済みの公開鍵とチャレンジに関連す
...
g' ); $challenge = openssl_spki_export_challenge ( preg_replace ( '/SPKAC=/' , '' , $spkac )); ?> 例2 open ...
<?php $challenge = openssl_spki_export_challenge ( preg_replace ( '/SPKAC=/' , '' , $_POST [ 'spkac' ])); ...
-
https://man.plustar.jp/php/function.openssl-spki-export-challenge.html
- [similar]
- ユーザー定義の比較関数を用いて、キーで配列をソートする 6310
- « uasort usort » PHP Manual 配列 関数 ユーザー定義の比較関数を用いて、キーで配列をソートする uks
...
ksort() の例 <?php function cmp ( $a , $b ) { $a = preg_replace ( '@^(a|an|the) @' , '' , $a ); $b = preg_ ...
-
https://man.plustar.jp/php/function.uksort.html
- [similar]
- ユーザー定義の比較関数を使って、キーでエントリをソートする 6283
- « ArrayObject::uasort ArrayObject::unserialize » PHP Manual ArrayObject ユーザー定義の比較関数を
...
ksort() の例 <?php function cmp ( $a , $b ) { $a = preg_replace ( '@^(a|an|the) @' , '' , $a ); $b = preg_ ...
-
https://man.plustar.jp/php/arrayobject.uksort.html
- [similar]
- ファイル名がパターンにマッチするか調べる 6283
- « flock fopen » PHP Manual ファイルシステム 関数 ファイル名がパターンにマッチするか調べる fnmatc
...
ドカードのほうが 慣れていると思われます。そのため、 preg_match() の代わりに fnmatch() をフロントエンドの検索 ...
)。 参考 glob() - パターンにマッチするパス名を探す preg_match() - 正規表現によるマッチングを行う sscanf() ...
-
https://man.plustar.jp/php/function.fnmatch.html
- [similar]
- 署名済みの公開鍵とチャレンジから、有効なPEMフォーマットの公開鍵をエクスポートす... 6283
- « openssl_spki_export_challenge openssl_spki_new » PHP Manual OpenSSL 関数 署名済みの公開鍵とチャ
...
allenge string' ); $pubKey = openssl_spki_export ( preg_replace ( '/SPKAC=/' , '' , $spkac )); if ( $pubKe ...
取り出します。 <?php $spkac = openssl_spki_export ( preg_replace ( '/SPKAC=/' , '' , $_POST [ 'spkac' ])); ...
-
https://man.plustar.jp/php/function.openssl-spki-export.html
- [similar]