]> granicus.if.org Git - php/commitdiff
Use %d when expecting line number in tests
authorGabriel Caruso <carusogabriel34@gmail.com>
Sat, 27 Jan 2018 21:51:51 +0000 (19:51 -0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 2 Feb 2018 21:35:13 +0000 (22:35 +0100)
48 files changed:
Zend/tests/generators/errors/serialize_unserialize_error.phpt
Zend/tests/return_types/014.phpt
Zend/tests/return_types/018.phpt
Zend/tests/return_types/019.phpt
Zend/tests/return_types/023.phpt
ext/pcre/tests/bug74183.phpt
ext/posix/tests/posix_ttyname_error_wrongparams.phpt
ext/session/tests/session_set_save_handler_variation4.phpt
ext/snmp/tests/snmp2_set.phpt
ext/snmp/tests/snmpset.phpt
ext/sockets/tests/socket_bind_params.phpt
ext/sockets/tests/socket_close_params.phpt
ext/sockets/tests/socket_connect_params.phpt
ext/sockets/tests/socket_create_listen_params.phpt
ext/sockets/tests/socket_create_listen_used.phpt
ext/sockets/tests/socket_create_params.phpt
ext/sockets/tests/socket_getpeername.phpt
ext/sockets/tests/socket_listen_params.phpt
ext/sockets/tests/socket_read_params.phpt
ext/sockets/tests/socket_strerror.phpt
ext/sockets/tests/socket_write_params.phpt
ext/spl/tests/bug74669.phpt
ext/standard/tests/array/array_count_values2.phpt
ext/standard/tests/file/007_variation15.phpt
ext/standard/tests/file/007_variation23.phpt
ext/standard/tests/file/007_variation7.phpt
ext/standard/tests/file/copy_variation16-win32.phpt
ext/standard/tests/math/base_convert_error.phpt
ext/standard/tests/streams/bug44712.phpt
ext/standard/tests/streams/stream_get_meta_data_file_error.phpt
ext/standard/tests/streams/stream_set_timeout_error.phpt
ext/standard/tests/streams/stream_socket_sendto.phpt
ext/standard/tests/strings/get_html_translation_table_variation2.phpt
ext/xsl/tests/bug54446.phpt
ext/xsl/tests/bug54446_with_ini.phpt
ext/xsl/tests/xsltprocessor_hasExsltSupport_not_available_extension.phpt
ext/xsl/tests/xsltprocessor_transformToDoc_nullparam.phpt
ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_001.phpt
ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_002.phpt
ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_003.phpt
ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_004.phpt
ext/xsl/tests/xsltprocessor_transformToURI_nullparam.phpt
ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_001.phpt
ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_002.phpt
ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_003.phpt
ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_004.phpt
ext/xsl/tests/xsltprocessor_transformToXML_nullparam.phpt
ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_002.phpt

index fc0647395d61c3349001133fde30889836389717..aa962eb99a466473b7e04fd621180c7d4a434e0d 100644 (file)
@@ -35,7 +35,7 @@ Stack trace:
 
 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:
index abf8b1210b406eebf0448addb58d6e5f1ee2a4e7..3974eb67faba2911e7cf1fdf2cc4619010cf4146 100644 (file)
@@ -9,4 +9,4 @@ class Foo {
 }
 
 --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
index 6d6e0c7e734eeb2a1251fc8608c280ec2bb65cff..6c243ac756ff2be95789d200c9ff25a40777b365 100644 (file)
@@ -9,4 +9,4 @@ class Foo {
 }
 
 --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
index cebf48328581c35c56e9a7207430e9eb1a9d644e..b5a83f37324304cdd1150337b7c093908884a3bb 100644 (file)
@@ -9,4 +9,4 @@ class Foo {
 }
 
 --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
index 9e36bf7c0405b801467bec533d2360432e6e578b..04df2caf7bed7d61c5d09ae2f9a78c8233410492 100644 (file)
@@ -11,4 +11,4 @@ class Foo {
 --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
index a23014596187ba74f5cb08f9254ae69d2eb81a76..9085763d80b69f4ed6a5b48160a40784ff8cdb8b 100644 (file)
@@ -10,6 +10,6 @@ var_dump(preg_match($sRegex, $sTest));
 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
index daa487f8533773750981671e5795d6920fe2f009..ef0842b74c4fc90c83e858968aad660c340e7af8 100644 (file)
@@ -30,7 +30,7 @@ Warning: posix_ttyname() expects exactly 1 parameter, 0 given in %s on line %d
 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)
index 81af75fd1aed33acb25b16aafb447f285430c255..8ed7148d1c3f0bb71183560bd9169e84cdee79de 100644 (file)
@@ -81,7 +81,7 @@ array(3) {
 }
 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)
 
