Test: /sapi/cli/tests/017.phpt - Version 5.4.0alpha3    

There are 3 different diffs reported by users for this test.

Count Diff
1 (33%)
008-
018-
029-
037+ PHP Parse error: syntax error, unexpected ')' in php shell code on line 1
037-
1 (33%)
004+ PHP Warning: can't find symbol in Unknown on line 0
004- Interactive shell
006+ Warning: can't find symbol in Unknown on line 0
007+ Interactive mode enabled
008+
008-
012- Interactive shell
014+ PHP Warning: can't find symbol in Unknown on line 0
015+
016+ Warning: can't find symbol in Unknown on line 0
017+ Interactive mode enabled
018-
022- Interactive shell
026+ PHP Warning: can't find symbol in Unknown on line 0
027+
028+ Warning: can't find symbol in Unknown on line 0
029+ Interactive mode enabled
029-
033- Interactive shell
037-
039+ PHP Warning: can't find symbol in Unknown on line 0
041+ Warning: can't find symbol in Unknown on line 0
042+ Interactive mode enabled
043+
041- Interactive shell
049+ PHP Warning: can't find symbol in Unknown on line 0
050+ PHP Parse error: syntax error, unexpected ')' in php shell code on line 1
051+
052+ Warning: can't find symbol in Unknown on line 0
053+ Interactive mode enabled
1 (33%)
004+ Interactive mode enabled
004- Interactive shell
006+ echo 'Hello world';
007+ exit
006- Hello world
012- Interactive shell
013+ Interactive mode enabled
014- multine
015+ echo 'multine
016- quote
017+ quote';
018+ exit
022- Interactive shell
024+ Interactive mode enabled
026+ echo <<<HEREDOC
031+ HEREDOC;
033- Interactive shell
035- Done
037+ Interactive mode enabled
039+ if (0) {
040+ echo "I'm not there";
041+ }
042+ echo "Done";
041- Interactive shell
044- Parse error: syntax error, unexpected ')' in php shell code on line 1
046-
048+ Interactive mode enabled
050+ function a_function_with_some_name() {
051+ echo "I was called!";
052+ }
053+ a_function_w );