summaryrefslogtreecommitdiff
path: root/ext/standard/tests/password/password_get_info_error.phpt
blob: af676744c8b304aafc68db3ef8618649dfcab67f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Test error operation of password_get_info()
--FILE--
<?php
//-=-=-=-
var_dump(password_get_info());
var_dump(password_get_info(array()));

echo "OK!";
?>
--EXPECTF--
Warning: password_get_info() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Warning: password_get_info() expects parameter 1 to be string, array given in %s on line %d
NULL
OK!