/PHP-5.5/ext/standard/tests/strings/ |
H A D | sprintf_variation50.phpt | 2 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 D | sprintf_variation46.phpt | 2 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 D | bug27278.phpt | 8 $a=sprintf("%02d",$a);
|
H A D | sprintf_variation34_64bit.phpt | 2 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 D | sprintf_variation9.phpt | 2 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 D | sprintf_variation15.phpt | 2 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 D | resourcebundle.inc | 11 return $ret . sprintf( "%5d: %s\n", intl_get_error_code(), intl_get_error_message() );
|
/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | bug_41997.phpt | 15 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 D | pdo_mysql_begintransaction.phpt | 45 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 D | bug49442.phpt | 10 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 D | skipifconnectfailure.inc | 7 …die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect…
|
H A D | mysqli_stmt_fetch_bit.phpt | 30 …!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 D | mysqli_real_escape_string_sjis.phpt | 15 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n", 19 die(sprintf("skip Cannot set charset 'sjis'"));
|
H A D | mysqli_begin_transaction.phpt | 11 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 D | mysqli_fetch_assoc_zerofill.phpt | 17 $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 D | bug42548.phpt | 9 …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 D | run-tests.php | 2244 $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 D | mysqlnd_bt.c | 170 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 D | bug53649.phpt | 9 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 D | main.c | 429 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 D | skipifbindfailure.inc | 9 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 D | bug63435.phpt | 8 $datetime = Datetime::createFromFormat("u", sprintf("%06ld", $i));
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_trace_pread.c | 40 sprintf(buf, "/proc/%d/" PROC_MEM_FILE, (int) pid); in fpm_trace_ready()
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | regposerr.c | 87 sprintf(tbuf, "undefined error code (%d)", posix_ecode); in regerror()
|
/PHP-5.5/ext/ereg/ |
H A D | regex.patch | 27 - sprintf(convbuf, "REG_0x%x", target); 57 - sprintf(localbuf, "%d", r->code);
|