/PHP-7.4/ext/gd/tests/ |
H A D | bug53504.phpt | 21 …['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 D | imageresolution_png.phpt | 11 $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 D | imageresolution_jpeg.phpt | 12 $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 D | bug43073.phpt | 10 $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 D | bug44859.phpt | 24 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 D | bug44859_2.phpt | 24 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 D | bug44859_4.phpt | 26 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 D | bug44859_3.phpt | 22 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 D | bug44098.phpt | 11 $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 D | 034.phpt | 24 foreach($booleans as $val=>$exp) { 26 if ($res !== $exp) { 27 echo "$val failed,'$exp' expect, '$res' received.\n";
|
H A D | 030.phpt | 52 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 D | exp_basic.phpt | 2 Test exp() - basic function test for exp() 24 var_dump(exp($value));
|
H A D | exp_basiclong_64bit.phpt | 2 Test exp function : 64bit long tests 24 var_dump(exp($longVal));
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_unicode.phpt | 45 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 D | 001.phpt | 23 $exp = array ( 63 foreach($exp as $m) 65 if (!in_array($m, $exp))
|
/PHP-7.4/ext/sodium/tests/ |
H A D | crypto_generichash.phpt | 36 $exp = bin2hex($q); 37 var_dump($exp); 42 var_dump($exp === $act);
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec_load_data.phpt | 33 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 D | pdo_mysql_exec_ddl.phpt | 11 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 D | pdo_mysql_exec_select.phpt | 11 function exec_and_count($offset, &$db, $sql, $exp) { 16 if ($ret !== $exp) { 18 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
|
H A D | pdo_mysql_exec.phpt | 11 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 D | pdo_mysql_types_zerofill.phpt | 61 $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 D | unserialize.phpt | 10 $exp = serialize(new $type()); 18 var_dump($exp === $out);
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | strncasecmp_variation1.phpt | 15 … 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 D | strncmp_variation1.phpt | 15 …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 D | check_parameters.php | 130 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);
|