/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | uniqid_error.phpt | 2 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 D | uniqid_basic.phpt | 2 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 D | bug70018.phpt | 13 $test_fl = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid());
|
/PHP-7.3/ext/standard/tests/network/ |
H A D | udgloop.phpt | 10 $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 D | unixloop.phpt | 10 $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 D | uniqid.c | 44 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 D | uniqid.h | 23 PHP_FUNCTION(uniqid);
|
/PHP-7.3/ext/curl/tests/ |
H A D | curl_basic_008.phpt | 8 $addr = "www.".uniqid().".".uniqid(); 16 $url = "http://www.".uniqid().".".uniqid();
|
H A D | curl_basic_010.phpt | 8 $addr = "www.".uniqid().".".uniqid(); 18 curl_setopt($ch, CURLOPT_PROXY, uniqid().":".uniqid());
|
H A D | curl_basic_009.phpt | 10 $url = substr(uniqid(),0,7)."://www.".uniqid().".".uniqid();
|
/PHP-7.3/tests/strings/ |
H A D | 001.phpt | 180 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 D | bug22538.phpt | 14 $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 D | bug72625.phpt | 12 $base = sys_get_temp_dir() . "/" . md5(uniqid()); 14 $base = "$base/" . md5(uniqid());
|
/PHP-7.3/sapi/cgi/tests/ |
H A D | bug75574_utf8_win.phpt | 23 $fn = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid());
|
/PHP-7.3/ext/zip/tests/ |
H A D | bug64342_0.phpt | 13 $f = md5(uniqid()) . '.txt';
|
/PHP-7.3/ext/session/tests/ |
H A D | bug79091.phpt | 43 return uniqid();
|
H A D | session_commit_variation5.phpt | 20 $id = md5(uniqid());
|
/PHP-7.3/ext/sqlite3/tests/ |
H A D | sqlite3_21_security.phpt | 12 $file = uniqid() . '.db';
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | bug72035.phpt | 14 $fl = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid()) . ".php";
|
/PHP-7.3/ext/pgsql/tests/ |
H A D | bug72028.phpt | 13 $table = "bug72028_" . md5(uniqid(time()));
|
/PHP-7.3/ext/sockets/tests/ |
H A D | unixloop.phpt | 14 $sock_path = sprintf("/tmp/%s.sock", uniqid());
|
/PHP-7.3/sapi/cli/tests/ |
H A D | cli_process_title_unix.phpt | 12 $set_title = $original_title = uniqid("title", true);
|
/PHP-7.3/ext/standard/tests/streams/ |
H A D | bug70198.phpt | 17 $srv_fl = dirname(__FILE__) . "/bug70198_svr_" . md5(uniqid()) . ".php";
|
/PHP-7.3/ext/soap/tests/ |
H A D | bug73037.phpt | 46 md5(uniqid()), 47 sha1(uniqid()),
|
/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | config.inc | 43 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');
|