Test: /sapi/cli/tests/bug43177.phpt - Version 5.5.3        

Feature/Change Request #43177 Errors in eval()'ed code produce status code 500
Submitted: 2007-11-02 11:41:44 Modified: 2011-04-08 21:15:52
From: taneli Assigned:
Status: Closed Package: *General Issues
PHP Version: 5.2.4 OS: Linux

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

Count Diff
4 (29%)
001+ ** ERROR: process timed out **
001- HTTP/1.1 200 OK
002- Host: localhost
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html
006-
007- OK
008- HTTP/1.0 500 Internal Server Error
009- Host: localhost
010- Connection: close
011- X-Powered-By: %s
012- Content-type: text/html
013-
014- HTTP/1.0 500 Internal Server Error
015- Host: localhost
016- Connection: close
017- X-Powered-By: %s
018- Content-type: text/html
019-
020- HTTP/1.0 500 Internal Server Error
021- Host: localhost
022- Connection: close
023- X-Powered-By: %s
024- Content-type: text/html
3 (21%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (No route to host) in %s/bug43177.php on line 32
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: localhost
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html
006-
007- OK
008- HTTP/1.0 500 Internal Server Error
009- Host: localhost
010- Connection: close
011- X-Powered-By: %s
012- Content-type: text/html
013-
014- HTTP/1.0 500 Internal Server Error
015- Host: localhost
016- Connection: close
017- X-Powered-By: %s
018- Content-type: text/html
019-
020- HTTP/1.0 500 Internal Server Error
021- Host: localhost
022- Connection: close
023- X-Powered-By: %s
024- Content-type: text/html
3 (21%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>Unknown</b> on line <b>0</b><br />
003+
004+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug43177.php on line 32
001- HTTP/1.1 200 OK
002- Host: localhost
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html
006+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/bug43177.php on line 32
007+ connect failed
007- OK
008- HTTP/1.0 500 Internal Server Error
009- Host: localhost
010- Connection: close
011- X-Powered-By: %s
012- Content-type: text/html
013-
014- HTTP/1.0 500 Internal Server Error
015- Host: localhost
016- Connection: close
017- X-Powered-By: %s
018- Content-type: text/html
019-
020- HTTP/1.0 500 Internal Server Error
021- Host: localhost
022- Connection: close
023- X-Powered-By: %s
024- Content-type: text/html
2 (14%)
001+ /etc/host.conf: line 1: bad command `ServerName 162.20.1.55'
1 (7%)
001+ HTTP/1.1 404 Not Found
001- HTTP/1.1 200 OK
004+ Content-Type: text/html; charset=UTF-8
005+ Content-Length: 1150
004- X-Powered-By: %s
005- Content-type: text/html
007+ <html><head><title>404 Not Found</title><style type="text/css">
008+ body {background-color: #ffffff; color: #000000;}
009+ body, td, th, h1, h2 {font-family: sans-serif;}
010+ pre {margin: 0px; font-family: monospace;}
011+ a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
012+ a:hover {text-decoration: underline;}
013+ table {border-collapse: collapse;}
014+ .center {text-align: center;}
015+ .center table { margin-left: auto; margin-right: auto; text-align: left;}
016+ .center th { text-align: center !important; }
017+ td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
018+ h1 {font-size: 150%;}
019+ h2 {font-size: 125%;}
020+ .p {text-align: left;}
021+ .e {background-color: #ccccff; font-weight: bold; color: #000000;}
022+ .h {background-color: #9999cc; font-weight: bold; color: #000000;}
023+ .v {background-color: #cccccc; color: #000000;}
024+ .vr {background-color: #cccccc; text-align: right; color: #000000;}
025+ img {float: right; border: 0px;}
026+ hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
027+ </style>
028+ </head><body><h1 class="h">Not Found</h1><p>The requested resource /parse was not found on this server.</p></body></html>HTTP/1.1 404 Not Found
007- OK
008- HTTP/1.0 500 Internal Server Error
009- Host: localhost
010- Connection: close
011- X-Powered-By: %s
012- Content-type: text/html
013-
014- HTTP/1.0 500 Internal Server Error
015- Host: localhost
016- Connection: close
017- X-Powered-By: %s
018- Content-type: text/html
019-
020- HTTP/1.0 500 Internal Server Error
023- X-Powered-By: %s
024- Content-type: text/html
031+ Content-Type: text/html; charset=UTF-8
032+ Content-Length: 1150
033+
034+ <html><head><title>404 Not Found</title><style type="text/css">
035+ body {background-color: #ffffff; color: #000000;}
036+ body, td, th, h1, h2 {font-family: sans-serif;}
037+ pre {margin: 0px; font-family: monospace;}
038+ a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
039+ a:hover {text-decoration: underline;}
040+ table {border-collapse: collapse;}
041+ .center {text-align: center;}
042+ .center table { margin-left: auto; margin-right: auto; text-align: left;}
043+ .center th { text-align: center !important; }
044+ td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
045+ h1 {font-size: 150%;}
046+ h2 {font-size: 125%;}
047+ .p {text-align: left;}
048+ .e {background-color: #ccccff; font-weight: bold; color: #000000;}
049+ .h {background-color: #9999cc; font-weight: bold; color: #000000;}
050+ .v {background-color: #cccccc; color: #000000;}
051+ .vr {background-color: #cccccc; text-align: right; color: #000000;}
052+ img {float: right; border: 0px;}
053+ hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
054+ </style>
055+ </head><body><h1 class="h">Not Found</h1><p>The requested resource /fatal was not found on this server.</p></body></html>HTTP/1.1 404 Not Found
056+ Host: localhost
057+ Connection: close
058+ Content-Type: text/html; charset=UTF-8
059+ Content-Length: 1151
060+
061+ <html><head><title>404 Not Found</title><style type="text/css">
062+ body {background-color: #ffffff; color: #000000;}
063+ body, td, th, h1, h2 {font-family: sans-serif;}
064+ pre {margin: 0px; font-family: monospace;}
065+ a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
066+ a:hover {text-decoration: underline;}
067+ table {border-collapse: collapse;}
068+ .center {text-align: center;}
069+ .center table { margin-left: auto; margin-right: auto; text-align: left;}
070+ .center th { text-align: center !important; }
071+ td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
072+ h1 {font-size: 150%;}
073+ h2 {font-size: 125%;}
074+ .p {text-align: left;}
075+ .e {background-color: #ccccff; font-weight: bold; color: #000000;}
076+ .h {background-color: #9999cc; font-weight: bold; color: #000000;}
077+ .v {background-color: #cccccc; color: #000000;}
078+ .vr {background-color: #cccccc; text-align: right; color: #000000;}
079+ img {float: right; border: 0px;}
080+ hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
081+ </style>
082+ </head><body><h1 class="h">Not Found</h1><p>The requested resource /fatal2 was not found on this server.</p></body></html>HTTP/1.1 404 Not Found
083+ Host: localhost
084+ Connection: close
085+ Content-Type: text/html; charset=UTF-8
086+ Content-Length: 1152
087+
088+ <html><head><title>404 Not Found</title><style type="text/css">
089+ body {background-color: #ffffff; color: #000000;}
090+ body, td, th, h1, h2 {font-family: sans-serif;}
091+ pre {margin: 0px; font-family: monospace;}
092+ a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
093+ a:hover {text-decoration: underline;}
094+ table {border-collapse: collapse;}
095+ .center {text-align: center;}
096+ .center table { margin-left: auto; margin-right: auto; text-align: left;}
097+ .center th { text-align: center !important; }
098+ td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
099+ h1 {font-size: 150%;}
100+ h2 {font-size: 125%;}
101+ .p {text-align: left;}
102+ .e {background-color: #ccccff; font-weight: bold; color: #000000;}
103+ .h {background-color: #9999cc; font-weight: bold; color: #000000;}
104+ .v {background-color: #cccccc; color: #000000;}
105+ .vr {background-color: #cccccc; text-align: right; color: #000000;}
106+ img {float: right; border: 0px;}
107+ hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
108+ </style>
109+ </head><body><h1 class="h">Not Found</h1><p>The requested resource /compile was not found on this server.</p></body></html>
1 (7%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>Unknown</b> on line <b>0</b><br />
001- HTTP/1.1 200 OK
002- Host: localhost
003- Connection: close
004- X-Powered-By: %s
005- Content-type: text/html
004+ ** ERROR: process timed out **
007- OK
008- HTTP/1.0 500 Internal Server Error
009- Host: localhost
010- Connection: close
011- X-Powered-By: %s
012- Content-type: text/html
013-
014- HTTP/1.0 500 Internal Server Error
015- Host: localhost
016- Connection: close
017- X-Powered-By: %s
018- Content-type: text/html
019-
020- HTTP/1.0 500 Internal Server Error
021- Host: localhost
022- Connection: close
023- X-Powered-By: %s
024- Content-type: text/html