検索

phrase: max: clip:
target: order:
Results of 111 - 120 of about 190 for Str (0.035 sec.)
ファイルポインタから 1 行取り出し、HTML タグを取り除く 4923
« fgets file_exists » PHP Manual ファイルシステム 関数 ファイルポインタから 1 行取り出し、HTML タ ... 説明 fgetss ( resource $handle , int $length = ? , string $allowable_tags = ? ): string fgets() と同じです ... します。 したがって、これは fgets() の戻り値に対して strip_tags() 関数を呼び出すのと同じではありません。 パ ... することができます。 allowable_tags について詳しくは strip_tags() を参照ください。 戻り値 handle で指定した ... す。 例 例1 PHP ファイルの 1 行ごとの読み込み <?php $str = <<<EOD <html><body> <p>Welcome! Today is the <?p ...
https://man.plustar.jp/php/function.fgetss.html - [similar]
繰り返し正規表現検索を行う 4923
« preg_last_error preg_match » PHP Manual PCRE 関数 繰り返し正規表現検索を行う preg_match_all (P ... — 繰り返し正規表現検索を行う 説明 preg_match_all ( string $pattern , string $subject , array &$matches = ... して通知されます。 このフラグが渡されない場合、 空の string として通知されます。 flags を指定しない場合は、 ... することも可能です。 注意 : offset を用いるのと、 substr($subject, $offset) を preg_match_all() の対象文字列 ... rt 4: </a> 例3 名前つきサブパターンの使用法 <?php $str = <<<FOO a: 1 b: 2 c: 3 FOO; preg_match_all ( '/(? ...
https://man.plustar.jp/php/function.preg-match-all.html - [similar]
正規表現によるマッチングを行う 4923
« preg_match_all preg_quote » PHP Manual PCRE 関数 正規表現によるマッチングを行う preg_match (PH ... — 正規表現によるマッチングを行う 説明 preg_match ( string $pattern , string $subject , array &$matches = ... null として通知されます。 渡されなかった場合、空の string として通知されます。 <?php preg_match ( '/(a)(b ... ?> 上の例の出力は以下となります。 array(4) { [0]=> string(2) "ac" [1]=> string(1) "a" [2]=> string(0) "" ... [3]=> string(1) "c" } array(4) { [0]=> string(2) "ac" [1]=> ...
https://man.plustar.jp/php/function.preg-match.html - [similar]
4923
« ストリームのエラー ストリームラッパーとして登録するクラスの例 » PHP Manual ストリーム 例 例 目 ... ( "ssl://secure.example.com" , 443 , $errno , $errstr , 30 ); if (! $sock ) die( " $errstr ( $errno )\n" ... oded\r\n" ); fwrite ( $sock , "Content-length: " . strlen ( $data ) . "\r\n" ); fwrite ( $sock , "Accept: ... fwrite ( $sock , $data ); $headers = "" ; while ( $str = trim ( fgets ( $sock , 4096 ))) $headers .= " $s ...
https://man.plustar.jp/php/stream.examples.html - [similar]
下位互換性のない変更点 4879
« 新しいグローバル定数 PHP 7.1.x で推奨されなくなる機能 » PHP Manual PHP 7.0.x から PHP 7.1.x へ ... _arg() func_num_args() get_defined_vars() mb_parse_str() - 引数が一つだけの場合 parse_str() - 引数が一つだ ... リアスになりました。つまり、 rand() 、 shuffle() 、 str_shuffle() 、 array_rand() の出力がこれまでのバージ ... ない 文字列に空のインデックス演算子を適用する (例: $str[] = $x ) と、fatal エラーが発生します。これまでのバ ... での出力は、このようになります。 array(1) { [10]=> string(3) "foo" } 上の例の PHP 7.1 での出力は、このよう ...
https://man.plustar.jp/php/migration71.incompatible.html - [similar]
新しく追加された関数 4879
« 新しいクラスとインターフェイス 新しいグローバル定数 » PHP Manual PHP 7.3.x から PHP 7.4.x への ... er() GD imagecreatefromtga() マルチバイト文字列 mb_str_split() OpenSSL openssl_x509_verify() プロセス制御 ...
https://man.plustar.jp/php/migration74.new-functions.html - [similar]
Phar アーカイブへの書き込みリクエストのバッファリングを終了し、変更内容をディス... 4879
« Phar::startBuffering Phar::unlinkArchive » PHP Manual Phar Phar アーカイブへの書き込みリクエス ... d(\$class) { include 'phar://brandnewphar.phar/' . str_replace('_', '/', \$class) . '.php'; } Phar::mapPh ... -> getStub ()); ?> 上の例の出力は以下となります。 string(24) "<?php __HALT_COMPILER();" string(195) "<?p ... function __autoload($class) { include 'phar://' . str_replace('_', '/', $class); } Phar::mapPhar('brandn ...
https://man.plustar.jp/php/phar.stopbuffering.html - [similar]
UConverter クラス 4846
« IntlPartsIterator::getBreakIterator UConverter::__construct » PHP Manual intl UConverter クラス ... int IMAP_MAILBOX = 32 ; /* メソッド */ public __construct ( ? string $destination_encoding = null , ? str ... ing $source_encoding = null ) public convert ( string $str , bool $reverse = false ): string | false ... , array $source , int $codePoint , int &$error ): string | int | array | null public static getAliases ( ... string $name ): array | false | null public static get ...
https://man.plustar.jp/php/class.uconverter.html - [similar]
内部(ビルトイン)関数 4846
« 可変関数 無名関数 » PHP Manual 関数 内部(ビルトイン)関数 内部(ビルトイン)関数 PHPは標準で多 ... 有効にしてPHPが コンパイルされている必要があります。 string や variable 関数のように どのバージョンのPHPでも ... どのように動くかを認識することは重要です。 例えば、 str_replace() は変更された文字列を 返すのに対し、 usor ... があり、その振る舞いと合わせるためです。 たとえば、 strlen() 関数は引数 $string に null でない文字列を渡す ... 、 結果は空文字列 "" になっていました。 これに対し、strict モードの場合は TypeError がスローされます。 <?p ...
https://man.plustar.jp/php/functions.internal.html - [similar]
SQL プリペアドコマンドを出力する 4846
« PDOStatement::columnCount PDOStatement::errorCode » PHP Manual PDOStatement SQL プリペアドコマ ... してこの関数の出力をキャプチャーし、(例えば)文字列 ( string )に保存することが可能です。 これは、出力時にステ ... -> bindValue ( ':colour' , $colour , PDO :: PARAM_STR , 12 ); $sth -> execute (); $sth -> debugDumpParam ... ); $sth -> bindValue ( 2 , $colour , PDO :: PARAM_STR ); $sth -> execute (); $sth -> debugDumpParams (); ...
https://man.plustar.jp/php/pdostatement.debugdumpparams.html - [similar]
PREV 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 NEXT