index b833b9b504a9d52fc9c6dfba9a26debb8b6ac07d..ee46fe29a3c29d1737fe7460b7f46326546843fd 100644 (file)
@@ -188,25 +188,25 @@ 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)
index 055b789d54b351aaac5761369b1bc66c04f80dac..f1692cf3270a669c048c4f03b12fd2cf391b8d04 100644 (file)
@@ -188,25 +188,25 @@ 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)
index d68a62a4741f6f5317e8ae125c0d8e39457a76b3..65b694c1df10ce4586d0237b8e93931ca2af8ad0 100644 (file)
@@ -22,8 +22,8 @@ fa@php.net
 ?>
 --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
index a00330f5e572cae01cca6aafa3534aa6fb5bbd52..8ba0e44c5b189161758889ccbd9d04beb6365911 100644 (file)
@@ -17,5 +17,5 @@ fa@php.net
 ?>
 --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
index 44f0ffdf51defb2a3b2337e949cf34feaee84f9d..e329ce1c9958385999e174ae06424b14d45b8518 100644 (file)
@@ -24,10 +24,10 @@ fa@php.net
 ?>
 --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
index 56a9c8de23a170dc1d0e64311ec72a8244f609ac..2d0e636a88c376b70c5a204311ec126e56abcd66 100644 (file)
@@ -19,5 +19,5 @@ fa@php.net
     }
 ?>
 --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
index 1e45f82511c094656adea131cb55ffce5e7813ed..901dcc23086d2d165a78c58abf802e270563b74a 100644 (file)
@@ -24,7 +24,7 @@ fa@php.net
 --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
index 13a1c73eeeaf6aba98bb837f421c9e1e3ea8ea77..f1f76fa4b9deec5b14d543e2f0c37eb33e567e40 100644 (file)
@@ -17,8 +17,8 @@ fa@php.net
 ?>
 --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
index 280fa2a1aa5f22609f192fdab41a1013787a59b6..1a542d0702968638c478c41bf469e2af8c8e71ac 100644 (file)
@@ -27,7 +27,7 @@ fa@php.net
 --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
index 65c11170fe72d486900aef449b5878a7dcd9f3f1..5b6d3b1459c58d6149618464093228291eccc80b 100644 (file)
@@ -17,5 +17,5 @@ fa@php.net
 ?>
 --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
index 3b4821ac4ef7889f007fb5a27a76d47418feb626..52dc1bebced4430d72a2f12429b210ce9a74c6b4 100644 (file)
@@ -21,8 +21,8 @@ fa@php.net
 ?>
 --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
index fb9925edd67ed2d527dc4e828310bb95cb933564..033e37742d94ae4c6b8a9d64b46d0a01308ef51b 100644 (file)
@@ -21,7 +21,7 @@ fa@php.net
 ?>
 --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"
index 00360f7be4b9119fe7592ec6bfa912981085d2ad..9991de53ed3a0734bca578bda4c4a9578f4fed61 100644 (file)
@@ -21,8 +21,8 @@ fa@php.net
 ?>
 --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
index 97c7807b2a7d29e96aae73fcf14520fa281ef6ab..5e4fcd023b10f0f5007897cc47a1572e6b058fda 100644 (file)
@@ -98,7 +98,7 @@ var_dump($selfArray['foo']);
 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"]=>
index 8dc9b231253a0183ad8761cf79a6b7afb5fa97af..6ec907856ced0b25dbb8d0023ad3ca85a3aa2310 100644 (file)
@@ -18,11 +18,11 @@ $array1 = array(1,
 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)
index 960ee03e91fd82ef47ad1de22b485ae233d80353..fb5d6ae4417fdf71ce477d737de1fd6fa1609cf0 100644 (file)
@@ -54,5 +54,5 @@ int(0)
 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 ***
index 3d1634de29870afea50978ae40a8a0bd10316d83..cfff8150841209a93646ed90d5cc99932ff88d32 100644 (file)
@@ -54,5 +54,5 @@ int(0)
 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 ***
index 69f9a731cff6fba3934d8c397d9d91f9a13573c7..b1b15c81c50717c38f46774138c47335a811c6bc 100644 (file)
@@ -54,5 +54,5 @@ int(0)
 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 ***
index eff56a1ec79c3ee36f9195764d5bc2da63922980..07a54075e195c6ce936b7e0aec372692c3df91e2 100644 (file)
@@ -131,7 +131,7 @@ Size of destination file => int(3500)
 -- 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)
 
index a05268ab94e6d5478ba4eb7a927a2c194325745c..c11a01b03f2408f0d07d3c6318c5aabaa00b078b 100644 (file)
@@ -37,7 +37,7 @@ Warning: base_convert() expects exactly 3 parameters, 2 given in %s on line %d
 
 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
index 9dfb26001ba303b8c4aea758913e63cfab42154e..ba783fdefcfef07444a7df64901be00c3613584c 100644 (file)
@@ -6,5 +6,5 @@ $ctx = stream_context_get_default();
 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
 
