/PHP-5.5/ext/filter/tests/ |
H A D | 047.phpt | 21 $s = sprintf("%o", PHP_INT_MAX); 27 $s = sprintf("%o", ~0);
|
H A D | 048.phpt | 25 $s = sprintf("%x", PHP_INT_MAX); 31 $s = sprintf("%x", ~0);
|
/PHP-5.5/ext/hash/tests/ |
H A D | haval.phpt | 10 $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 D | interbase.inc | 18 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 D | 061.phpt | 12 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 D | bug51647.phpt | 13 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 D | mysqli_expire_password.phpt | 14 …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 D | mysqli_mysqlnd_read_timeout_long.phpt | 14 …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 D | mysqli_mysqlnd_read_timeout_zero.phpt | 14 …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 D | sprintf_variation41.phpt | 2 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 D | sprintf_variation41_64bit.phpt | 2 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 D | sprintf_variation13.phpt | 2 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 D | sprintf_variation32.phpt | 2 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 D | sprintf_variation35.phpt | 2 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 D | sprintf_variation35_64bit.phpt | 2 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 D | sprintf_variation44.phpt | 2 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 D | sprintf_variation44_64bit.phpt | 2 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 D | sprintf_variation10.phpt | 2 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 D | sprintf_variation16.phpt | 2 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 D | sprintf_variation3.phpt | 2 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 D | tarmaker.php.inc | 83 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 D | corrupt_tarmaker.php.inc | 90 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 D | make.dangerous.tar.php.inc | 84 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 D | mysql_field_flags.phpt | 81 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 D | 001.phpt | 14 $host = sprintf("%s:%s", $host, $socket); 16 $host = sprintf("%s:%s", $host, $port);
|