Home
last modified time | relevance | path

Searched refs:sprintf (Results 126 – 150 of 361) sorted by relevance

12345678910>>...15

/PHP-5.5/ext/standard/tests/strings/
H A Dsprintf_variation50.phpt2 Test sprintf() function : usage variations - scientific formats with string values
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : scientific formats with string values ***\n";
49 var_dump( sprintf($format, $string_value) );
57 *** Testing sprintf() : scientific formats with string values ***
H A Dsprintf_variation46.phpt2 Test sprintf() function : usage variations - scientific formats with integer values
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : scientific formats with integer values ***\n";
47 var_dump( sprintf($format, $integer_value) );
55 *** Testing sprintf() : scientific formats with integer values ***
H A Dbug27278.phpt8 $a=sprintf("%02d",$a);
H A Dsprintf_variation34_64bit.phpt2 Test sprintf() function : usage variations - hexa formats with integer values
7 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
12 echo "*** Testing sprintf() : hexa formats with integer values ***\n";
49 var_dump( sprintf($format, $integer_value) );
57 *** Testing sprintf() : hexa formats with integer values ***
H A Dsprintf_variation9.phpt2 Test sprintf() function : usage variations - float formats with float values
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
10 echo "*** Testing sprintf() : float formats with float values ***\n";
60 var_dump( sprintf($format, $float_value) );
68 *** Testing sprintf() : float formats with float values ***
H A Dsprintf_variation15.phpt2 Test sprintf() function : usage variations - string formats with string values
5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]])
11 echo "*** Testing sprintf() : string formats with string values ***\n";
72 var_dump( sprintf($format, $string_value) );
80 *** Testing sprintf() : string formats with string values ***
/PHP-5.5/ext/intl/tests/
H A Dresourcebundle.inc11 return $ret . sprintf( "%5d: %s\n", intl_get_error_code(), intl_get_error_message() );
/PHP-5.5/ext/pdo_mysql/tests/
H A Dbug_41997.phpt15 die(sprintf("skip Cannot determine MySQL Server version\n"));
19 die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
H A Dpdo_mysql_begintransaction.phpt45 if (1 !== $db->exec(sprintf('DELETE FROM test WHERE id = %d', $row['id'])))
54 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id']))))
62 $db->exec(sprintf("INSERT INTO test(id, label) VALUES (%d, 'z')", $row['id']));
64 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id']))))
73 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id']))))
86 if (1 !== $db->exec(sprintf('DELETE FROM test WHERE id = %d', $row['id'])))
95 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id']))))
/PHP-5.5/ext/mysqli/tests/
H A Dbug49442.phpt10 die(sprintf("skip Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
43 if (!@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s'
82 if (!@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s'
H A Dskipifconnectfailure.inc7 …die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect…
H A Dmysqli_stmt_fetch_bit.phpt30 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,…
39 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
46 $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value);
H A Dmysqli_real_escape_string_sjis.phpt15 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
19 die(sprintf("skip Cannot set charset 'sjis'"));
H A Dmysqli_begin_transaction.phpt11 die(sprintf("Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
14 die(sprintf("Needs InnoDB support, [%d] %s", $link->errno, $link->error));
79 if (!mysqli_begin_transaction($link, $flag, sprintf("flag %d", $flag))) {
89 if (!mysqli_begin_transaction($link, MYSQLI_TRANS_START_READ_ONLY, sprintf("flag %d", $flag))) {
H A Dmysqli_fetch_assoc_zerofill.phpt17 $sql = sprintf('ALTER TABLE test ADD zero %s UNSIGNED ZEROFILL', $datatype);
23 if (!mysqli_query($link, sprintf('UPDATE test SET zero = %s', $insert))) {
H A Dbug42548.phpt9 …die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error…
12 die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
/PHP-5.5/
H A Drun-tests.php2244 $diff[] = sprintf("%03d- ", $idx1 + 1) . $w[$idx1++];
2379 Exts skipped : ' . sprintf('%4d', $exts_skipped) . '
2380 Exts tested : ' . sprintf('%4d', $exts_tested) . '
2386 Number of tests : ' . sprintf('%4d', $n_total) . ' ' . sprintf('%8d', $x_total);
2395 Tests warned : ' . sprintf('%4d (%5.1f%%)', $sum_results['WARNED'], $percent_results['WARNED']) …
2396 Tests failed : ' . sprintf('%4d (%5.1f%%)', $sum_results['FAILED'], $percent_results['FAILED']) …
2397 Expected fail : ' . sprintf('%4d (%5.1f%%)', $sum_results['XFAILED'], $percent_results['XFAILED']…
2401 Tests leaked : ' . sprintf('%4d (%5.1f%%)', $sum_results['LEAKED'], $percent_results['LEAKED']) …
2405 Tests passed : ' . sprintf('%4d (%5.1f%%)', $sum_results['PASSED'], $percent_results['PASSED']) …
2660 $result = sprintf(
[all …]
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_bt.c170 sprintf(s_tmp, "#%d ", (*num)++); in mysqlnd_build_trace_string()
180 sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_PP(file), line); in mysqlnd_build_trace_string()
221 sprintf(s_tmp, "#%d {main}", num); in mysqlnd_get_backtrace()
/PHP-5.5/ext/mysql/tests/
H A Dbug53649.phpt9 die(sprintf("skip Connect failed, [%d] %s\n", mysqlerrno(), mysqli_error()));
14 die(sprintf("skip [%d] %s\n", mysql_errno($link), mysql_error($link)));
17 die(sprintf("skip Failed to create data file\n"));
/PHP-5.5/ext/ereg/regex/
H A Dmain.c429 sprintf(grump, "start %ld end %ld", (long)sub.rm_so,
442 sprintf(grump, "start %ld end %ld, past end of string",
453 sprintf(grump, "matched `%.*s'", len, p);
459 sprintf(grump, "matched `%.*s' instead", len, p);
472 sprintf(grump, "matched null at `%.20s'", p);
505 sprintf(efbuf, "REG_%s", name);
/PHP-5.5/ext/ldap/tests/
H A Dskipifbindfailure.inc9 die(sprintf("skip Can't bind to LDAP Server - [%d] %s", ldap_errno($link), ldap_error($link)));
/PHP-5.5/ext/date/tests/
H A Dbug63435.phpt8 $datetime = Datetime::createFromFormat("u", sprintf("%06ld", $i));
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_trace_pread.c40 sprintf(buf, "/proc/%d/" PROC_MEM_FILE, (int) pid); in fpm_trace_ready()
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregposerr.c87 sprintf(tbuf, "undefined error code (%d)", posix_ecode); in regerror()
/PHP-5.5/ext/ereg/
H A Dregex.patch27 - sprintf(convbuf, "REG_0x%x", target);
57 - sprintf(localbuf, "%d", r->code);

Completed in 40 milliseconds

12345678910>>...15