Home
last modified time | relevance | path

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

12

/PHP-8.4/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.4/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.4/ext/standard/
H A Duniqid.c41 PHP_FUNCTION(uniqid) in PHP_FUNCTION() argument
45 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()
H A Dconfig.w3233 string.c scanf.c syslog.c type.c uniqid.c url.c var.c \
/PHP-8.4/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.4/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.4/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.4/ext/standard/tests/dir/
H A Dbug72625.phpt12 $base = sys_get_temp_dir() . "/" . md5(uniqid());
14 $base = "$base/" . md5(uniqid());
/PHP-8.4/sapi/cgi/tests/
H A Dbug75574_utf8.phpt19 $fn = __DIR__ . DIRECTORY_SEPARATOR . md5(uniqid());
/PHP-8.4/ext/zip/tests/
H A Dbug64342_0.phpt11 $f = md5(uniqid()) . '.txt';
/PHP-8.4/ext/session/tests/user_session_module/
H A Dbug79091.phpt41 return uniqid();
H A Dgh9583.phpt23 //public function create_sid() { return uniqid(); }
H A Dgh9583-extra.phpt23 //public function create_sid() { return uniqid(); }
/PHP-8.4/ext/sqlite3/tests/
H A Dsqlite3_21_security.phpt12 $file = uniqid() . '.db';
/PHP-8.4/ext/standard/tests/file/
H A Dbug72035.phpt13 $fl = __DIR__ . DIRECTORY_SEPARATOR . md5(uniqid()) . ".php";
/PHP-8.4/ext/session/tests/
H A Dsession_commit_variation5.phpt16 $id = md5(uniqid());
/PHP-8.4/ext/sockets/tests/
H A Dunixloop.phpt14 $sock_path = sprintf("/tmp/%s.sock", uniqid());
H A Dsocket_sentto_recvfrom_unix.phpt22 $address = sprintf("/tmp/%s.sock", uniqid());
/PHP-8.4/ext/standard/tests/streams/
H A Dbug70198.phpt19 $srv_fl = __DIR__ . "/bug70198_svr_" . md5(uniqid()) . ".php";
/PHP-8.4/ext/soap/tests/bugs/
H A Dbug73037.phpt44 md5(uniqid()),
45 sha1(uniqid()),
/PHP-8.4/sapi/cli/tests/
H A Dcli_process_title_unix.phpt21 $set_title = $original_title = uniqid("title", true);

Completed in 34 milliseconds

12