Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 63) sorted by relevance

123

/PHP-8.3/ext/gd/tests/
H A Dbug53504.phpt22 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,…
23 …['fontSize' => 50, 'angle' => 90, 'x' => 70, 'y' => 350, 'text' => 'AV Teg', 'exp' => [15,-1, 15,-…
27 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 110, 'text' => 'H-Shift', 'exp' => [8,2, 386,…
30 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, …
31 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21…
32 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-…
33 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-…
34 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60…
57 $exp = $test['exp'][$i];
58 if ($bbox[$i] >= $exp - 2 && $bbox[$i] <= $exp + 2) {
[all …]
H A Dimageresolution_png.phpt9 $exp = imagecreate(100, 100);
10 imagecolorallocate($exp, 255, 0, 0);
12 imageresolution($exp, 71);
13 imagepng($exp, $filename);
17 imageresolution($exp, 71, 299);
18 imagepng($exp, $filename);
H A Dimageresolution_jpeg.phpt13 $exp = imagecreate(100, 100);
14 imagecolorallocate($exp, 255, 0, 0);
16 imageresolution($exp, 71);
17 imagejpeg($exp, $filename);
21 imageresolution($exp, 71, 299);
22 imagejpeg($exp, $filename);
H A Dbug43073.phpt11 $exp = [
45 if ($bbox[$j] >= $exp[$i][$j] - 1 && $bbox[$j] <= $exp[$i][$j] + 1) {
48 echo "(expected $exp[$i][$j], got $bbox[$j])";
/PHP-8.3/ext/standard/tests/file/windows_acls/
H A Dbug44859.phpt24 foreach ($iteration as $perms => $exp) {
28 if (is_writable($path) == $exp) {
31 var_dump(is_writable($path), $exp);
40 foreach ($iteration as $perms => $exp) {
44 if (is_writable($path) == $exp) {
47 var_dump(is_writable($path), $exp);
H A Dbug44859_2.phpt24 foreach ($iteration as $perms => $exp) {
28 if (is_readable($path) == $exp) {
31 var_dump(is_readable($path), $exp);
40 foreach ($iteration as $perms => $exp) {
44 if (is_readable($path) == $exp) {
47 var_dump(is_readable($path), $exp);
H A Dbug44859_4.phpt26 foreach ($iteration as $perms => $exp) {
30 if (is_readable($path) == $exp) {
33 var_dump(is_readable($path), $exp);
42 foreach ($iteration as $perms => $exp) {
46 if (is_readable($path) == $exp) {
49 var_dump(is_readable($path), $exp);
H A Dbug44859_3.phpt22 foreach ($iteration as $file => $exp) {
25 if (is_executable($path) == $exp) {
28 var_dump(is_executable($path), $exp);
/PHP-8.3/ext/filter/tests/
H A D034.phpt24 foreach($booleans as $val=>$exp) {
26 if ($res !== $exp) {
27 echo "$val failed,'$exp' expect, '$res' received.\n";
H A D030.phpt52 foreach ($ipv6_test as $ip => $exp) {
55 if ($exp != $out) {
56 echo "$ip failed (expected ", $exp?"true":"false", ", got ",
/PHP-8.3/ext/standard/tests/math/
H A Dexp_basic.phpt2 Test exp() - basic function test for exp()
23 var_dump(exp($value));
H A Dexp_basiclong_64bit.phpt2 Test exp function : 64bit long tests
24 var_dump(exp($longVal));
/PHP-8.3/ext/fileinfo/tests/
H A Dfinfo_upstream.phpt17 $exp = trim(file_get_contents($tp));
18 if ($i !== $exp) {
19 echo "'$p' failed\nexp: '$exp'\ngot: '$i'\n";
/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_real_escape_string_unicode.phpt36 if (($exp='абра\\\\ка\"да\\'."'".'бра\Zсим\\nсала\\rби\\0м') !==
39 printf("[010] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp));
60 if (($exp='阿卜拉\\\\嘉\"达丰\\'."'".'乳罩\Z辛\\n萨拉\\r毕\\0米') !==
63 printf("[017] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp));
/PHP-8.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_local_infile_directory_allowed.phpt16 function exec_and_count($offset, &$db, $sql, $exp) {
19 if ($ret !== $exp) {
21 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
57 foreach ($expected as $offset => $exp) {
58 foreach ($exp as $key => $value) {
H A Dpdo_mysql_local_infile_overrides_local_infile_directory.phpt16 function exec_and_count($offset, &$db, $sql, $exp) {
19 if ($ret !== $exp) {
21 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
57 foreach ($expected as $offset => $exp) {
58 foreach ($exp as $key => $value) {
H A Dpdo_mysql_exec_load_data.phpt34 function exec_and_count($offset, &$db, $sql, $exp) {
39 if ($ret !== $exp) {
41 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
91 foreach ($expected as $offset => $exp) {
92 foreach ($exp as $key => $value) {
H A Dpdo_mysql_local_infile_directory_denied.phpt16 function exec_and_count($offset, &$db, $sql, $exp) {
19 if ($ret !== $exp) {
21 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
H A Dpdo_mysql_exec_ddl.phpt12 function exec_and_count($offset, &$db, $sql, $exp, $suppress_warning = false) {
21 if ($ret !== $exp) {
23 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
/PHP-8.3/ext/reflection/tests/
H A D001.phpt23 $exp = array (
62 foreach($exp as $m)
64 if (!in_array($m, $exp))
/PHP-8.3/ext/sodium/tests/
H A Dcrypto_generichash.phpt36 $exp = bin2hex($q);
37 var_dump($exp);
42 var_dump($exp === $act);
/PHP-8.3/ext/standard/tests/strings/
H A Dstrncasecmp_variation1.phpt10 … chr($ASCII), 1 ) ); //comparing uppercase letter with corresponding uppercase letter; exp: int(0)
11 …$ASCII + 32), 1 ) ); //comparing uppercase letter with corresponding lowercase letter; exp: int(0)
16 … chr($ASCII), 1 ) ); //comparing lowercase letter with corresponding lowercase letter; exp: int(0)
17 …$ASCII - 32), 1 ) ); //comparing lowercase letter with corresponding uppercase letter; exp: int(0)
H A Dstrncmp_variation1.phpt10 …chr($ASCII), chr($ASCII), 1 ) ); //comparing uppercase letters with uppercase letters; exp: int(0)
11 …II), chr($ASCII + 32), 1 ) ); //comparing uppercase letters with lowercase letters; exp: value < 0
16 …chr($ASCII), chr($ASCII), 1 ) ); //comparing lowercase letters with lowercase letters; exp: int(0)
17 …II), chr($ASCII - 32), 1 ) ); //comparing lowercase letters with uppercase letters; exp: value > 0
/PHP-8.3/ext/spl/tests/
H A Dunserialize.phpt10 $exp = serialize(new $type());
18 var_dump($exp === $out);
/PHP-8.3/scripts/dev/
H A Dcheck_parameters.php129 function check_param($db, $idx, $exp, $optional, $allow_uninit = false) argument
143 if ($db[$idx][1] != $exp) {
144 error("{$db[$idx][0]}: expected '$exp' but got '{$db[$idx][1]}' [".($idx+1).']');
283 foreach ($API_params[$char] as $exp) {
284 check_param($params, ++$j, $exp, $optional, $allow_uninit);

Completed in 49 milliseconds

123