Home
last modified time | relevance | path

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

/PHP-5.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 …]
/PHP-5.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-5.3/ext/standard/
H A Duniqid.c44 PHP_FUNCTION(uniqid) in PHP_FUNCTION() argument
52 char *uniqid; in PHP_FUNCTION() local
79 spprintf(&uniqid, 0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10); in PHP_FUNCTION()
81 spprintf(&uniqid, 0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
84 RETURN_STRING(uniqid, 0); in PHP_FUNCTION()
H A Duniqid.h25 PHP_FUNCTION(uniqid);
H A Dconfig.w3218 string.c scanf.c syslog.c type.c uniqid.c url.c var.c \
H A Dconfig.m4582 soundex.c string.c scanf.c syslog.c type.c uniqid.c url.c \
H A Dbasic_functions.c2940 PHP_FE(uniqid, arginfo_uniqid)
/PHP-5.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 = uniqid()."://www.".uniqid().".".uniqid();
/PHP-5.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-5.3/tests/strings/
H A D001.phpt180 echo "Testing uniqid: ";
182 $ui1 = uniqid($str);
183 $ui2 = uniqid($str);
210 Testing uniqid: passed
/PHP-5.3/ext/zip/tests/
H A Dbug64342_0.phpt13 $f = md5(uniqid()) . '.txt';
/PHP-5.3/ext/sqlite3/tests/
H A Dsqlite3_21_security.phpt10 $file = uniqid() . '.db';
/PHP-5.3/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-5.3/ext/pdo_mysql/tests/
H A Dconfig.inc43 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');
H A Dmysql_pdo_test.inc131 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');
/PHP-5.3/ext/mysql/tests/
H A Dconnect.inc12 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');
/PHP-5.3/ext/mysqli/tests/
H A Dconnect.inc70 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');
/PHP-5.3/win32/
H A Dphp5dll.dsp562 SOURCE=..\ext\standard\uniqid.c
720 SOURCE=..\ext\standard\uniqid.h
H A Dphp5dllts.dsp1996 SOURCE=..\ext\standard\uniqid.c
2190 SOURCE=..\ext\standard\uniqid.h
/PHP-5.3/
H A Drun-tests.php1367 $tmp_post = $temp_dir . DIRECTORY_SEPARATOR . uniqid('/phpt.');

Completed in 59 milliseconds