summaryrefslogtreecommitdiffstats
path: root/tests/crypt_preferred_method.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-13 10:13:12 +0200
committerRemi Collet <remi@php.net>2024-09-13 10:13:12 +0200
commitef4627a6a618b460cbbea109e3e0522c891be72c (patch)
tree466a4678a4c18d4a636f3375f4b72e3045cde437 /tests/crypt_preferred_method.phpt
parent5bca3985ce597abd2db703e0944160a8f73dd84a (diff)
More bindings (function missing in php)
- add crypt_gensalt(?string $salt = null, int $count = 0): ?string {} - add crypt_preferred_method(): ?string {} - add crypt_checksalt(string $salt): int {} and bump version to 1.1.0-dev (new functions)
Diffstat (limited to 'tests/crypt_preferred_method.phpt')
-rw-r--r--tests/crypt_preferred_method.phpt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/crypt_preferred_method.phpt b/tests/crypt_preferred_method.phpt
new file mode 100644
index 0000000..f222639
--- /dev/null
+++ b/tests/crypt_preferred_method.phpt
@@ -0,0 +1,9 @@
+--TEST--
+Test crypt_preferred_method
+--FILE--
+<?php
+var_dump(crypt_preferred_method());
+?>
+--EXPECTF--
+string(%d) "$%s$"
+