Warning: Erroneous data format for unserializing 'Generator' in %sserialize_unserialize_error.php on line %d
-Notice: unserialize(): Error at offset 19 of 20 bytes in %sserialize_unserialize_error.php on line %s
+Notice: unserialize(): Error at offset 19 of 20 bytes in %sserialize_unserialize_error.php on line %d
bool(false)
Exception: Unserialization of 'Generator' is not allowed in %s:%d
Stack trace:
}
--EXPECTF--
-Fatal error: Constructor %s::%s() cannot declare a return type in %s on line %s
+Fatal error: Constructor %s::%s() cannot declare a return type in %s on line %d
}
--EXPECTF--
-Fatal error: Destructor %s::%s() cannot declare a return type in %s on line %s
+Fatal error: Destructor %s::%s() cannot declare a return type in %s on line %d
}
--EXPECTF--
-Fatal error: %s::%s() cannot declare a return type in %s on line %s
+Fatal error: %s::%s() cannot declare a return type in %s on line %d
--EXPECTF--
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Foo has a deprecated constructor in %s on line %d
-Fatal error: Constructor %s::%s() cannot declare a return type in %s on line %s
+Fatal error: Constructor %s::%s() cannot declare a return type in %s on line %d
var_dump(preg_last_error() === \PREG_INTERNAL_ERROR);
?>
--EXPECTF--
-Warning: preg_match(): Compilation failed: regular expression is too large at offset %s in %s on line %s
+Warning: preg_match(): Compilation failed: regular expression is too large at offset %s in %s on line %d
bool(false)
bool(true)
\ No newline at end of file
bool(false)
bool(false)
-Warning: posix_ttyname(): supplied resource is not a valid stream resource in %s on line %s
+Warning: posix_ttyname(): supplied resource is not a valid stream resource in %s on line %d
Warning: posix_ttyname(): expects argument 1 to be a valid stream resource in %s on line %d
bool(false)
}
Destroy [%s,%s]
-Warning: unlink(%s): No such file or directory in %s on line %s
+Warning: unlink(%s): No such file or directory in %s on line %d
Close [%s,PHPSESSID]
bool(true)
More error handing
Single OID, single type in array, single value
-Warning: snmp2_set(): Single objid and multiple type or values are not supported in %s on line %s
+Warning: snmp2_set(): Single objid and multiple type or values are not supported in %s on line %d
bool(false)
bool(true)
bool(true)
Single OID, single type, single value in array
-Warning: snmp2_set(): Single objid and multiple type or values are not supported in %s on line %s
+Warning: snmp2_set(): Single objid and multiple type or values are not supported in %s on line %d
bool(false)
bool(true)
bool(true)
Multiple OID, 1st wrong type
-Warning: snmp2_set(): '%s': bogus type 'sw', should be single char, got 2 in %s on line %s
+Warning: snmp2_set(): '%s': bogus type 'sw', should be single char, got 2 in %s on line %d
bool(false)
bool(true)
bool(true)
Multiple OID, 2nd wrong type
-Warning: snmp2_set(): '%s': bogus type 'sb', should be single char, got 2 in %s on line %s
+Warning: snmp2_set(): '%s': bogus type 'sb', should be single char, got 2 in %s on line %d
bool(false)
bool(true)
bool(true)
More error handing
Single OID, single type in array, single value
-Warning: snmpset(): Single objid and multiple type or values are not supported in %s on line %s
+Warning: snmpset(): Single objid and multiple type or values are not supported in %s on line %d
bool(false)
bool(true)
bool(true)
Single OID, single type, single value in array
-Warning: snmpset(): Single objid and multiple type or values are not supported in %s on line %s
+Warning: snmpset(): Single objid and multiple type or values are not supported in %s on line %d
bool(false)
bool(true)
bool(true)
Multiple OID, 1st wrong type
-Warning: snmpset(): '%s': bogus type 'sw', should be single char, got 2 in %s on line %s
+Warning: snmpset(): '%s': bogus type 'sw', should be single char, got 2 in %s on line %d
bool(false)
bool(true)
bool(true)
Multiple OID, 2nd wrong type
-Warning: snmpset(): '%s': bogus type 'sb', should be single char, got 2 in %s on line %s
+Warning: snmpset(): '%s': bogus type 'sb', should be single char, got 2 in %s on line %d
bool(false)
bool(true)
bool(true)
?>
--EXPECTF--
-Warning: socket_bind() expects at least 2 parameters, 0 given in %s on line %i
+Warning: socket_bind() expects at least 2 parameters, 0 given in %s on line %d
NULL
-Warning: socket_bind() expects at least 2 parameters, 1 given in %s on line %i
+Warning: socket_bind() expects at least 2 parameters, 1 given in %s on line %d
NULL
?>
--EXPECTF--
-Warning: socket_close() expects exactly 1 parameter, 0 given in %s on line %i
+Warning: socket_close() expects exactly 1 parameter, 0 given in %s on line %d
NULL
?>
--EXPECTF--
-Warning: socket_connect() expects at least 2 parameters, 0 given in %s on line %i
+Warning: socket_connect() expects at least 2 parameters, 0 given in %s on line %d
-Warning: socket_connect() expects at least 2 parameters, 1 given in %s on line %i
+Warning: socket_connect() expects at least 2 parameters, 1 given in %s on line %d
-Warning: socket_connect(): Socket of type AF_INET requires 3 arguments in %s on line %i
+Warning: socket_connect(): Socket of type AF_INET requires 3 arguments in %s on line %d
-Warning: socket_connect(): unable to connect [%i]: %a in %s on line %i
+Warning: socket_connect(): unable to connect [%i]: %a in %s on line %d
}
?>
--EXPECTF--
-Warning: socket_create_listen() expects at least 1 parameter, 0 given in %s on line %i
+Warning: socket_create_listen() expects at least 1 parameter, 0 given in %s on line %d
NULL
--EXPECTF--
resource(%i) of type (Socket)
-Warning: socket_create_listen(): unable to bind to given address [%i]: %a in %s on line %i
+Warning: socket_create_listen(): unable to bind to given address [%i]: %a in %s on line %d
bool(false)
-Warning: socket_close() expects parameter 1 to be resource, boolean given in %s on line %i
+Warning: socket_close() expects parameter 1 to be resource, boolean given in %s on line %d
?>
--EXPECTF--
-Warning: socket_create() expects exactly 3 parameters, 0 given in %s on line %i
+Warning: socket_create() expects exactly 3 parameters, 0 given in %s on line %d
-Warning: socket_create() expects exactly 3 parameters, 1 given in %s on line %i
+Warning: socket_create() expects exactly 3 parameters, 1 given in %s on line %d
-Warning: socket_create() expects exactly 3 parameters, 2 given in %s on line %i
+Warning: socket_create() expects exactly 3 parameters, 2 given in %s on line %d
--EXPECTF--
bool(true)
-Warning: socket_getpeername(): unable to retrieve peer name [%i]: %a in %s on line %i
+Warning: socket_getpeername(): unable to retrieve peer name [%i]: %a in %s on line %d
bool(false)
NULL
NULL
?>
--EXPECTF--
-Warning: socket_listen() expects at least 1 parameter, 0 given in %s on line %i
+Warning: socket_listen() expects at least 1 parameter, 0 given in %s on line %d
NULL
?>
--EXPECTF--
-Warning: socket_read() expects at least 2 parameters, 0 given in %s on line %i
+Warning: socket_read() expects at least 2 parameters, 0 given in %s on line %d
-Warning: socket_read() expects at least 2 parameters, 1 given in %s on line %i
+Warning: socket_read() expects at least 2 parameters, 1 given in %s on line %d
-Warning: socket_read(): unable to read from socket [%i]: %a in %s on line %i
+Warning: socket_read(): unable to read from socket [%i]: %a in %s on line %d
?>
--EXPECTF--
-Warning: socket_strerror() expects exactly 1 parameter, 0 given in %s on line %i
+Warning: socket_strerror() expects exactly 1 parameter, 0 given in %s on line %d
string(7) "Success"
string(23) "Operation not permitted"
string(25) "No such file or directory"
?>
--EXPECTF--
-Warning: socket_write() expects at least 2 parameters, 0 given in %s on line %i
+Warning: socket_write() expects at least 2 parameters, 0 given in %s on line %d
-Warning: socket_write() expects at least 2 parameters, 1 given in %s on line %i
+Warning: socket_write() expects at least 2 parameters, 1 given in %s on line %d
-Warning: socket_write(): unable to write to socket [%i]: %a in %s on line %i
+Warning: socket_write(): unable to write to socket [%i]: %a in %s on line %d
0 => test1
1 => test2
-Notice: Undefined index: foo in %s on line %s
+Notice: Undefined index: foo in %s on line %d
NULL
object(SelfArray)#9 (1) {
["foo"]=>
var_dump(array_count_values($array1));
?>
--EXPECTF--
-Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %s
+Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %d
-Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %s
+Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %d
-Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %s
+Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %d
array(8) {
[1]=>
int(2)
bool(true)
string(7) "Unknown"
-Warning: fopen(%s): failed to open stream: File exists in %s on line %s
+Warning: fopen(%s): failed to open stream: File exists in %s on line %d
*** Done ***
bool(true)
string(7) "Unknown"
-Warning: fopen(%s): failed to open stream: File exists in %s on line %s
+Warning: fopen(%s): failed to open stream: File exists in %s on line %d
*** Done ***
bool(true)
string(7) "Unknown"
-Warning: fopen(%s): failed to open stream: File exists in %s on line %s
+Warning: fopen(%s): failed to open stream: File exists in %s on line %d
*** Done ***
-- Iteration 7 --
Size of source file => int(3500)
Copy operation =>
-Warning: copy(%s): failed to open stream: No such file or directory in %s on line %s
+Warning: copy(%s): failed to open stream: No such file or directory in %s on line %d
bool(false)
Existence of destination file => bool(false)
Warning: base_convert(): Invalid `from base' (1) in %s on line %d
-Warning: base_convert(): Invalid `to base' (37) in %s on line %s
+Warning: base_convert(): Invalid `to base' (37) in %s on line %d
Incorrect input
Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d
\ No newline at end of file
stream_context_set_params($ctx, array("options" => 1));
?>
--EXPECTF--
-Warning: stream_context_set_params(): Invalid stream/context parameter in %sbug44712.php on line %s
+Warning: stream_context_set_params(): Invalid stream/context parameter in %sbug44712.php on line %d
-- Testing stream_get_meta_data() function with Zero arguments --
-Warning: stream_get_meta_data() expects exactly 1 parameter, 0 given in %s on line %i
+Warning: stream_get_meta_data() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-- Testing stream_get_meta_data() function with more than expected no. of arguments --
-Warning: stream_get_meta_data() expects exactly 1 parameter, 2 given in %s on line %i
+Warning: stream_get_meta_data() expects exactly 1 parameter, 2 given in %s on line %d
NULL
-- Testing stream_get_meta_data() function with invalid stream resource --
-Warning: stream_get_meta_data() expects parameter 1 to be resource, null given in %s on line %i
+Warning: stream_get_meta_data() expects parameter 1 to be resource, null given in %s on line %d
NULL
-- Testing stream_get_meta_data() function with closed stream resource --
-Warning: stream_get_meta_data(): supplied resource is not a valid stream resource in %s on line %i
+Warning: stream_get_meta_data(): supplied resource is not a valid stream resource in %s on line %d
bool(false)
Done
-- Testing stream_set_timeout() function with more than expected no. of arguments --
-Warning: stream_set_timeout() expects at most 3 parameters, 4 given in %s on line %i
+Warning: stream_set_timeout() expects at most 3 parameters, 4 given in %s on line %d
NULL
-- Testing stream_set_timeout() function with less than expected no. of arguments --
-Warning: stream_set_timeout() expects at least 2 parameters, 1 given in %s on line %i
+Warning: stream_set_timeout() expects at least 2 parameters, 1 given in %s on line %d
NULL
-- Testing stream_set_timeout() function with a closed socket --
-Warning: stream_set_timeout(): supplied resource is not a valid stream resource in %s on line %i
+Warning: stream_set_timeout(): supplied resource is not a valid stream resource in %s on line %d
bool(false)
-- Testing stream_set_timeout() function with an invalid stream --
-Warning: stream_set_timeout() expects parameter 1 to be resource, integer given in %s on line %i
+Warning: stream_set_timeout() expects parameter 1 to be resource, integer given in %s on line %d
NULL
-- Testing stream_set_timeout() function with a stream that does not support timeouts --
}
?>
--EXPECTF--
-Notice: fwrite(): send of %i bytes failed with errno=%i Broken pipe in %s on line %i
+Notice: fwrite(): send of %i bytes failed with errno=%i Broken pipe in %s on line %d
-Warning: stream_socket_sendto() expects at least %i parameters, %i given in %s on line %i
+Warning: stream_socket_sendto() expects at least %i parameters, %i given in %s on line %d
bool(%s)
-Warning: stream_socket_sendto() expects at least %i parameters, %i given in %s on line %i
+Warning: stream_socket_sendto() expects at least %i parameters, %i given in %s on line %d
bool(%s)
Warning: stream_socket_sendto(): Broken pipe
- in %s on line %i
+ in %s on line %d
int(%i)
Warning: stream_socket_sendto(): Broken pipe
- in %s on line %i
+ in %s on line %d
int(%i)
-Warning: stream_socket_sendto(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s on line %i
+Warning: stream_socket_sendto(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s on line %d
-Warning: stream_socket_sendto(): Failed to resolve %s: php_network_getaddresses: getaddrinfo failed: Name or service not known in %s on line %i
+Warning: stream_socket_sendto(): Failed to resolve %s: php_network_getaddresses: getaddrinfo failed: Name or service not known in %s on line %d
-Warning: stream_socket_sendto(): Failed to parse %s into a valid network address in %s on line %i
+Warning: stream_socket_sendto(): Failed to parse %s into a valid network address in %s on line %d
bool(%s)
-Warning: stream_socket_sendto(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s on line %i
+Warning: stream_socket_sendto(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s on line %d
-Warning: stream_socket_sendto(): Failed to resolve %s: php_network_getaddresses: getaddrinfo failed: Name or service not known in %s on line %i
+Warning: stream_socket_sendto(): Failed to resolve %s: php_network_getaddresses: getaddrinfo failed: Name or service not known in %s on line %d
-Warning: stream_socket_sendto(): Failed to parse %s into a valid network address in %s on line %i
+Warning: stream_socket_sendto(): Failed to parse %s into a valid network address in %s on line %d
bool(%s)
--- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
-- Iteration 1 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 2 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 3 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 4 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 5 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 6 --
array(4) {
}
-- Iteration 10 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 11 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 12 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, object given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, object given in %s on line %d
NULL
-- Iteration 13 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 14 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 15 --
array(3) {
}
-- Iteration 17 --
-Warning: get_html_translation_table() expects parameter 2 to be integer, resource given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, resource given in %s on line %d
NULL
-- Iteration 18 --
array(3) {
--EXPECTF--
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on line %d
-Warning: XSLTProcessor::transformToXml(): File write for %s/bug54446test.txt refused in %s on line %s
+Warning: XSLTProcessor::transformToXml(): File write for %s/bug54446test.txt refused in %s on line %d
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on line %d
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on line %d
-Warning: XSLTProcessor::transformToXml(): File write for %s/bug54446test.txt refused in %s on line %s
+Warning: XSLTProcessor::transformToXml(): File write for %s/bug54446test.txt refused in %s on line %d
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on line %d
--EXPECTF--
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on line %d
-Warning: XSLTProcessor::transformToXml(): File write for %s/bug54446test.txt refused in %s on line %s
+Warning: XSLTProcessor::transformToXml(): File write for %s/bug54446test.txt refused in %s on line %d
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on line %d
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on line %d
-Warning: XSLTProcessor::transformToXml(): File write for %s/bug54446test.txt refused in %s on line %s
+Warning: XSLTProcessor::transformToXml(): File write for %s/bug54446test.txt refused in %s on line %d
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element output in %s on line %d
var_dump($proc->hasExsltSupport());
?>
--EXPECTF--
-Fatal error: Class 'XSLTProcessor' not found in %s on line %i
\ No newline at end of file
+Fatal error: Class 'XSLTProcessor' not found in %s on line %d
\ No newline at end of file
echo $proc->transformToDoc(null);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, null given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, null given in %s on line %d
\ No newline at end of file
echo $proc->transformToDoc($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, array given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, array given in %s on line %d
\ No newline at end of file
echo $proc->transformToDoc($xmldoc, 'string', 98, true);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects at most 2 parameters, 4 given in %s on line %i
+Warning: XSLTProcessor::transformToDoc() expects at most 2 parameters, 4 given in %s on line %d
echo $proc->transformToDoc($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, string given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, string given in %s on line %d
\ No newline at end of file
echo $proc->transformToDoc($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, boolean given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, boolean given in %s on line %d
\ No newline at end of file
echo $proc->transformToURI(null, null);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, null given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, null given in %s on line %d
\ No newline at end of file
echo $proc->transformToURI($wrong_parameter, $uri);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, array given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, array given in %s on line %d
\ No newline at end of file
echo $proc->transformToURI($wrong_parameter, $uri);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, string given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, string given in %s on line %d
\ No newline at end of file
echo $proc->transformToURI($wrong_parameter, $uri);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, boolean given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, boolean given in %s on line %d
\ No newline at end of file
echo $proc->transformToURI($xsldoc, $uri, 'stringValue');
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects exactly 2 parameters, 3 given in %s on line %i
\ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects exactly 2 parameters, 3 given in %s on line %d
\ No newline at end of file
echo $proc->transformToXML(null);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, null given in %s on line %i
+Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, null given in %s on line %d
echo $proc->transformToXML($xmldoc, 'string', 98);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToXml() expects exactly 1 parameter, 3 given in %s on line %i
+Warning: XSLTProcessor::transformToXml() expects exactly 1 parameter, 3 given in %s on line %d