@@ -28,10 +28,10 @@ Assert::match('0.1', Dumper::toPhp(0.1));
28
28
Assert::match ("'' " , Dumper::toPhp ('' ));
29
29
Assert::match ("' ' " , Dumper::toPhp (' ' ));
30
30
Assert::match ("'0' " , Dumper::toPhp ('0 ' ));
31
- Assert::match ('" \\ x00" ' , Dumper::toPhp ("\x00" ));
31
+ Assert::match ('"\x00" ' , Dumper::toPhp ("\x00" ));
32
32
Assert::match ('"\u{FEFF}" ' , Dumper::toPhp ("\xEF\xBB\xBF" )); // BOM
33
33
Assert::match ("' ' " , Dumper::toPhp ("\t" ));
34
- Assert::match ('" \\ xFF" ' , Dumper::toPhp ("\xFF" ));
34
+ Assert::match ('"\xFF" ' , Dumper::toPhp ("\xFF" ));
35
35
Assert::match ('"multi\nline" ' , Dumper::toPhp ("multi \nline " ));
36
36
Assert::match ("'Iñtërnâtiônàlizætiøn' " , Dumper::toPhp ("I \xc3\xb1t \xc3\xabrn \xc3\xa2ti \xc3\xb4n \xc3\xa0liz \xc3\xa6ti \xc3\xb8n " ));
37
37
Assert::match (
@@ -48,8 +48,8 @@ Assert::match(
48
48
);
49
49
50
50
Assert::match ('\'$" \\\\\'' , Dumper::toPhp ('$" \\' ));
51
- Assert::match ('\'$" \\ \x00 \'' , Dumper::toPhp ('$" \ \ \x00 ' ));
52
- Assert::match ('" \\ $ \\ " \ \\\ \x00" ' , Dumper::toPhp ("$ \"\\ \x00" ));
51
+ Assert::match ('\'$"\ \x00 \'' , Dumper::toPhp ('$"\ \x00 ' ));
52
+ Assert::match ('"\$\" \\\ \x00" ' , Dumper::toPhp ("$ \"\\ \x00" ));
53
53
54
54
Assert::match ('/* resource stream */ ' , Dumper::toPhp (fopen (__FILE__ , 'r ' )));
55
55
Assert::match ('(object) /* #%a% */ [] ' , Dumper::toPhp ((object ) null ));
0 commit comments