Test: /sapi/cli/tests/php_cli_server_005.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_005.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- array(1) {
008- ["userfile"]=>
009- array(5) {
010- ["name"]=>
011- string(12) "laruence.txt"
012- ["type"]=>
013- string(10) "text/plain"
014- ["tmp_name"]=>
015- string(%d) "%s"
016- ["error"]=>
017- int(0)
018- ["size"]=>
019- int(26)
020- }
021- }
1 (14%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/php_cli_server_005.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- array(1) {
008- ["userfile"]=>
009- array(5) {
010- ["name"]=>
011- string(12) "laruence.txt"
012- ["type"]=>
013- string(10) "text/plain"
014- ["tmp_name"]=>
015- string(%d) "%s"
016- ["error"]=>
017- int(0)
018- ["size"]=>
019- int(26)
020- }
021- }
1 (14%)
004- X-Powered-By: PHP/%s
1 (14%)
004- X-Powered-By: PHP/%s
006+ <pre class='xdebug-var-dump' dir='ltr'>
007+ <b>array</b> <i>(size=0)</i>
008+ <i><font color='#888a85'>empty</font></i>
009+ </pre>
007- array(1) {
008- ["userfile"]=>
009- array(5) {
010- ["name"]=>
011- string(12) "laruence.txt"
012- ["type"]=>
013- string(10) "text/plain"
014- ["tmp_name"]=>
015- string(%d) "%s"
016- ["error"]=>
017- int(0)
018- ["size"]=>
019- int(26)
020- }
021- }
1 (14%)
005+ Content-type: text/html; charset=UTF-8
005- Content-type: text/html
007+ <pre class='xdebug-var-dump' dir='ltr'>
008+ <b>array</b> <i>(size=1)</i>
009+ 'userfile' <font color='#888a85'>=&gt;</font>
010+ <b>array</b> <i>(size=5)</i>
011+ 'name' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'laruence.txt'</font> <i>(length=12)</i>
012+ 'type' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'text/plain'</font> <i>(length=10)</i>
013+ 'tmp_name' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'/tmp/php17DNOF'</font> <i>(length=14)</i>
014+ 'error' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
015+ 'size' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>26</font>
016+ </pre>
007- array(1) {
008- ["userfile"]=>
009- array(5) {
010- ["name"]=>
011- string(12) "laruence.txt"
012- ["type"]=>
013- string(10) "text/plain"
014- ["tmp_name"]=>
015- string(%d) "%s"
016- ["error"]=>
017- int(0)
018- ["size"]=>
019- int(26)
020- }
021- }
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'>
008+ <b>array</b> <i>(size=1)</i>
009+ 'userfile' <font color='#888a85'>=&gt;</font>
010+ <b>array</b> <i>(size=5)</i>
011+ 'name' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'laruence.txt'</font> <i>(length=12)</i>
012+ 'type' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'text/plain'</font> <i>(length=10)</i>
013+ 'tmp_name' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'/tmp/phpgewWs8'</font> <i>(length=14)</i>
014+ 'error' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
015+ 'size' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>26</font>
016+ </pre>
007- array(1) {
008- ["userfile"]=>
009- array(5) {
010- ["name"]=>
011- string(12) "laruence.txt"
012- ["type"]=>
013- string(10) "text/plain"
014- ["tmp_name"]=>
015- string(%d) "%s"
016- ["error"]=>
017- int(0)
018- ["size"]=>
019- int(26)
020- }
021- }