« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for nLine (0.002 sec.)
str_replace — 検索文字列に一致したすべての文字列を置換する | PHP 8.3 11228
str_replace (PHP 4, PHP 5, PHP 7, PHP 8) str_replace — 検索文字列に一致したすべての文字列を置換する 説明 function str_replace ( array | string $search , array | string $replace , string | array $subject , int &$count = null ): string | arra ... nt ); echo $count , PHP_EOL ; ?> 例2 str_replace() に関するちょっとした事実 <?php // 置換の順番を指定します $str = "Line 1\nLine 2\rLine 3\r\nLine 4\n" ; $order = array( "\r\n" , "\n" , "\r" ); $replace = '<br />' ; // まず最初に \r\n を置換するので、 ...
https://man.mtool.work/php/8.3/function.str-replace.html
mail — メールを送信する | PHP 8.3 7485
mail (PHP 4, PHP 5, PHP 7, PHP 8) mail — メールを送信する 説明 function mail ( string $to , string $subject , string $message , array | string $additional_headers = [] , string $additional_params = "" ): bool メールを送信します。 パラメータ ... 入れるようになりました。 例 例1 メールを送信する mail() を用いて単純なメールを送信する。 <?php // 本文 $message = "Line 1\r\nLine 2\r\nLine 3" ; // 1 行が 70 文字を超える場合のため、wordwrap() を用いる $message = wordwrap ( $message , 70 , "\r\n" ); // ...
https://man.mtool.work/php/8.3/function.mail.html
PREV 1 NEXT