Skip to content

Commit ed8ebd6

Browse files
committed
Merge branch 'PHP-5.6'
* PHP-5.6: Calling crypt() with a salt of *0 should always return *1. Conflicts: configure.in main/php_version.h
2 parents e383f05 + 16b6f6c commit ed8ebd6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
--TEST--
2+
crypt(): *0 should return *1
3+
--SKIPIF--
4+
<?php
5+
if (!function_exists('crypt')) {
6+
die("SKIP crypt() is not available");
7+
}
8+
?>
9+
--FILE--
10+
<?php
11+
12+
var_dump(crypt('foo', '*0'));
13+
14+
?>
15+
--EXPECT--
16+
string(2) "*1"

0 commit comments

Comments
 (0)