Home
last modified time | relevance | path

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

123

/PHP-7.3/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.3/ext/standard/tests/math/
H A Dexp_error.phpt2 Test exp() - wrong params for exp()
7 exp();
8 exp(23,true);
11 Warning: exp() expects exactly 1 parameter, 0 given in %s on line %d
13 Warning: exp() expects exactly 1 parameter, 2 given in %s on line %d
H A Dexp_variation1.phpt2 Test exp() function : usage variations - different data types as $arg argument
7 /* Prototype : float exp ( float $arg )
12 echo "*** Testing exp() : usage variations ***\n";
81 // loop through each element of $inputs to check the behaviour of exp()
85 var_dump(exp($input));
92 *** Testing exp() : usage variations ***
144 Warning: exp() expects parameter 1 to be float, string given in %s on line %d
149 Warning: exp() expects parameter 1 to be float, string given in %s on line %d
154 Warning: exp() expects parameter 1 to be float, array given in %s on line %d
159 Warning: exp() expects parameter 1 to be float, string given in %s on line %d
[all …]
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.3/ext/standard/tests/file/windows_acls/
H A Dbug44859.phpt23 foreach ($iteration as $perms => $exp) {
27 if (is_writable($path) == $exp) {
30 var_dump(is_writable($path), $exp);
39 foreach ($iteration as $perms => $exp) {
43 if (is_writable($path) == $exp) {
46 var_dump(is_writable($path), $exp);
H A Dbug44859_2.phpt23 foreach ($iteration as $perms => $exp) {
27 if (is_readable($path) == $exp) {
30 var_dump(is_readable($path), $exp);
39 foreach ($iteration as $perms => $exp) {
43 if (is_readable($path) == $exp) {
46 var_dump(is_readable($path), $exp);
H A Dbug44859_4.phpt25 foreach ($iteration as $perms => $exp) {
29 if (is_readable($path) == $exp) {
32 var_dump(is_readable($path), $exp);
41 foreach ($iteration as $perms => $exp) {
45 if (is_readable($path) == $exp) {
48 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.3/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.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-7.3/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.3/ext/reflection/tests/
H A D001.phpt23 $exp = array (
63 foreach($exp as $m)
65 if (!in_array($m, $exp))
/PHP-7.3/ext/sodium/tests/
H A Dcrypto_generichash.phpt36 $exp = bin2hex($q);
37 var_dump($exp);
42 var_dump($exp === $act);
/PHP-7.3/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,
/PHP-7.3/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.3/ext/spl/tests/
H A Dunserialize.phpt10 $exp = serialize(new $type());
18 var_dump($exp === $out);
/PHP-7.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 36 milliseconds

123