Home
last modified time | relevance | path

Searched refs:percent (Results 1 – 8 of 8) sorted by relevance

/PHP-5.3/ext/standard/tests/strings/
H A Dsimilar_text_basic.phpt10 /* Prototype : proto int similar_text(string str1, string str2 [, float percent])
19 $percent = 0;
20 similar_text("abcdefgh", "efg", $percent);
21 var_dump($percent);
22 similar_text("abcdefgh", "mno", $percent);
23 var_dump($percent);
24 similar_text("abcdefghcc", "c", $percent);
25 var_dump($percent);
26 similar_text("abcdefghabcdef", "zzzzabcdefggg", $percent);
27 var_dump($percent);
H A Dsimilar_text_error.phpt8 /* Prototype : proto int similar_text(string str1, string str2 [, float percent])
15 similar_text("abc", "def", $percent, $extra_arg);
/PHP-5.3/ext/gd/tests/
H A Dimagecopyresampled_basic.phpt38 $percent = 0.5; // new image 50% of orginal
42 $new_width = $width * $percent;
43 $new_height = $height * $percent;
/PHP-5.3/ext/phar/tests/files/
H A Dpear2coverage.phar.php337 $percent = 0;
339 $percent = round(($covered / $total) * 100);
342 if ($percent < 50) {
344 } elseif ($percent < 75) {
349 $output->text($percent . '% code coverage');
362 $percent = $source->coveragePercentage();
364 if ($percent < 50) {
366 } elseif ($percent < 75) {
450 $percent = $source->coveragePercentage();
452 if ($percent < 50) {
[all …]
/PHP-5.3/ext/intl/tests/
H A Dformatter_format.phpt15 * currency and percent formatting.
H A Dformatter_format2.phpt15 * currency and percent formatting.
/PHP-5.3/ext/standard/
H A Dstring.c2919 zval **percent = NULL; local
2924 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|Z", &t1, &t1_len, &t2, &t2_len, &percent)…
2929 convert_to_double_ex(percent);
2934 Z_DVAL_PP(percent) = 0;
2943 Z_DVAL_PP(percent) = sim * 200.0 / (t1_len + t2_len);
H A Dbasic_functions.c2319 ZEND_ARG_INFO(1, percent)

Completed in 39 milliseconds