summaryrefslogtreecommitdiff
path: root/ext/gmp/tests/gmp_random.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-01-30 21:42:36 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-02-03 18:52:57 +0100
commitfbeb900be4948d9a1bdc3e139937777534cc27e4 (patch)
treeac3046235e63f897969f9cfc084ef1fc7eafb1b7 /ext/gmp/tests/gmp_random.phpt
parent000b504b51cb3a82df0496789f249bdfed65c11b (diff)
downloadphp-git-fbeb900be4948d9a1bdc3e139937777534cc27e4.tar.gz
Deprecate gmp_random()
Diffstat (limited to 'ext/gmp/tests/gmp_random.phpt')
-rw-r--r--ext/gmp/tests/gmp_random.phpt19
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/gmp/tests/gmp_random.phpt b/ext/gmp/tests/gmp_random.phpt
index d1351bbd1e..da4ca5c7bd 100644
--- a/ext/gmp/tests/gmp_random.phpt
+++ b/ext/gmp/tests/gmp_random.phpt
@@ -20,22 +20,41 @@ var_dump(gmp_random("test"));
echo "Done\n";
?>
--EXPECTF--
+Deprecated: Function gmp_random() is deprecated in %s on line %d
string(%d) "%d"
+
+Deprecated: Function gmp_random() is deprecated in %s on line %d
string(%d) "%d"
+
+Deprecated: Function gmp_random() is deprecated in %s on line %d
string(1) "%d"
+
+Deprecated: Function gmp_random() is deprecated in %s on line %d
string(%d) "%d"
+
+Deprecated: Function gmp_random() is deprecated in %s on line %d
string(%d) "%d"
+
+Deprecated: Function gmp_random() is deprecated in %s on line %d
string(%d) "%d"
+Deprecated: Function gmp_random() is deprecated in %s on line %d
+
Warning: gmp_random() expects parameter 1 to be integer, array given in %s on line %d
NULL
+Deprecated: Function gmp_random() is deprecated in %s on line %d
+
Warning: gmp_random() expects at most 1 parameter, 2 given in %s on line %d
NULL
+Deprecated: Function gmp_random() is deprecated in %s on line %d
+
Warning: gmp_random() expects parameter 1 to be integer, string given in %s on line %d
NULL
+Deprecated: Function gmp_random() is deprecated in %s on line %d
+
Warning: gmp_random() expects parameter 1 to be integer, string given in %s on line %d
NULL
Done