Test: /sapi/cli/tests/php_cli_server_004.phpt - Version 5.4.0RC2-dev    

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

Count Diff
1 (14%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/php_cli_server_004.php on line 8
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: closed
004- X-Powered-By: PHP/%s
005- Content-type: text/html
006-
007- string(19) "HTTP_HOST:localhost"
008- string(21) "HTTP_USER_AGENT:dummy"
009- string(15) "HTTP_CUSTOM:foo"
010- string(32) "HTTP_REFERER:http://www.php.net/"
1 (14%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/php_cli_server_004.php on line 8
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: closed
004- X-Powered-By: PHP/%s-dev
005- Content-type: text/html
006-
007- string(19) "HTTP_HOST:localhost"
008- string(21) "HTTP_USER_AGENT:dummy"
009- string(15) "HTTP_CUSTOM:foo"
010- string(32) "HTTP_REFERER:http://www.php.net/"
1 (14%)
004- X-Powered-By: PHP/%s
1 (14%)
004- X-Powered-By: PHP/%s
006+ <pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_HOST:localhost'</font> <i>(length=19)</i>
007+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_USER_AGENT:dummy'</font> <i>(length=21)</i>
008+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_CUSTOM:foo'</font> <i>(length=15)</i>
009+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_REFERER:http://www.php.net/'</font> <i>(length=32)</i>
007- string(19) "HTTP_HOST:localhost"
008- string(21) "HTTP_USER_AGENT:dummy"
009- string(15) "HTTP_CUSTOM:foo"
010- string(32) "HTTP_REFERER:http://www.php.net/"
010+ </pre>
1 (14%)
005+ Content-type: text/html; charset=UTF-8
005- Content-type: text/html
007+ <pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_HOST:localhost'</font> <i>(length=19)</i>
008+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_USER_AGENT:dummy'</font> <i>(length=21)</i>
009+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_CUSTOM:foo'</font> <i>(length=15)</i>
010+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_REFERER:http://www.php.net/'</font> <i>(length=32)</i>
007- string(19) "HTTP_HOST:localhost"
008- string(21) "HTTP_USER_AGENT:dummy"
009- string(15) "HTTP_CUSTOM:foo"
010- string(32) "HTTP_REFERER:http://www.php.net/"
011+ </pre>
1 (14%)
005+ Content-type: text/html; charset=utf-8
005- Content-type: text/html
1 (14%)
007+ <pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_HOST:localhost'</font> <i>(length=19)</i>
008+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_USER_AGENT:dummy'</font> <i>(length=21)</i>
009+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_CUSTOM:foo'</font> <i>(length=15)</i>
010+ </pre><pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'HTTP_REFERER:http://www.php.net/'</font> <i>(length=32)</i>
007- string(19) "HTTP_HOST:localhost"
008- string(21) "HTTP_USER_AGENT:dummy"
009- string(15) "HTTP_CUSTOM:foo"
010- string(32) "HTTP_REFERER:http://www.php.net/"
011+ </pre>