Home
last modified time | relevance | path

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

12

/PHP-8.3/ext/standard/tests/general_functions/
H A Duniqid_basic.phpt2 Test uniqid() function : basic functionality
8 var_dump(uniqid());
9 var_dump(uniqid('', true));
10 var_dump(uniqid('', false));
13 echo "uniqid() with a prefix\n";
25 var_dump(uniqid($prefix[$i]));
26 var_dump(uniqid($prefix[$i], true));
27 var_dump(uniqid($prefix[$i], false));
33 *** Testing uniqid() : basic functionality ***
35 uniqid() without a prefix
[all …]
H A Dbug70018.phpt7 $test_fl = __DIR__ . DIRECTORY_SEPARATOR . md5(uniqid());
/PHP-8.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-8.3/ext/standard/
H A Duniqid.c40 PHP_FUNCTION(uniqid) in PHP_FUNCTION() argument
44 zend_string *uniqid; in PHP_FUNCTION() local
81 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, seed); in PHP_FUNCTION()
83 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
86 RETURN_STR(uniqid); in PHP_FUNCTION()
/PHP-8.3/ext/curl/tests/
H A Dcurl_basic_010.phpt9 $addr = "www.".uniqid().".".uniqid();
19 curl_setopt($ch, CURLOPT_PROXY, uniqid().":".uniqid());
H A Dcurl_basic_008.phpt9 $addr = "www.".uniqid().".invalid";
17 $url = "http://www.".uniqid().".invalid";
H A Dcurl_basic_009.phpt11 $url = 'a' . substr(uniqid(),0,6)."://www.example.com";
/PHP-8.3/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.3/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.3/ext/standard/tests/dir/
H A Dbug72625.phpt12 $base = sys_get_temp_dir() . "/" . md5(uniqid());
14 $base = "$base/" . md5(uniqid());
/PHP-8.3/sapi/cgi/tests/
H A Dbug75574_utf8.phpt19 $fn = __DIR__ . DIRECTORY_SEPARATOR . md5(uniqid());
/PHP-8.3/ext/zip/tests/
H A Dbug64342_0.phpt11 $f = md5(uniqid()) . '.txt';
/PHP-8.3/ext/session/tests/user_session_module/
H A Dbug79091.phpt41 return uniqid();
H A Dgh9583-extra.phpt23 //public function create_sid() { return uniqid(); }
H A Dgh9583.phpt23 //public function create_sid() { return uniqid(); }
/PHP-8.3/ext/sqlite3/tests/
H A Dsqlite3_21_security.phpt12 $file = uniqid() . '.db';
/PHP-8.3/ext/standard/tests/file/
H A Dbug72035.phpt13 $fl = __DIR__ . DIRECTORY_SEPARATOR . md5(uniqid()) . ".php";
/PHP-8.3/ext/session/tests/
H A Dsession_commit_variation5.phpt16 $id = md5(uniqid());
/PHP-8.3/ext/pgsql/tests/
H A Dbug72028.phpt15 $table = "bug72028_" . md5(uniqid(time()));
/PHP-8.3/ext/sockets/tests/
H A Dunixloop.phpt14 $sock_path = sprintf("/tmp/%s.sock", uniqid());
/PHP-8.3/ext/standard/tests/streams/
H A Dbug70198.phpt19 $srv_fl = __DIR__ . "/bug70198_svr_" . md5(uniqid()) . ".php";
/PHP-8.3/ext/soap/tests/
H A Dbug73037.phpt44 md5(uniqid()),
45 sha1(uniqid()),
/PHP-8.3/sapi/cli/tests/
H A Dcli_process_title_unix.phpt21 $set_title = $original_title = uniqid("title", true);
/PHP-8.3/ext/pdo_mysql/tests/
H A Dconfig.inc43 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');

Completed in 41 milliseconds

12