Home
last modified time | relevance | path

Searched refs:sprintf (Results 76 – 100 of 361) sorted by relevance

12345678910>>...15

/PHP-5.5/ext/filter/tests/
H A D047.phpt21 $s = sprintf("%o", PHP_INT_MAX);
27 $s = sprintf("%o", ~0);
H A D048.phpt25 $s = sprintf("%x", PHP_INT_MAX);
31 $s = sprintf("%x", ~0);
/PHP-5.5/ext/hash/tests/
H A Dhaval.phpt10 $algo = sprintf('haval%d,%d',$bits,$pass);
17 $algo = sprintf('haval%d,%d',$bits,$pass);
24 $algo = sprintf('haval%d,%d',$bits,$pass);
/PHP-5.5/ext/interbase/tests/
H A Dinterbase.inc18 sprintf("CREATE SCHEMA '%s' USER '%s' PASSWORD '%s' DEFAULT CHARACTER SET %s",$test_base,
72 return sprintf("%02d/%02d/%4d %02d:%02d:%02d",
83 $s .= sprintf("%c", rand() % 256);
93 $s .= sprintf("%c", rand() % 26 + 65);
/PHP-5.5/ext/mysqli/tests/
H A D061.phpt12 die(sprintf("skip Can't connect [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
16 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
43 …if (!mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s' INTO TABLE t_061 FIELDS TERMINATED B…
47 …if (!mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s' INTO TABLE t_061 FIELDS TERMINATED B…
H A Dbug51647.phpt13 die(sprintf("skip Connect failed, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
24 die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
30 die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
33 die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error));
H A Dmysqli_expire_password.phpt14 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
19 die(sprintf("SKIP Needs MySQL 5.6.10 or newer, found MySQL %s\n", $link->server_info));
22 die(sprintf("SKIP Needs libmysql 5.6.10 or newer, found %s\n", mysqli_get_client_version()));
44 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
48 if (!mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'%%'", $db)) ||
49 !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'localhost'", $db))) {
H A Dmysqli_mysqlnd_read_timeout_long.phpt14 …die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error…
17 die(sprintf('skip Needs MySQL 5.0.12+, found version %d.', mysqli_get_server_version($link)));
H A Dmysqli_mysqlnd_read_timeout_zero.phpt14 …die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error…
17 die(sprintf('skip Needs MySQL 5.0.12+, found version %d.', mysqli_get_server_version($link)));
/PHP-5.5/ext/standard/tests/strings/
H A Dsprintf_variation41.phpt2 Test sprintf() function : usage variations - unsigned formats with float values
11 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
16 echo "*** Testing sprintf() : unsigned formats with float values ***\n";
52 var_dump( sprintf($format, $float_value) );
60 *** Testing sprintf() : unsigned formats with float values ***
H A Dsprintf_variation41_64bit.phpt2 Test sprintf() function : usage variations - unsigned formats with float values
7 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
12 echo "*** Testing sprintf() : unsigned formats with float values ***\n";
48 var_dump( sprintf($format, $float_value) );
56 *** Testing sprintf() : unsigned formats with float values ***
H A Dsprintf_variation13.phpt2 Test sprintf() function : usage variations - float formats with strings
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : float formats with strings ***\n";
49 var_dump( sprintf($format, $string_value) );
57 *** Testing sprintf() : float formats with strings ***
H A Dsprintf_variation32.phpt2 Test sprintf() function : usage variations - octal formats with string values
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : octal formats with string values ***\n";
48 var_dump( sprintf($format, $string_value) );
56 *** Testing sprintf() : octal formats with string values ***
H A Dsprintf_variation35.phpt2 Test sprintf() function : usage variations - hexa formats with float values
11 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
16 echo "*** Testing sprintf() : hexa formats with float values ***\n";
48 var_dump( sprintf($format, $float_value) );
56 *** Testing sprintf() : hexa formats with float values ***
H A Dsprintf_variation35_64bit.phpt2 Test sprintf() function : usage variations - hexa formats with float values
7 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
12 echo "*** Testing sprintf() : hexa formats with float values ***\n";
44 var_dump( sprintf($format, $float_value) );
52 *** Testing sprintf() : hexa formats with float values ***
H A Dsprintf_variation44.phpt2 Test sprintf() function : usage variations - unsigned formats with string values
11 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
16 echo "*** Testing sprintf() : unsigned formats with string values ***\n";
56 var_dump( sprintf($format, $string_value) );
64 *** Testing sprintf() : unsigned formats with string values ***
H A Dsprintf_variation44_64bit.phpt2 Test sprintf() function : usage variations - unsigned formats with string values
7 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
12 echo "*** Testing sprintf() : unsigned formats with string values ***\n";
52 var_dump( sprintf($format, $string_value) );
60 *** Testing sprintf() : unsigned formats with string values ***
H A Dsprintf_variation10.phpt2 Test sprintf() function : usage variations - float formats with integer values
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : float formats with integer values ***\n";
48 var_dump( sprintf($format, $int_value) );
56 *** Testing sprintf() : float formats with integer values ***
H A Dsprintf_variation16.phpt2 Test sprintf() function : usage variations - string formats with float values
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : string formats with float values ***\n";
44 var_dump( sprintf($format, $float_value) );
52 *** Testing sprintf() : string formats with float values ***
H A Dsprintf_variation3.phpt2 Test sprintf() function : usage variations - int formats with int values
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : integer formats with integer values ***\n";
46 var_dump( sprintf($format, $int_value) );
54 *** Testing sprintf() : integer formats with integer values ***
/PHP-5.5/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc83 sprintf('%6s ',decoct($stat['uid'])),
84 sprintf('%6s ',decoct($stat['gid'])),
85 sprintf('%11s ',decoct($stat['size'])),
86 sprintf('%11s ',decoct($stat['mtime']))
108 $checksum = pack('a8', sprintf('%6s ', decoct($checksum)));
H A Dcorrupt_tarmaker.php.inc90 sprintf('%6s ',decoct($stat['uid'])),
91 sprintf('%6s ',decoct($stat['gid'])),
92 sprintf('%11s ',decoct($stat['size'])),
93 sprintf('%11s ',decoct($stat['mtime']))
116 $checksum = pack('a8', sprintf('%6s ', decoct($checksum)));
H A Dmake.dangerous.tar.php.inc84 sprintf('%6s ',decoct($stat['uid'])),
85 sprintf('%6s ',decoct($stat['gid'])),
86 sprintf('%11s ',decoct($stat['size'])),
87 sprintf('%11s ',decoct($stat['mtime']))
109 $checksum = pack('a8', sprintf('%6s ', decoct($checksum)));
/PHP-5.5/ext/mysql/tests/
H A Dmysql_field_flags.phpt81 array('label1', sprintf("'%s'", @date("Y-m-d H:i:s"))),
100 $sql = sprintf("CREATE TABLE test(id INT, %s) ENGINE = %s", $columns, $engine);
108 $sql = sprintf("INSERT INTO test(id, %s) VALUES (1, %s)", $values[0], $values[1]);
114 if (!$res = mysql_query(sprintf("SELECT id, %s FROM test", $values[0]), $link)) {
124 if (!preg_match(sprintf('@\s*%s\s*@ismU', $flag), $tmp)) {
129 $tmp = preg_replace(sprintf('@\s*%s\s*@ismU', $flag), '', $tmp);
H A D001.phpt14 $host = sprintf("%s:%s", $host, $socket);
16 $host = sprintf("%s:%s", $host, $port);

Completed in 28 milliseconds

12345678910>>...15