Home
last modified time | relevance | path

Searched refs:uniqid (Results 1 – 25 of 35) sorted by relevance

12

/PHP-7.3/ext/standard/tests/general_functions/
H A Duniqid_error.phpt2 Test uniqid() function : error conditions
7 * Source code: ext/standard/uniqid.c
9 echo "*** Testing uniqid() : error conditions ***\n";
15 var_dump(uniqid($prefix, $more_entropy, $extra_arg));
23 uniqid($array, false);
24 uniqid($res, false);
25 uniqid($obj, false);
32 *** Testing uniqid() : error conditions ***
34 -- Testing uniqid() function with more than expected no. of arguments --
36 Warning: uniqid() expects at most 2 parameters, 3 given in %s on line %d
[all …]
H A Duniqid_basic.phpt2 Test uniqid() function : basic functionality
7 * Source code: ext/standard/uniqid.c
12 var_dump(uniqid());
13 var_dump(uniqid(null, true));
14 var_dump(uniqid(null, false));
17 echo "uniqid() with a prefix\n";
30 var_dump(uniqid($prefix[$i]));
31 var_dump(uniqid($prefix[$i], true));
32 var_dump(uniqid($prefix[$i], false));
41 uniqid() without a prefix
[all …]
H A Dbug70018.phpt13 $test_fl = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid());
/PHP-7.3/ext/standard/tests/network/
H A Dudgloop.phpt10 $uniqid = uniqid();
11 if (file_exists("/tmp/$uniqid.sock"))
12 die('Temporary socket /tmp/$uniqid.sock already exists.');
15 $server = stream_socket_server("udg:///tmp/$uniqid.sock", $errno, $errstr, STREAM_SERVER_BIND);
21 $client = stream_socket_client("udg:///tmp/$uniqid.sock");
33 unlink("/tmp/$uniqid.sock");
H A Dunixloop.phpt10 $uniqid = uniqid();
11 if (file_exists("/tmp/$uniqid.sock"))
15 $server = stream_socket_server("unix:///tmp/$uniqid.sock");
21 $client = stream_socket_client("unix:///tmp/$uniqid.sock");
40 unlink("/tmp/$uniqid.sock");
/PHP-7.3/ext/standard/
H A Duniqid.c44 PHP_FUNCTION(uniqid) in PHP_FUNCTION() argument
48 zend_string *uniqid; in PHP_FUNCTION() local
78 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10); in PHP_FUNCTION()
80 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
83 RETURN_STR(uniqid); in PHP_FUNCTION()
H A Duniqid.h23 PHP_FUNCTION(uniqid);
/PHP-7.3/ext/curl/tests/
H A Dcurl_basic_008.phpt8 $addr = "www.".uniqid().".".uniqid();
16 $url = "http://www.".uniqid().".".uniqid();
H A Dcurl_basic_010.phpt8 $addr = "www.".uniqid().".".uniqid();
18 curl_setopt($ch, CURLOPT_PROXY, uniqid().":".uniqid());
H A Dcurl_basic_009.phpt10 $url = substr(uniqid(),0,7)."://www.".uniqid().".".uniqid();
/PHP-7.3/tests/strings/
H A D001.phpt180 echo "Testing uniqid(true): ";
182 $ui1 = uniqid($str, true);
183 $ui2 = uniqid($str, true);
193 echo "Testing uniqid(false): ";
195 $ui1 = uniqid($str);
197 $ui2 = uniqid($str);
224 Testing uniqid(true): passed
225 Testing uniqid(false): passed
/PHP-7.3/ext/standard/tests/filters/
H A Dbug22538.phpt14 $path1 = sprintf("%s/%s%da", dirname(__FILE__), uniqid(), time());
15 $path2 = sprintf("%s/%s%db", dirname(__FILE__), uniqid(), time());
/PHP-7.3/ext/standard/tests/dir/
H A Dbug72625.phpt12 $base = sys_get_temp_dir() . "/" . md5(uniqid());
14 $base = "$base/" . md5(uniqid());
/PHP-7.3/sapi/cgi/tests/
H A Dbug75574_utf8_win.phpt23 $fn = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid());
/PHP-7.3/ext/zip/tests/
H A Dbug64342_0.phpt13 $f = md5(uniqid()) . '.txt';
/PHP-7.3/ext/session/tests/
H A Dbug79091.phpt43 return uniqid();
H A Dsession_commit_variation5.phpt20 $id = md5(uniqid());
/PHP-7.3/ext/sqlite3/tests/
H A Dsqlite3_21_security.phpt12 $file = uniqid() . '.db';
/PHP-7.3/ext/standard/tests/file/
H A Dbug72035.phpt14 $fl = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid()) . ".php";
/PHP-7.3/ext/pgsql/tests/
H A Dbug72028.phpt13 $table = "bug72028_" . md5(uniqid(time()));
/PHP-7.3/ext/sockets/tests/
H A Dunixloop.phpt14 $sock_path = sprintf("/tmp/%s.sock", uniqid());
/PHP-7.3/sapi/cli/tests/
H A Dcli_process_title_unix.phpt12 $set_title = $original_title = uniqid("title", true);
/PHP-7.3/ext/standard/tests/streams/
H A Dbug70198.phpt17 $srv_fl = dirname(__FILE__) . "/bug70198_svr_" . md5(uniqid()) . ".php";
/PHP-7.3/ext/soap/tests/
H A Dbug73037.phpt46 md5(uniqid()),
47 sha1(uniqid()),
/PHP-7.3/ext/pdo_mysql/tests/
H A Dconfig.inc43 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');

Completed in 164 milliseconds

12