index c2532c714abee21973db7a45c7c5c5cb6af39620..a133ef1e087e3be417380ed6b80d58bc61ced9d0 100644 (file)
@@ -37,21 +37,21 @@ echo "Done";
 
 -- 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
index b40b6616cf35b00fcd98b1d150586016a60a5d34..d62e44a56e50f4c70c81413ceb404eb78f80be08 100644 (file)
@@ -57,22 +57,22 @@ echo "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 --
index 62d9f6ef80c24c426bf527bb246f2d4ef9a5de00..73515a743420fabd677b8aaf9b701dd8f45fc593 100644 (file)
@@ -27,32 +27,32 @@ if (is_resource($sock)) {
 }
 ?>
 --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)
index d2c517d0b27eb3ab6c84bfa497145d623cd43621..f3aee5fc0fea0cea22dcd198393a770b670cccbd 100644 (file)
@@ -88,23 +88,23 @@ echo "Done\n";
 --- 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) {
@@ -148,23 +148,23 @@ array(3) {
 }
 -- 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) {
@@ -186,7 +186,7 @@ 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) {
index f00b118ff8bc3e2e3f1f77c1c2fe7960be59d2ef..f960a9822dbc7768291208c0fbd1643ed5a33282 100644 (file)
@@ -74,7 +74,7 @@ if (file_exists($outputfile)) {
 --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
 
@@ -84,7 +84,7 @@ OK, file exists
 
 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
 
index 9edc8b38f39a9438664e560a5f2fa1d3ed70f0e4..03756bbc8e48ad703eca5b53b204fd7c33d62113 100644 (file)
@@ -74,7 +74,7 @@ if (file_exists($outputfile)) {
 --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
 
@@ -84,7 +84,7 @@ OK, file exists
 
 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
 
index d8b8fa846dc702664f0d7093491bdc31c640a4a9..771b401ba9cd66b8241050b34bc8315f6b29a344 100644 (file)
@@ -10,4 +10,4 @@ $proc = new XSLTProcessor();
 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
index 735fd72958d8dcb5c520dce076192f5eee29b2b5..f56cfa8158e919bee8ded5a2d4a5bba5843b5edd 100644 (file)
@@ -51,4 +51,4 @@ $proc->importStyleSheet($xsldoc);
 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
index 1460de39a469e3148b620993b55b4522ed0889c3..3591f0260297d6502ceb047a4ea91cc19330b02e 100644 (file)
@@ -53,4 +53,4 @@ $wrong_parameter = array();
 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
index 2c6c99ae254c8b7dd94d090af9163f4d9b186184..553c38fabf89b0d1b11d7996e95b69bb856b8fc0 100644 (file)
@@ -51,4 +51,4 @@ $proc->importStyleSheet($xsldoc);
 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
index 19fc3e44ef6d8f49c1f1e4c644230037345dbc48..a3aca78bd4fc027e4c1437a29c66b1194e69dc35 100644 (file)
@@ -53,4 +53,4 @@ $wrong_parameter = 'stringValue';
 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
index 8df84b7cbe1d98ee130adec88d3ece5b0aedc6d9..82c72ffcb3f4f711052f3e13c3570c343eef1f1c 100644 (file)
@@ -53,4 +53,4 @@ $wrong_parameter = true;
 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
index 69afeaf7bedabaa90a6b4b4cc6eecf4603a811a2..891e6ca9f3d70625b277d35c65f72eb7a2c51862 100644 (file)
@@ -51,4 +51,4 @@ $proc->importStyleSheet($xsldoc);
 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
index 64b98ce7e578f9c1825362e9cc2b1e0c31761d61..25e3a27ce755ace76cd074174aa6432d50804188 100644 (file)
@@ -54,4 +54,4 @@ $uri = 'php://output';
 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
index 7f497ba2b86285a397f989e6cc867dc74620ffe5..7bc2e057faa64b09f285cbdb760cca165fed21fb 100644 (file)
@@ -54,4 +54,4 @@ $uri = 'php://output';
 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
index c7742422fd95bc897ee08e368f99978265eda3f4..fed6c3e8d09fe52850aa22c8c27375347a0931f2 100644 (file)
@@ -54,4 +54,4 @@ $uri = 'php://output';
 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
index c1de1d93c3e6e9e2fd4c756ce0dacf36469f554e..e40dacb4b840412a0a603e7a154544513943844a 100644 (file)
@@ -53,4 +53,4 @@ $uri = 'php://output';
 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
index a7689df0781ea3f4a19239aff6429a4a77a2ac99..fd3d069181413854e34090024200ef5ee4c9c7b9 100644 (file)
@@ -51,4 +51,4 @@ $proc->importStyleSheet($xsldoc);
 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
index 69b9305e1314380cbd4fa01824c6d284e9267c70..6554253119089f233854ff2ad25da9674c7f3f05 100644 (file)
@@ -51,4 +51,4 @@ $proc->importStyleSheet($xsldoc);
 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