Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/standard/tests/general_functions/
H A Duniqid_basic.phpt2 Test uniqid() function : basic functionality
8 var_dump(uniqid());
9 var_dump(uniqid(null, true));
10 var_dump(uniqid(null, false));
13 echo "uniqid() with a prefix\n";
26 var_dump(uniqid($prefix[$i]));
27 var_dump(uniqid($prefix[$i], true));
28 var_dump(uniqid($prefix[$i], false));
34 *** Testing uniqid() : basic functionality ***
36 uniqid() without a prefix
[all …]
H A Dbug70018.phpt7 $test_fl = __DIR__ . DIRECTORY_SEPARATOR . md5(uniqid());
/PHP-8.0/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-8.0/ext/standard/
H A Duniqid.c40 PHP_FUNCTION(uniqid) in PHP_FUNCTION() argument
44 zend_string *uniqid; in PHP_FUNCTION() local
74 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10); in PHP_FUNCTION()
76 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
79 RETURN_STR(uniqid); in PHP_FUNCTION()
/PHP-8.0/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-8.0/tests/strings/
H A D001.phpt178 echo "Testing uniqid(true): ";
180 $ui1 = uniqid($str, true);
181 $ui2 = uniqid($str, true);
191 echo "Testing uniqid(false): ";
193 $ui1 = uniqid($str);
195 $ui2 = uniqid($str);
222 Testing uniqid(true): passed
223 Testing uniqid(false): passed
/PHP-8.0/ext/standard/tests/filters/
H A Dbug22538.phpt14 $path1 = sprintf("%s/%s%da", __DIR__, uniqid(), time());
15 $path2 = sprintf("%s/%s%db", __DIR__, uniqid(), time());
/PHP-8.0/ext/standard/tests/dir/
H A Dbug72625.phpt12 $base = sys_get_temp_dir() . "/" . md5(uniqid());
14 $base = "$base/" . md5(uniqid());
/PHP-8.0/sapi/cgi/tests/
H A Dbug75574_utf8.phpt19 $fn = __DIR__ . DIRECTORY_SEPARATOR . md5(uniqid());
/PHP-8.0/ext/zip/tests/
H A Dbug64342_0.phpt13 $f = md5(uniqid()) . '.txt';
/PHP-8.0/ext/session/tests/
H A Dbug79091.phpt43 return uniqid();
H A Dsession_commit_variation5.phpt14 $id = md5(uniqid());
H A Dgh9583.phpt25 //public function create_sid() { return uniqid(); }
H A Dgh9583-extra.phpt25 //public function create_sid() { return uniqid(); }
/PHP-8.0/ext/standard/tests/file/
H A Dbug72035.phpt13 $fl = __DIR__ . DIRECTORY_SEPARATOR . md5(uniqid()) . ".php";
/PHP-8.0/ext/sqlite3/tests/
H A Dsqlite3_21_security.phpt12 $file = uniqid() . '.db';
/PHP-8.0/ext/pgsql/tests/
H A Dbug72028.phpt13 $table = "bug72028_" . md5(uniqid(time()));
/PHP-8.0/ext/sockets/tests/
H A Dunixloop.phpt14 $sock_path = sprintf("/tmp/%s.sock", uniqid());
/PHP-8.0/ext/standard/tests/streams/
H A Dbug70198.phpt19 $srv_fl = __DIR__ . "/bug70198_svr_" . md5(uniqid()) . ".php";
/PHP-8.0/ext/soap/tests/
H A Dbug73037.phpt48 md5(uniqid()),
49 sha1(uniqid()),
/PHP-8.0/sapi/cli/tests/
H A Dcli_process_title_unix.phpt21 $set_title = $original_title = uniqid("title", true);
/PHP-8.0/ext/pdo_mysql/tests/
H A Dconfig.inc43 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');

Completed in 28 milliseconds

12