Skip to content

Commit 550eb12

Browse files
Tests
1 parent 77ece36 commit 550eb12

File tree

13 files changed

+20
-20
lines changed

13 files changed

+20
-20
lines changed

ext/curl/tests/bug46711.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var_dump($opt); // with this bug, $opt[58] becomes NULL
2121

2222
?>
2323
--EXPECTF--
24-
Deprecated: Constant CURLOPT_BINARYTRANSFER is deprecated in %s on line %d
24+
Deprecated: Constant CURLOPT_BINARYTRANSFER is deprecated since 8.4, as it had no effect since 5.1.2 in %s on line %d
2525
array(2) {
2626
[58]=>
2727
bool(true)

ext/mysqli/tests/deprecated_constants.phpt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ echo constant('MYSQLI_IS_MARIADB')."\n";
1616
?>
1717
--EXPECTF--
1818

19-
Deprecated: Constant MYSQLI_NO_DATA is deprecated in %s
19+
Deprecated: Constant MYSQLI_NO_DATA is deprecated since 8.1, as it was unused in %s
2020
%i
2121

22-
Deprecated: Constant MYSQLI_DATA_TRUNCATED is deprecated in %s
22+
Deprecated: Constant MYSQLI_DATA_TRUNCATED is deprecated since 8.1, as it was unused in %s
2323
%i
2424

25-
Deprecated: Constant MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED is deprecated in %s
25+
Deprecated: Constant MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED is deprecated since 8.1, as it was unused in %s
2626
%i
2727

28-
Deprecated: Constant MYSQLI_SERVER_QUERY_NO_INDEX_USED is deprecated in %s
28+
Deprecated: Constant MYSQLI_SERVER_QUERY_NO_INDEX_USED is deprecated since 8.1, as it was unused in %s
2929
%i
3030

31-
Deprecated: Constant MYSQLI_SERVER_QUERY_WAS_SLOW is deprecated in %s
31+
Deprecated: Constant MYSQLI_SERVER_QUERY_WAS_SLOW is deprecated since 8.1, as it was unused in %s
3232
%i
3333

34-
Deprecated: Constant MYSQLI_SERVER_PS_OUT_PARAMS is deprecated in %s
34+
Deprecated: Constant MYSQLI_SERVER_PS_OUT_PARAMS is deprecated since 8.1, as it was unused in %s
3535
%i
3636

37-
Deprecated: Constant MYSQLI_IS_MARIADB is deprecated in %s
37+
Deprecated: Constant MYSQLI_IS_MARIADB is deprecated since 8.2, as it is always false in %s

ext/random/tests/03_randomizer/methods/getBytes.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ die('success');
3939

4040
?>
4141
--EXPECTF--
42-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
42+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
4343

4444
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
4545
Random\Engine\Mt19937

ext/random/tests/03_randomizer/methods/getBytesFromString.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ die('success');
4343

4444
?>
4545
--EXPECTF--
46-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
46+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
4747

4848
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
4949
Random\Engine\Mt19937

ext/random/tests/03_randomizer/methods/getFloat.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ die('success');
4242

4343
?>
4444
--EXPECTF--
45-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
45+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
4646

4747
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
4848
Random\Engine\Mt19937

ext/random/tests/03_randomizer/methods/getInt.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ die('success');
4646

4747
?>
4848
--EXPECTF--
49-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
49+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
5050

5151
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
5252
Random\Engine\Mt19937

ext/random/tests/03_randomizer/methods/nextFloat.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ die('success');
4141

4242
?>
4343
--EXPECTF--
44-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
44+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
4545

4646
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
4747
Random\Engine\Mt19937

ext/random/tests/03_randomizer/methods/nextInt.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ die('success');
4141

4242
?>
4343
--EXPECTF--
44-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
44+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
4545

4646
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
4747
Random\Engine\Mt19937

ext/random/tests/03_randomizer/methods/pickArrayKeys.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ die('success');
7676

7777
?>
7878
--EXPECTF--
79-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
79+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
8080

8181
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
8282
Random\Engine\Mt19937

ext/random/tests/03_randomizer/methods/shuffleArray.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ die('success');
4545

4646
?>
4747
--EXPECTF--
48-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
48+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
4949

5050
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
5151
Random\Engine\Mt19937

ext/random/tests/03_randomizer/methods/shuffleBytes.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ die('success');
5252

5353
?>
5454
--EXPECTF--
55-
Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
55+
Deprecated: Constant MT_RAND_PHP is deprecated since 8.3, as it uses a problematic version of Mt19937 in %s on line %d
5656

5757
Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
5858
Random\Engine\Mt19937

ext/reflection/tests/internal_parameter_default_value/check_all.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ foreach (get_declared_classes() as $class) {
3030
?>
3131
===DONE===
3232
--EXPECTF--
33-
Deprecated: Constant SUNFUNCS_RET_STRING is deprecated in %s on line %d
33+
Deprecated: Constant SUNFUNCS_RET_STRING is deprecated since 8.4, as date_sunrise() and date_sunset() were deprecated in 8.1 in %s on line %d
3434

35-
Deprecated: Constant SUNFUNCS_RET_STRING is deprecated in %s on line %d
35+
Deprecated: Constant SUNFUNCS_RET_STRING is deprecated since 8.4, as date_sunrise() and date_sunset() were deprecated in 8.1 in %s on line %d
3636
===DONE===

ext/soap/tests/server003.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $server->handle($HTTP_RAW_POST_DATA);
2727
echo "ok\n";
2828
?>
2929
--EXPECTF--
30-
Deprecated: Constant SOAP_FUNCTIONS_ALL is deprecated in %s on line %d
30+
Deprecated: Constant SOAP_FUNCTIONS_ALL is deprecated since 8.4, as enabling all functions is a possible security concern in %s on line %d
3131

3232
Deprecated: SoapServer::addFunction(): Enabling all functions via SOAP_FUNCTIONS_ALL is deprecated since 8.4, due to possible security concerns. If all PHP functions should be enabled, the flattened return value of get_defined_functions() can be used in %s on line %d
3333
<?xml version="1.0" encoding="UTF-8"?>

0 commit comments

Comments
 (0)