Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 25 of 53) sorted by relevance

123

/PHP-8.0/sapi/cli/tests/
H A Dbug64529.phpt11 exec('which expect', $output, $ret);
13 die("skip no expect installed");
18 $expect_executable = trim(`which expect`);
20 $script = __DIR__ . "/expect.sh";
29 expect "php >"
34 expect eof
47 expect "Interactive mode enabled"
52 expect eof
/PHP-8.0/ext/pgsql/tests/
H A D08escape.phpt13 $expect = "ABC\\\\ABC\\'";
23 var_dump($expect);
28 $expect = "ABC\\\\\\\\ABC";
30 if ($expect === $after) {
37 var_dump($expect);
73 $expect = " E'ABC\\\\ABC\\\\'''";
75 if ($expect === $after) {
82 var_dump($expect);
86 $expect = "\"ABC\ABC\'\"";
88 if ($expect === $after) {
[all …]
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_fetch_both.phpt15 function fetch($offset, &$db, $query, $expect = null) {
34 if (!is_null($expect) && ($expect != $both)) {
36 var_dump($expect);
/PHP-8.0/tests/lang/
H A Dengine_assignExecutionOrder_002.phpt34 // expect 30,30
50 // list of lists with just variable assignments - expect 100,200,300
57 // expect $x and $y to be null - this fails on php.net 5.2.1 (invalid opcode) - fixed in 5.2.3
62 // list of lists with blanks and nulls expect 10 20 40 50 60 70 80
72 // expect y and z to be undefined
76 // expect h to be defined and be 10
80 // expect cc and dd to be 10 and 30
84 // expect the inner array to be defined
/PHP-8.0/ext/pdo_odbc/tests/
H A Dmax_columns.phpt36 $expect = str_repeat('i', $row[0]);
37 if (strcmp($expect, $row[1])) {
39 printf("Expected %d bytes, got %d\n", strlen($expect), strlen($row['data']));
40 echo bin2hex($expect) . "\n";
H A Dlong_columns.phpt81 $expect = alpha_repeat($row[0]);
82 if (strcmp($expect, $row[1])) {
84 printf("Expected %d bytes, got %d\n", strlen($expect), strlen($row['data']));
85 echo ($expect) . "\n";
/PHP-8.0/ext/standard/tests/general_functions/
H A D003.phpt6 function test_me($title,$expect,$text1,$text2,$cost1=0,$cost2=0,$cost3=0) {
13 if($result==$expect) return 0;
15 echo "$title: result is $result instead of $expect ";
/PHP-8.0/ext/pdo_dblib/tests/
H A Dbug_69757.phpt21 die('expect TRUE on nextRowset');
25 die('expect FALSE on nextRowset');
H A Dtimeout.phpt29 // expect some kind of error code
43 // expect some kind of error code
55 // expect some kind of error code
67 // expect some kind of error code
/PHP-8.0/ext/pdo_pgsql/tests/
H A Dbug62593.phpt50 $expect = 'No errors found';
56 $expect = 'Invalid boolean found';
59 echo $expect;
/PHP-8.0/ext/standard/tests/file/
H A Dlstat_stat_basic.phpt54 var_dump( compare_self_stat($file_stat) ); //expect true
55 var_dump( compare_self_stat($dir_stat) ); //expect true
56 var_dump( compare_self_stat($link_stat) ); // expect true
59 var_dump( compare_self_stat($new_file_stat) ); //expect true
60 var_dump( compare_self_stat($new_dir_stat) ); // expect true
67 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
70 var_dump( compare_stats($file_stat, $new_file_stat, $all_stat_keys, "==", true) ); // expect true
H A Dstat_basic-win32-mb.phpt42 var_dump( compare_self_stat($file_stat) ); //expect true
43 var_dump( compare_self_stat($dir_stat) ); //expect true
46 var_dump( compare_self_stat($new_dir_stat) ); // expect true
53 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
H A Dstat_basic-win32.phpt42 var_dump( compare_self_stat($file_stat) ); //expect true
43 var_dump( compare_self_stat($dir_stat) ); //expect true
46 var_dump( compare_self_stat($new_dir_stat) ); // expect true
53 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
H A Dfgets_error.phpt25 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false
/PHP-8.0/ext/zip/tests/
H A Dbug7658.phpt9 $expect = array(
46 $ar = array_diff($found, $expect);
H A Dbug70322.phpt24 // we don't expect the archive to be created, but clean up just in case...
/PHP-8.0/tests/classes/
H A Dobject_reference_001.phpt19 // In ZE1, we would expect "I'm Foo!"
/PHP-8.0/ext/filter/tests/
H A D034.phpt27 echo "$val failed,'$exp' expect, '$res' received.\n";
/PHP-8.0/ext/dom/tests/
H A DDOMDocument_relaxNGValidate_error1.phpt25 Warning: DOMDocument::relaxNGValidate(): Did not expect element pear there in %s on line %d
H A DDOMDocument_relaxNGValidateSource_error1.phpt40 Warning: DOMDocument::relaxNGValidateSource(): Did not expect element pear there in %s on line %d
/PHP-8.0/ext/standard/tests/strings/
H A Dstrncmp_variation7.phpt9 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
H A Dstrncasecmp_variation7.phpt9 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
/PHP-8.0/Zend/tests/
H A Darginfo_zpp_mismatch.inc5 /* expect input / hang */
H A Dbug78406.phpt38 include $uri; // We expect one more "feature" output at line 3
/PHP-8.0/ext/mysqli/tests/
H A Dgh8058.phpt32 // We expect an exception to be thrown

Completed in 26 milliseconds

123