Results of 1 - 10 of about 93 for character (0.002 sec.)
- Parle pattern matching | PHP 8.3 12544
- Parle pattern matching Parle supports regex matching similar to flex. Also supported are the following POSIX character sets: [:alnum:] , [:alpha:] , [:blank:] , [:cntrl:] , [:digit:] , [:graph:] , [:lower:] , [:print:] , [:punct:] , [:space
... :] , [:upper:] , [:xdigit:] . The Unicode character classes are currently not enabled by default, pass --enable-parle-utf32 to make them available. A particular encoding can ... used. The pattern for an UTF-8 encoded string could be [ -\x7f]{+}[\x80-\xbf]{+}[\xc2-\xdf]{+}[\xe0-\xef]{+}[\xf0-\xff]+ . Character representations Character representations Sequence Description \a Alert (bell). \b Backspace. \e ESC character, \x1b. \n N ... ewline. \r Carriage return. \f Form feed, \x0c. \t Horizontal tab, \x09. \v Vertical tab, \x0b. \oct Character specified by a three-digit octal code. \xhex Character specified by a hex code. \cchar Named control character. Character ...
-
https://man.mtool.work/php/8.3/parle.pattern.matching.html
- 基本的な SimpleXML の使用法 | PHP 8.3 11869
- 基本的な SimpleXML の使用法 このリファレンスの多くの例では XML 文字列が必要です。それぞれの例で この文字列をくり返す代わりに、あるファイルにこの文字列を保存して、 例ごとに読みこむことにします。この読みこまれるファイルは、以下の例 に関するセ
... .php <?php $xmlstr = <<<XML <?xml version='1.0' standalone='yes'?> <movies> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> <name>Mr. Coder</name> <actor> ... El ActÓr</actor> </character> </characters> <plot> So, this language. It's like, a programming language. Or is it a scripting language? All is revealed ... 用することができます。 <?php include 'examples/simplexml-data.php' ; $movies = new SimpleXMLElement ( $xmlstr ); /* 個々の <character> ノードに対して、<name> を分割して表示します */ foreach ( $movies -> movie -> characters -> character as $character ) { ec ...
-
https://man.mtool.work/php/8.3/simplexml.examples-basic.html
- mb_substitute_character — 置換文字を設定あるいは取得する | PHP 8.3 11247
- mb_substitute_character (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) mb_substitute_character — 置換文字を設定あるいは取得する 説明 function mb_substitute_character ( string | int | null $substitute_character = null ): string | int | bool 入力文字エ
... mb_convert_variables() 、 mb_output_handler() 、 mb_scrub() 、 および mb_send_mail() に影響します。 パラメータ substitute_character Unicode 値の整数または文字列を以下のように指定します。 "none" : 出力しない "long" : 文字コードの値を出力する (例: U+3000 、 ... JIS+7E7E ) "entity" : 文字エンティティを出力する (例: Ȁ ) 戻り値 substitute_character が設定された場合、成功時に true 、そうでない場合に false を返します。 substitute_character が設定されない場合は、現在の設定 ... を返します。 変更履歴 バージョン 説明 8.0.0 substitute_character に空文字列を渡すことはサポートされなくなりました。 代わりに "none" を渡すべきです。 8.0.0 encoding は、nullable になりまし ...
-
https://man.mtool.work/php/8.3/function.mb-substitute-character.html
- mysqli::character_set_name — データベース接続の現在の文字コードセットを返す | P... 11102
- mysqli::character_set_name mysqli_character_set_name (PHP 5, PHP 7, PHP 8) mysqli::character_set_name -- mysqli_character_set_name — データベース接続の現在の文字コードセットを返す 説明 オブジェクト指向型 public function mysqli::character_se
... t_name (): string 手続き型 function mysqli_character_set_name ( mysqli $mysql ): string データベース接続の現在の文字コードセットを返します。 パラメータ link 手続き型のみ: mysq ... るいは mysqli_init() が返す mysqli オブジェクト。 戻り値 データベース接続の現在の文字コードセットを返します。 例 例1 mysqli::character_set_name() の例 オブジェクト指向型 <?php mysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysql ... セットを設定します。*/ $mysqli -> set_charset ( 'utf8mb4' ); /* 現在の文字コードセットを出力します */ $charset = $mysqli -> character_set_name (); printf ( "Current character set is %s\n" , $charset ); 手続き型 <?php mysqli_report ( MYSQLI_REPORT_ERROR | M ...
-
https://man.mtool.work/php/8.3/mysqli.character-set-name.html
- mysqli::set_charset — クライアントの文字セットを設定する | PHP 8.3 9950
- mysqli::set_charset mysqli_set_charset (PHP 5 >= 5.0.5, PHP 7, PHP 8) mysqli::set_charset -- mysqli_set_charset — クライアントの文字セットを設定する 説明 オブジェクト指向型 public function mysqli::set_charset ( string $charset ): bool 手続き
... ROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "localhost" , "my_user" , "my_password" , "test" ); printf ( "Initial character set: %s\n" , $mysqli -> character_set_name ()); /* 文字セットを utf8mb4 に変更します */ $mysqli -> set_charset ( "utf8mb4" ... ); printf ( "Current character set: %s\n" , $mysqli -> character_set_name ()); 手続き型 <?php mysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ... ); $link = mysqli_connect ( 'localhost' , 'my_user' , 'my_password' , 'test' ); printf ( "Initial character set: %s\n" , mysqli_character_set_name ( $link )); /* 文字セットを utf8mb4 に変更します */ mysqli_set_charset ( $link , "u ...
-
https://man.mtool.work/php/8.3/mysqli.set-charset.html
- SimpleXMLElement::addAttribute — SimpleXML 要素に属性を追加する | PHP 8.3 9897
- SimpleXMLElement::addAttribute (PHP 5 >= 5.1.3, PHP 7, PHP 8) SimpleXMLElement::addAttribute — SimpleXML 要素に属性を追加する 説明 public function SimpleXMLElement::addAttribute ( string $qualifiedName , string $value , ? string $namespace
... title' , 'PHP2: More Parser Stories' ); $movie -> addChild ( 'plot' , 'This is all about the people who make it work.' ); $characters = $movie -> addChild ( 'characters' ); $character = $characters -> addChild ( 'character' ); $character -> addChild ( 'na ... me' , 'Mr. Parser' ); $character -> addChild ( 'actor' , 'John Doe' ); $rating = $movie -> addChild ( 'rating' , '5' ); $rating -> addAttribute ( 'type' , ... なります。 <?xml version="1.0" standalone="yes"?> <movies type="documentary"> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> <name>Mr. Coder</name> <actor> ...
-
https://man.mtool.work/php/8.3/simplexmlelement.addattribute.html
- SimpleXMLElement::addChild — XML ノードに子要素を追加する | PHP 8.3 9659
- SimpleXMLElement::addChild (PHP 5 >= 5.1.3, PHP 7, PHP 8) SimpleXMLElement::addChild — XML ノードに子要素を追加する 説明 public function SimpleXMLElement::addChild ( string $qualifiedName , ? string $value = null , ? string $namespace = nul
... title' , 'PHP2: More Parser Stories' ); $movie -> addChild ( 'plot' , 'This is all about the people who make it work.' ); $characters = $movie -> addChild ( 'characters' ); $character = $characters -> addChild ( 'character' ); $character -> addChild ( 'na ... me' , 'Mr. Parser' ); $character -> addChild ( 'actor' , 'John Doe' ); $rating = $movie -> addChild ( 'rating' , '5' ); $rating -> addAttribute ( 'type' , ... なります。 <?xml version="1.0" standalone="yes"?> <movies type="documentary"> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> <name>Mr. Coder</name> <actor> ...
-
https://man.mtool.work/php/8.3/simplexmlelement.addchild.html
- 文字セット | PHP 8.3 8309
- 文字セット 適切な文字セットをサーバーレベルで設定しておくのが理想であり、MySQL のマニュアルの » Character Set Configuration にもそうするよう書かれています。 しかしそれ以外にも、各 MySQL API には実行時に文字セットを指定する方法が用意されてい
... li -> query ( "SET NAMES utf8mb4" ); // これも $mysqli->real_escape_string(); に影響を及ぼしません $mysqli -> query ( "SET CHARACTER SET utf8mb4" ); // しかしこの方法なら $mysqli->real_escape_string(); にもきちんと影響します $mysqli -> set_charset ( 'utf8 ... 2 文字セットの設定: mysqli <?php $mysqli = new mysqli ( "localhost" , "my_user" , "my_password" , "world" ); echo 'Initial character set: ' . $mysqli -> character_set_name () . "\n" ; if (! $mysqli -> set_charset ( 'utf8mb4' )) { printf ( "Error loading c ... haracter set utf8mb4: %s\n" , $mysqli -> error ); exit; } echo 'Your current character set is: ' . $mysqli -> character_set_name () . "\n" ; ?> 例3 文字セットの設定: pdo_mysql <?php $pdo = new PDO ( "mysql:hos ...
-
https://man.mtool.work/php/8.3/mysqlinfo.concepts.charset.html
- cubrid_real_escape_string — Escape special characters in a string for use in an... 7595
- cubrid_real_escape_string (PECL CUBRID >= 8.3.0) cubrid_real_escape_string — Escape special characters in a string for use in an SQL statement 説明 function cubrid_real_escape_string ( string $unescaped_string , resource $conn_identifier =
... ? ): string This function returns the escaped string version of the given string. It will escape the following characters: ' . In general, single quotations are used to enclose character string. Double quotations may be used as well depending ... on the value of ansi_quotes, which is a parameter related to SQL statement. If the ansi_quotes value is set to no, character string enclosed by double quotations is handled as character string, not as an identifier. The default value is yes. If yo ... u want to include a single quote as part of a character string, enter two single quotes in a row. パラメータ unescaped_string The string that is to be escaped. conn_identifier Th ...
-
https://man.mtool.work/php/8.3/function.cubrid-real-escape-string.html
- 実行時設定 | PHP 8.3 7595
- 実行時設定 php.ini の設定により動作が変化します。 mbstring 設定オプション 名前 デフォルト 変更可能 変更履歴 mbstring.language "neutral" INI_ALL mbstring.detect_order NULL INI_ALL mbstring.http_input "pass" INI_ALL 非推奨になりました。 mbstr
... utput "pass" INI_ALL 非推奨になりました。 mbstring.internal_encoding NULL INI_ALL 非推奨になりました。 mbstring.substitute_character NULL INI_ALL mbstring.func_overload "0" INI_SYSTEM PHP 7.2.0 で非推奨になり、PHP 8.0.0 で削除されました。 mbstring.encodin ... ring.detect_order string 文字コード検出のデフォルト値を定義します。 mb_detect_order() も参照ください。 mbstring.substitute_character string 無効な文字を代替する文字を定義します。 サポートされる値は、 mb_substitute_character() を参照ください。 mbstring.fun ... に設定 mbstring.detect_order = ASCII,JIS,UTF-8,SJIS,EUC-JP ; 順番を指定 ;; 代替文字のデフォルト値を設定 mbstring.substitute_character = 12307 ; Unicode 値を指定 mbstring.substitute_character = none ; 文字を出力しない mbstring.substitute_character = long ; ...
-
https://man.mtool.work/php/8.3/mbstring.configuration.html