File tree Expand file tree Collapse file tree 6 files changed +29
-29
lines changed Expand file tree Collapse file tree 6 files changed +29
-29
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ string(81) "
45
45
<?php
46
46
class test { public $ var = "test " ; private $ pri ; function foo () { } } ?>
47
47
"
48
- Could not open input file: wrong
49
- NULL
48
+ string(33) " Could not open input file: wrong
49
+ "
50
50
string(43) "<?php class test { function foo () {} } ?>
51
51
"
52
52
Done
Original file line number Diff line number Diff line change @@ -38,6 +38,6 @@ string(%d) "
38
38
39
39
Fatal error: Cannot access private property test::$pri in %s on line %d
40
40
"
41
- Could not open input file: wrong
42
- NULL
41
+ string(33) " Could not open input file: wrong
42
+ "
43
43
Done
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ var_dump(`$php -n -r "echo hello;" -a`);
13
13
echo "Done \n" ;
14
14
?>
15
15
--EXPECTF--
16
- Either execute direct code, process stdin or use a file.
17
- NULL
18
- Either execute direct code, process stdin or use a file.
19
- NULL
16
+ string(57) " Either execute direct code, process stdin or use a file.
17
+ "
18
+ string(57) " Either execute direct code, process stdin or use a file.
19
+ "
20
20
Done
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ echo "Done\n";
49
49
--EXPECTF--
50
50
string(%d) "No syntax errors detected in %s011.test.php
51
51
"
52
- Could not open input file: some.unknown
53
- NULL
54
- string(%d ) "
52
+ string(40) " Could not open input file: some.unknown
53
+ "
54
+ string(186 ) "
55
55
Parse error: %s expecting %s{%s in %s on line %d
56
56
Errors parsing %s011.test.php
57
57
"
Original file line number Diff line number Diff line change @@ -19,20 +19,20 @@ var_dump(`"$php" -n -r '' -r ''`);
19
19
echo "Done \n" ;
20
20
?>
21
21
--EXPECTF--
22
- You can use -R or -F only once.
23
- NULL
24
- You can use -R or -F only once.
25
- NULL
26
- You can use -R or -F only once.
27
- NULL
28
- You can use -R or -F only once.
29
- NULL
30
- You can use -f only once.
31
- NULL
32
- You can use -B only once.
33
- NULL
34
- You can use -E only once.
35
- NULL
36
- You can use -r only once.
37
- NULL
22
+ string(32) " You can use -R or -F only once.
23
+ "
24
+ string(32) " You can use -R or -F only once.
25
+ "
26
+ string(32) " You can use -R or -F only once.
27
+ "
28
+ string(32) " You can use -R or -F only once.
29
+ "
30
+ string(26) " You can use -f only once.
31
+ "
32
+ string(26) " You can use -B only once.
33
+ "
34
+ string(26) " You can use -E only once.
35
+ "
36
+ string(26) " You can use -r only once.
37
+ "
38
38
Done
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ string(1478) "<code><span style="color: #000000">
39
39
<br /><span style="color: #0000BB"><?php<br />$test </span><span style="color: #007700">= </span><span style="color: #DD0000">"var"</span><span style="color: #007700">; </span><span style="color: #FF8000">//var<br />/* test class */<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">test </span><span style="color: #007700">{<br /> private </span><span style="color: #0000BB">$var </span><span style="color: #007700">= array();<br /><br /> public static function </span><span style="color: #0000BB">foo</span><span style="color: #007700">(</span><span style="color: #0000BB">Test $arg</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">"hello"</span><span style="color: #007700">;<br /> </span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);<br /> }<br />}<br /><br /></span><span style="color: #0000BB">$o </span><span style="color: #007700">= new </span><span style="color: #0000BB">test</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?><br /></span>
40
40
</span>
41
41
</code>"
42
- Could not open input file: unknown
43
- NULL
42
+ string(35) " Could not open input file: unknown
43
+ "
44
44
Done
You can’t perform that action at this time.
0 commit comments