Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/gd/tests/
H A Dbug53504.phpt21 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,…
22 …['fontSize' => 50, 'angle' => 90, 'x' => 70, 'y' => 350, 'text' => 'AV Teg', 'exp' => [15,-1, 15,-…
26 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 110, 'text' => 'H-Shift', 'exp' => [8,2, 386,…
29 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, …
30 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21…
31 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-…
32 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-…
33 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60…
56 $exp = $test['exp'][$i];
57 if ($bbox[$i] >= $exp - 2 && $bbox[$i] <= $exp + 2) {
[all …]
H A Dimageresolution_png.phpt11 $exp = imagecreate(100, 100);
12 imagecolorallocate($exp, 255, 0, 0);
14 imageresolution($exp, 71);
15 imagepng($exp, $filename);
19 imageresolution($exp, 71, 299);
20 imagepng($exp, $filename);
H A Dimageresolution_jpeg.phpt12 $exp = imagecreate(100, 100);
13 imagecolorallocate($exp, 255, 0, 0);
15 imageresolution($exp, 71);
16 imagejpeg($exp, $filename);
20 imageresolution($exp, 71, 299);
21 imagejpeg($exp, $filename);
H A Dbug43073.phpt10 $exp = [
44 if ($bbox[$j] >= $exp[$i][$j] - 1 && $bbox[$j] <= $exp[$i][$j] + 1) {
47 echo "(expected $exp[$i][$j], got $bbox[$j])";
/PHP-7.4/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-7.4/ext/imap/tests/
H A Dbug44098.phpt11 $exp = 'Luzon®14 dot CoM';
13 if ($res != $exp) {
14 echo "failed: got <$res>, expected <exp>\n";
/PHP-7.4/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-7.4/ext/standard/tests/math/
H A Dexp_basic.phpt2 Test exp() - basic function test for exp()
24 var_dump(exp($value));
H A Dexp_basiclong_64bit.phpt2 Test exp function : 64bit long tests
24 var_dump(exp($longVal));
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_real_escape_string_unicode.phpt45 if (($exp='абра\\\\ка\"да\\'."'".'бра\Zсим\\nсала\\rби\\0м') !==
48 printf("[010] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp));
69 if (($exp='阿卜拉\\\\嘉\"达丰\\'."'".'乳罩\Z辛\\n萨拉\\r毕\\0米') !==
72 printf("[017] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp));
/PHP-7.4/ext/reflection/tests/
H A D001.phpt23 $exp = array (
63 foreach($exp as $m)
65 if (!in_array($m, $exp))
/PHP-7.4/ext/sodium/tests/
H A Dcrypto_generichash.phpt36 $exp = bin2hex($q);
37 var_dump($exp);
42 var_dump($exp === $act);
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec_load_data.phpt33 function exec_and_count($offset, &$db, $sql, $exp) {
38 if ($ret !== $exp) {
40 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
91 foreach ($expected as $offset => $exp) {
92 foreach ($exp as $key => $value) {
H A Dpdo_mysql_exec_ddl.phpt11 function exec_and_count($offset, &$db, $sql, $exp, $suppress_warning = false) {
20 if ($ret !== $exp) {
22 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
H A Dpdo_mysql_exec_select.phpt11 function exec_and_count($offset, &$db, $sql, $exp) {
16 if ($ret !== $exp) {
18 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
H A Dpdo_mysql_exec.phpt11 function exec_and_count($offset, &$db, $sql, $exp = NULL) {
16 if (!is_null($exp) && ($ret !== $exp)) {
18 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
152 $exp = 0;
155 if ($exp !== $tmp)
157 $exp, gettype($exp),
H A Dpdo_mysql_types_zerofill.phpt61 $exp = $value;
65 $exp = $ret_value;
68 if ($row['label'] !== $exp) {
70 $sql_type, var_export($exp, true), gettype($exp),
/PHP-7.4/ext/spl/tests/
H A Dunserialize.phpt10 $exp = serialize(new $type());
18 var_dump($exp === $out);
/PHP-7.4/ext/standard/tests/strings/
H A Dstrncasecmp_variation1.phpt15 … chr($ASCII), 1 ) ); //comparing uppercase letter with corresponding uppercase letter; exp: int(0)
16 …$ASCII + 32), 1 ) ); //comparing uppercase letter with corresponding lowercase letter; exp: int(0)
21 … chr($ASCII), 1 ) ); //comparing lowercase letter with corresponding lowercase letter; exp: int(0)
22 …$ASCII - 32), 1 ) ); //comparing lowercase letter with corresponding uppercase letter; exp: int(0)
H A Dstrncmp_variation1.phpt15 …chr($ASCII), chr($ASCII), 1 ) ); //comparing uppercase letters with uppercase letters; exp: int(0)
16 …II), chr($ASCII + 32), 1 ) ); //comparing uppercase letters with lowercase letters; exp: value < 0
21 …chr($ASCII), chr($ASCII), 1 ) ); //comparing lowercase letters with lowercase letters; exp: int(0)
22 …II), chr($ASCII - 32), 1 ) ); //comparing lowercase letters with uppercase letters; exp: value > 0
/PHP-7.4/scripts/dev/
H A Dcheck_parameters.php130 function check_param($db, $idx, $exp, $optional, $allow_uninit = false) argument
144 if ($db[$idx][1] != $exp) {
145 error("{$db[$idx][0]}: expected '$exp' but got '{$db[$idx][1]}' [".($idx+1).']');
284 foreach ($API_params[$char] as $exp) {
285 check_param($params, ++$j, $exp, $optional, $allow_uninit);

Completed in 42 milliseconds

123