Test: /sapi/cli/tests/016.phpt - Version 7.4.22    

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

Count Diff
1 (50%)
004+ Interactive mode enabled 004- Interactive shell 014+ Interactive mode enabled 014- Interactive shell 028+ Interactive mode enabled 028- Interactive shell 045+ Interactive mode enabled 045- Interactive shell 057+ Interactive mode enabled 057- Interactive shell
1 (50%)
004+ Interactive mode enabled 004- Interactive shell 006+ echo 'Hello world'; 007+ exit 006- php > echo 'Hello world'; 007- Hello world 008- php > exit 013+ Interactive mode enabled 014+ 015+ echo 'multine 016+ single 017+ quote'; 018+ exit 019+ 020+ 021+ -------------- 022+ Snippet no. 3: 023+ -------------- 024+ Interactive mode enabled 025+ 026+ echo <<<HEREDOC 027+ Here 028+ comes 029+ the 030+ doc 031+ HEREDOC; 032+ 033+ 034+ -------------- 035+ Snippet no. 4: 036+ -------------- 037+ Interactive mode enabled 038+ 039+ if (0) { 040+ echo "I'm not there"; 041+ } 042+ echo "Done"; 043+ 044+ 045+ -------------- 046+ Snippet no. 5: 047+ -------------- 048+ Interactive mode enabled 049+ 050+ function a_function_with_some_name() { 051+ echo "I was called!"; 052+ } 053+ a_function_w ); 054+ 014- Interactive shell 016- php > echo 'multine 056+ Done 017- php ' single 018- php ' quote'; 019- multine 020- single 021- quote 022- php > exit 023- 024- 025- -------------- 026- Snippet no. 3: 027- -------------- 028- Interactive shell 029- 030- php > echo <<<HEREDOC 031- <<< > Here 032- <<< > comes 033- <<< > the 034- <<< > doc 035- <<< > HEREDOC; 036- Here 037- comes 038- the 039- doc 040- php > 041- 042- -------------- 043- Snippet no. 4: 044- -------------- 045- Interactive shell 046- 047- php > if (0) { 048- php { echo "I'm not there"; 049- php { } 050- php > echo "Done"; 051- Done 052- php > 053- 054- -------------- 055- Snippet no. 5: 056- -------------- 057- Interactive shell 058- 059- php > function a_function_with_some_name() { 060- php { echo "I was called!"; 061- php { } 062- php > a_function_with_some_name(); 063- I was called! 064- php > 065- 066- Done