/PHP-8.3/ext/gd/tests/ |
H A D | bug53504.phpt | 22 …['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 D | imageresolution_png.phpt | 9 $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 D | imageresolution_jpeg.phpt | 13 $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 D | bug43073.phpt | 11 $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 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-8.3/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-8.3/ext/standard/tests/math/ |
H A D | exp_basic.phpt | 2 Test exp() - basic function test for exp() 23 var_dump(exp($value));
|
H A D | exp_basiclong_64bit.phpt | 2 Test exp function : 64bit long tests 24 var_dump(exp($longVal));
|
/PHP-8.3/ext/fileinfo/tests/ |
H A D | finfo_upstream.phpt | 17 $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 D | mysqli_real_escape_string_unicode.phpt | 36 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 D | pdo_mysql_local_infile_directory_allowed.phpt | 16 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 D | pdo_mysql_local_infile_overrides_local_infile_directory.phpt | 16 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 D | pdo_mysql_exec_load_data.phpt | 34 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 D | pdo_mysql_local_infile_directory_denied.phpt | 16 function exec_and_count($offset, &$db, $sql, $exp) { 19 if ($ret !== $exp) { 21 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
|
H A D | pdo_mysql_exec_ddl.phpt | 12 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 D | 001.phpt | 23 $exp = array ( 62 foreach($exp as $m) 64 if (!in_array($m, $exp))
|
/PHP-8.3/ext/sodium/tests/ |
H A D | crypto_generichash.phpt | 36 $exp = bin2hex($q); 37 var_dump($exp); 42 var_dump($exp === $act);
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | strncasecmp_variation1.phpt | 10 … 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 D | strncmp_variation1.phpt | 10 …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 D | unserialize.phpt | 10 $exp = serialize(new $type()); 18 var_dump($exp === $out);
|
/PHP-8.3/scripts/dev/ |
H A D | check_parameters.php | 129 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);
|