summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/get_current_user.phpt
blob: f23d2fabef58d95cacf9910f65c1aebcd4f7996f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
get_current_user() tests
--FILE--
<?php

var_dump(get_current_user("blah"));
var_dump(get_current_user());

echo "Done\n";
?>
--EXPECTF--
Warning: get_current_user() expects exactly 0 parameters, 1 given in %s on line %d
NULL
string(%d) %s
Done