Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 25 of 68) sorted by relevance

123

/php-src/ext/date/tests/
H A Dbug-gh8964-001.phpt7 $actual = new DateTimeImmutable("2022-07-21 15:00:10");
11 $expectedLower = $actual->sub($delta);
12 $expectedUpper = $actual->add($delta);
15 echo $actual ->format( 'H:i:s.u U' ), "\n";
18 var_dump($actual < $expectedLower, $actual > $expectedUpper);
H A Dbug-gh8964-002.phpt9 $actual = new DateTimeImmutable("2022-07-21 15:00:10");
13 $expectedLower = $actual->sub($delta);
14 $expectedUpper = $actual->add($delta);
17 echo $actual ->format( 'H:i:s.u U' ), "\n";
20 var_dump($actual < $expectedLower, $actual > $expectedUpper);
H A Dbug77097.phpt2 Bug #77097 (DateTime::diff gives wrong diff when the actual diff is less than 1 second)
/php-src/ext/gd/tests/
H A Dfunc.inc70 * message is printed, and the actual file is stored right beside the temporary
75 * @param resource $actual
78 function test_image_equals_file($filename, $actual)
82 save_actual_image($actual);
85 $actual = test_to_truecolor($actual);
90 $act_x = imagesx($actual);
91 $act_y = imagesy($actual);
94 save_actual_image($actual);
101 $act_c = imagecolorat($actual, $x, $y);
111 save_actual_image($actual);
[all …]
/php-src/ext/intl/tests/
H A Dformatter_get_locale_variant4.phpt23 Locale::ACTUAL_LOCALE => 'actual',
49 en_UK: actual='en' valid='en'
50 en_US: actual='en_US' valid='en_US'
51 fr_CA: actual='fr_CA' valid='fr_CA'
H A Dformatter_get_locale_variant2.phpt23 Locale::ACTUAL_LOCALE => 'actual',
49 en_UK: actual='en' valid='en'
50 en_US@California: actual='en' valid='en'
51 fr_CA: actual='fr' valid='fr_CA'
H A Dformatter_get_locale_variant3.phpt24 Locale::ACTUAL_LOCALE => 'actual',
50 en_UK: actual='en' valid='en'
51 en_US: actual='en' valid='en_US'
52 fr_CA: actual='fr' valid='fr_CA'
H A Dbug75317.phpt12 function printResult($actual, $expected) {
13 var_dump($actual === $expected ? true : "expected: $expected, actual: $actual");
/php-src/ext/opcache/tests/
H A Dopcache_jit_prof_threshold.phpt13 $actual = opcache_get_configuration()["directives"]["opcache.jit_prof_threshold"];
14 var_dump($actual);
15 var_dump($actual === $expected);
/php-src/ext/standard/tests/strings/
H A Dbug69144.phpt8 if ($expected !== ($actual = strtr($input, array("fo" => "", "foobar" => "", "bar" => "")))) {
9 echo "KO `$input` became `$actual` instead of `$expected`\n";
/php-src/ext/bcmath/tests/
H A Dbcmul_check_overflow.phpt17 $actual = bcmul($num1, $num1);
18 echo $repeat . ': ' . ($actual === $expected ? 'OK' : 'NG') . PHP_EOL;
/php-src/ext/spl/tests/
H A DSplFileInfo_getGroup_basic.phpt17 $actual = $fileInfo->getGroup();
18 var_dump($expected == $actual);
H A DSplFileInfo_getOwner_basic.phpt17 $actual = $fileInfo->getOwner();
18 var_dump($expected == $actual);
H A DDirectoryIterator_getGroup_basic.phpt24 $actual = $dir->getGroup();
25 var_dump($expected == $actual);
H A DDirectoryIterator_getOwner_basic.phpt24 $actual = $dir->getOwner();
25 var_dump($expected == $actual);
/php-src/ext/phar/tests/
H A D016.phpt31 …a): Failed to open stream: phar error: internal corruption of phar "%s" (actual filesize mismatch …
34 …b): Failed to open stream: phar error: internal corruption of phar "%s" (actual filesize mismatch …
38 …d): Failed to open stream: phar error: internal corruption of phar "%s" (actual filesize mismatch …
H A Dpharfileinfo_setmetadata.phpt44 Phar entry is a temporary directory (not an actual entry in the archive), cannot set metadata
45 Phar entry is a temporary directory (not an actual entry in the archive), cannot delete metadata
H A Dpharfileinfo_chmod.phpt28 Phar entry "a" is a temporary directory (not an actual entry in the archive), cannot chmod
H A D016b.phpt24 …a): Failed to open stream: phar error: internal corruption of phar "%s" (actual filesize mismatch …
/php-src/Zend/tests/arrow_functions/
H A D002.phpt2 Arrow functions implicit use must be throwing notices only upon actual use
/php-src/Zend/tests/
H A Dstring_offset_optimization.phpt2 Invalid string offset use where the actual use may be optimized away
/php-src/ext/mbstring/tests/
H A Dmb_str_split_ru.phpt36 echo "$cs WRONG CHUNKS NUMBER: expected/actual: $ceil/$cnt\n";
56 if($size !== $count) printf("Long string splitting error: actual array size: %d expected: %d\n", $c…
/php-src/ext/reflection/tests/
H A DReflectionClassConstant_unset_name.phpt10 // This is unsupported and the actual behavior doesn't matter.
/php-src/ext/curl/tests/
H A Dbug45161.phpt23 // Start actual test
/php-src/.github/ISSUE_TEMPLATE/
H A Dbug_report.yml8 …a minimal way to reproduce the problem and describe what the expected vs actual behavior is. Provi…

Completed in 23 milliseconds

123