mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
\0x00 -> \x00
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162907 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0e4e45fb2c
commit
458180e83f
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.ltrim">
|
||||
<refnamediv>
|
||||
|
@ -83,7 +83,7 @@ $trimmed = ltrim($text);
|
|||
// $trimmed = "These are a few words :) ... "
|
||||
$trimmed = ltrim($text, " \t.");
|
||||
// $trimmed = "These are a few words :) ... "
|
||||
$clean = ltrim($binary, "\0x00..\0x1F");
|
||||
$clean = ltrim($binary, "\x00..\x1F");
|
||||
// trim the ASCII control characters at the beginning of $binary
|
||||
// (from 0 to 31 inclusive)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.31 -->
|
||||
<refentry id="function.rtrim">
|
||||
<refnamediv>
|
||||
|
@ -83,7 +83,7 @@ $trimmed = rtrim($text);
|
|||
// $trimmed = "\t\tThese are a few words :) ..."
|
||||
$trimmed = rtrim($text, " \t.");
|
||||
// $trimmed = "\t\tThese are a few words :)"
|
||||
$clean = rtrim($binary, "\0x00..\0x1F");
|
||||
$clean = rtrim($binary, "\x00..\x1F");
|
||||
// trim the ASCII control characters at the end of $binary
|
||||
// (from 0 to 31 inclusive)
|
||||
|
||||
|
|
Loading…
Reference in a new issue