-- Iteration 8 --
array(1) {
[u"h3"]=>
- unicode(88) "hello
- world
+ unicode(88) "hello\r world
1111 != 2222\v\v
heredoc
double quoted string. with\vdifferent\fwhite\vspaces"
}
array(1) {
[u"h3"]=>
- unicode(88) "hello
- world
+ unicode(88) "hello\r world
1111 != 2222\v\v
heredoc
double quoted string. with\vdifferent\fwhite\vspaces"
-- Iterator 6 --
array(1) {
[1]=>
- unicode(5) "aaaa
-"
+ unicode(5) "aaaa\r"
}
array(1) {
[1]=>
- unicode(5) "aaaa
-"
+ unicode(5) "aaaa\r"
}
-- Iterator 7 --
array(1) {
-- Iterator 8 --
array(2) {
[2]=>
- unicode(88) "hello
- world
+ unicode(88) "hello\r world
1111 != 2222\v\v
heredoc
double quoted string. with\vdifferent\fwhite\vspaces"
}
array(2) {
[2]=>
- unicode(88) "hello
- world
+ unicode(88) "hello\r world
1111 != 2222\v\v
heredoc
double quoted string. with\vdifferent\fwhite\vspaces"
[0]=>
%unicode|string%(3) "a\v\f"
[1]=>
- %unicode|string%(5) "aaaa
-"
+ %unicode|string%(5) "aaaa\r"
[2]=>
%unicode|string%(1) "b"
[4]=>
the lazy dog
This is a double quoted string"
[%b|u%"h3"]=>
- %unicode|string%(88) "hello
- world
+ %unicode|string%(88) "hello\r world
1111 != 2222\v\v
heredoc
double quoted string. with\vdifferent\fwhite\vspaces"
unicode(1) "\v"
[u"\f"]=>
unicode(1) "\f"
- [u"
-"]=>
- unicode(1) "
-"
+ [u"\r"]=>
+ unicode(1) "\r"
[u"\a"]=>
unicode(2) "\a"
[u"\cx"]=>
unicode(1) "\v"
[u"\f"]=>
unicode(1) "\f"
- [u"
-"]=>
- unicode(1) "
-"
+ [u"\r"]=>
+ unicode(1) "\r"
[u"\a"]=>
unicode(2) "\a"
[u"\cx"]=>
unicode(1) "\v"
[u"\f"]=>
unicode(1) "\f"
- [u"
-"]=>
- unicode(1) "
-"
+ [u"\r"]=>
+ unicode(1) "\r"
[u"\a"]=>
unicode(2) "\a"
[u"\cx"]=>
unicode(3) "\cx"
[u"\a"]=>
unicode(2) "\a"
- [u"
-"]=>
- unicode(1) "
-"
+ [u"\r"]=>
+ unicode(1) "\r"
[u"\f"]=>
unicode(1) "\f"
[u"\v"]=>
unicode(3) "\cx"
[u"\a"]=>
unicode(2) "\a"
- [u"
-"]=>
- unicode(1) "
-"
+ [u"\r"]=>
+ unicode(1) "\r"
[u"\f"]=>
unicode(1) "\f"
[u"\v"]=>
unicode(3) "\cx"
[u"\a"]=>
unicode(2) "\a"
- [u"
-"]=>
- unicode(1) "
-"
+ [u"\r"]=>
+ unicode(1) "\r"
[u"\f"]=>
unicode(1) "\f"
[u"\v"]=>
Array
(
[0] =>
-
-this is an test
+\rthis is an test
[1] => next data
[2] => p
-
-arsed
+\rarsed
)
int(342)
bool(false)
-- Line 8 --
-string(41) "this is the text containing
- character
+string(41) "this is the text containing \r character
"
int(383)
bool(false)
int(342)
bool(false)
-- Line 8 --
-string(41) "this is the text containing
- character
+string(41) "this is the text containing \r character
"
int(383)
bool(false)
int(342)
bool(false)
-- Line 8 --
-unicode(41) "this is the text containing
- character
+unicode(41) "this is the text containing \r character
"
int(383)
bool(false)
int(342)
bool(false)
-- Line 8 --
-string(41) "this is the text containing
- character
+string(41) "this is the text containing \r character
"
int(383)
bool(false)
int(342)
bool(false)
-- Line 8 --
-string(41) "this is the text containing
- character
+string(41) "this is the text containing \r character
"
int(383)
bool(false)
int(342)
bool(false)
-- Line 8 --
-unicode(41) "this is the text containing
- character
+unicode(41) "this is the text containing \r character
"
int(383)
bool(false)
-- Iteration 14 --
1234
5678
- 9100
-abcda
+ 9100\rabcda
1234
5678
- 9100
-abcda
+ 9100\rabcda
1234
5678
- 9100
-abcda
+ 9100\rabcda
*** Testing print_r() on boolean variables ***
-- Iteration 1 --
-- Iteration 14 --
unicode(22) "1234
5678
- 9100
-abcda"
+ 9100\rabcda"
*** Testing var_dump() on boolean variables ***
-- Iteration 1 --
[13]=>
unicode(22) "1234
5678
- 9100
-abcda"
+ 9100\rabcda"
}
array(15) {
[0]=>
1111 & 0000 = 0000
"This is a double quoted string""
-- Iteration 4 --
-unicode(130) "<html>Roy's height
- > Sam 's height
+unicode(130) "<html>Roy's height\r > Sam 's height
1111 & 0000\v\v = \f0000
" heredoc
double quoted string. with\vdifferent\fwhite\vspaces""
unicode(84) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string ""
-- Iteration 2 --
unicode(82) "Roy's height > Sam's height... 13 < 15...
-
- " double quote\f\v string ""
+\r " double quote\f\v string ""
unicode(82) "Roy's height > Sam's height... 13 < 15...
-
- " double quote\f\v string ""
+\r " double quote\f\v string ""
unicode(92) "Roy's height > Sam's height... 13 < 15...
-
- " double quote\f\v string ""
+\r " double quote\f\v string ""
unicode(72) "Roy's height > Sam's height... 13 < 15...
-
- " double quote\f\v string ""
+\r " double quote\f\v string ""
-- Iteration 3 --
unicode(44) "
Roy's height > ; Sam's\v height\f"
unicode(34) "
Roy's height > ; Sam's\v height\f"
-- Iteration 4 --
-unicode(44) "
- Roy's height >
-; Sam 's height"
-unicode(44) "
- Roy's height >
-; Sam 's height"
-unicode(44) "
- Roy's height >
-; Sam 's height"
-unicode(34) "
- Roy's height >
-; Sam 's height"
+unicode(44) "\r Roy's height >\r; Sam 's height"
+unicode(44) "\r Roy's height >\r; Sam 's height"
+unicode(44) "\r Roy's height >\r; Sam 's height"
+unicode(34) "\r Roy's height >\r; Sam 's height"
-- Iteration 5 --
unicode(30) "
1 3 & gt; 11 but 11 & lt; 12"
"
unicode(7) "<br />
"
-unicode(7) "<br />
-"
+unicode(7) "<br />\r"
unicode(8) "<br />
-
-"
+\r"
unicode(44) "<br />
-
-<br />
-<br />
-<br />
-<br />
-<br />
-"
+\r<br />
+<br />\r<br />\r<br />\r<br />\r"
unicode(47) "<br />
-
-<br />
-<br />
-
-<br />
-
+\r<br />
<br />
+\r<br />
+\r<br />
<br />
"
unicode(66) "<br />
-
-<br />
-<br />
+\r<br />
<br />
<br />
-
<br />
-<br />
-<br />
-<br />
-"
+\r<br />\r<br />\r<br />
+<br />\r"
World<br />
"
-- Iteration 3 --
-unicode(17) "Hello<br />
-World"
+unicode(17) "Hello<br />\rWorld"
-- Iteration 4 --
-unicode(31) "<br />
-Hello<br />
-World<br />
-"
+unicode(31) "<br />\rHello<br />\rWorld<br />\r"
-- Iteration 5 --
unicode(18) "Hello<br />
World"
*** Testing nl2br() : usage variations ***
unicode(147) "<br />
<br />
-
-<br />
-
-<br />
+\r<br />
+\r<br />
<br />
<br />
nn<br />
<br />
<br />
n<br />
-
-rr<br />
-<br />
-<br />
-r<br />
-<br />
-
-<br />
-
+\rrr<br />\r<br />\r<br />\rr<br />
<br />
+\r<br />
+\r<br />
<br />
-r<br />
-n"
+r<br />\rn"
unicode(118) "Hello<br />
World<br />
This is es for <br />
ew lines<br />
like <br />
<br />
- <br />
- <br />
-
- and etc"
+ <br />\r <br />
+\r and etc"
Done
unicode(19) "<html><br /></html>"
unicode(45) "<html><br />
Hello<br />
-world<br />
-</html>"
+world<br />\r</html>"
unicode(37) "<html><br />
<br />
- <br />
-</html>"
+ <br />\r</html>"
Done
unicode(10) "it()
Escap"
[3]=>
- unicode(7) "e
-chars"
+ unicode(7) "e\rchars"
}
-- Iteration 8 --
array(8) {
This is a double quoted string"
-- Iteration 4 --
-unicode(44) "<html>hello
- world
+unicode(44) "<html>hello\r world
1111 != 2222\v\v</html>
"
-- Iteration 5 --
-- Iteration 1 --
unicode(50) "<html> $ -> This represents the dollar sign</html>"
-- Iteration 2 --
-unicode(59) "<html>
-\v The quick brown fo\fx jumped over the lazy dog</p>"
+unicode(59) "<html> \r\v The quick brown fo\fx jumped over the lazy dog</p>"
-- Iteration 3 --
unicode(31) "<a>This is a hyper text tag</a>"
-- Iteration 4 --
-- Iteration 5 --
unicode(26) "<p>This is a paragraph</p>"
-- Iteration 6 --
-unicode(62) "<b>This is a text in bold letters
-\s\malong with slashes
+unicode(62) "<b>This is a text in bold letters\r\s\malong with slashes
</b>"
Done
?>
--EXPECT--
*** Testing strrchr() function: with heredoc strings ***
-unicode(33) " st
-
-ch
- using
+unicode(33) " st\r\rch\r using
\escape \seque
ce"
unicode(9) "\seque
ce"
-unicode(25) "
- using
+unicode(25) "\r using
\escape \seque
ce"
unicode(9) "\seque
ce"
unicode(3) "
ce"
-unicode(33) " st
-
-ch
- using
+unicode(33) " st\r\rch\r using
\escape \seque
ce"
*** Done ***
*** Testing strtr() : string containing escape sequences for 'str' arg ***
-- Iteration 1 --
unicode(9) "SesSTsttE"
-unicode(9) " es \stt
-"
+unicode(9) " es \stt\r"
-- Iteration 2 --
unicode(12) "TtestTTstrtr"
unicode(12) "\test\\strtr"
-- Iteration 15 --
unicode(16) "Testing\rucwords"
-- Iteration 16 --
-unicode(15) "Testing
-Ucwords"
+unicode(15) "Testing\rUcwords"
-- Iteration 17 --
unicode(16) "Testing\fucwords"
-- Iteration 18 --
Multiline String Using
Heredoc"
-- Iteration 4 --
-unicode(93) "Testing
-Ucword(str) With
+unicode(93) "Testing\rUcword(str) With
Multiline String Using
Heredoc
String.with\vDifferent\fWhite\vSpaces"
-- Iteration 5 --
unicode(53) "12sting 123string 4567
-String 123string
-12 Test
+String 123string\r12 Test
5test"
-- Iteration 6 --
unicode(108) "It's Bright,but I Cann't See It.
-- Iteration 13 --
unicode(26) "\ttesting\ttesting Ucwords"
-- Iteration 14 --
-unicode(31) "Testing
-Ucwords Testing Ucwords"
+unicode(31) "Testing\rUcwords Testing Ucwords"
-- Iteration 15 --
unicode(32) "Testing\rucwords Testing Ucwords"
-- Iteration 16 --