/php-src/sapi/cli/tests/ |
H A D | bug64529.phpt | 13 exec('which expect', $output, $ret); 15 die("skip no expect installed"); 20 $expect_executable = trim(`which expect`); 22 $script = __DIR__ . "/expect.sh"; 31 expect "php >" 36 expect eof 49 expect "Interactive mode enabled" 54 expect eof
|
/php-src/ext/pgsql/tests/ |
H A D | 08escape.phpt | 17 $expect = "ABC\\\\ABC\\'"; 27 var_dump($expect); 32 $expect = "ABC\\\\\\\\ABC"; 34 if ($expect === $after) { 41 var_dump($expect); 78 $expect = " E'ABC\\\\ABC\\\\'''"; 80 if ($expect === $after) { 87 var_dump($expect); 91 $expect = "\"ABC\ABC\'\""; 93 if ($expect === $after) { [all …]
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_fetch_both.phpt | 15 function fetch($offset, &$db, $query, $expect = null) { 33 if (!is_null($expect) && ($expect != $both)) { 35 var_dump($expect);
|
/php-src/tests/lang/ |
H A D | engine_assignExecutionOrder_002.phpt | 34 // 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-src/ext/pdo_odbc/tests/ |
H A D | autocommit_change_mode.phpt | 44 echo "auto commit ON from ON, expect error\n"; 52 echo "auto commit OFF from ON, expect error\n"; 70 echo "auto commit ON from OFF, expect error\n"; 78 echo "auto commit OFF from OFF, expect error\n"; 113 auto commit ON from ON, expect error 117 auto commit OFF from ON, expect error 125 auto commit ON from OFF, expect error 129 auto commit OFF from OFF, expect error
|
H A D | max_columns.phpt | 37 $expect = str_repeat('i', $row[0]); 38 if (strcmp($expect, $row[1])) { 40 printf("Expected %d bytes, got %d\n", strlen($expect), strlen($row['data'])); 41 echo bin2hex($expect) . "\n";
|
/php-src/ext/pdo_firebird/tests/ |
H A D | autocommit_change_mode.phpt | 44 echo "auto commit ON from ON, expect error\n"; 52 echo "auto commit OFF from ON, expect error\n"; 70 echo "auto commit ON from OFF, expect error\n"; 78 echo "auto commit OFF from OFF, expect error\n"; 113 auto commit ON from ON, expect error 117 auto commit OFF from ON, expect error 125 auto commit ON from OFF, expect error 129 auto commit OFF from OFF, expect error
|
H A D | autocommit.phpt | 38 echo "insert, expect error\n"; 45 echo "select, expect error\n"; 76 insert, expect error 79 select, expect error
|
/php-src/ext/pdo_dblib/tests/ |
H A D | timeout.phpt | 27 // expect some kind of error code 41 // expect some kind of error code 53 // expect some kind of error code 65 // expect some kind of error code
|
H A D | bug_69757.phpt | 25 die('expect TRUE on nextRowset'); 29 die('expect FALSE on nextRowset');
|
/php-src/ext/standard/tests/general_functions/ |
H A D | 003.phpt | 6 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-src/ext/random/tests/03_randomizer/methods/ |
H A D | getBytesFromString_fast_path.phpt | 32 // For powers of two we expect no rejections and thus exactly 43 // We also expect that each possible value appears at least once, if 69 // We expect that each possible value appears at least once, if 82 // In the slow path we expect one call per byte, i.e. 20000 92 // We also expect that each possible value appears at least once, if
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug62593.phpt | 52 $expect = 'No errors found'; 58 $expect = 'Invalid boolean found'; 61 echo $expect;
|
/php-src/ext/standard/tests/file/ |
H A D | lstat_stat_basic.phpt | 54 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 D | stat_basic-win32-mb.phpt | 42 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 D | stat_basic-win32.phpt | 42 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 D | fgets_error.phpt | 25 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false
|
/php-src/ext/zip/tests/ |
H A D | bug7658.phpt | 7 $expect = array( 44 $ar = array_diff($found, $expect);
|
/php-src/sapi/fpm/tests/ |
H A D | socket-close-on-exec.phpt | 30 echo "My sockets (expect to see 2 of them - one ESTABLISHED and one LISTEN):\n"; 40 We expect that both LISTEN (inherited from the master process) and ACCEPTED (ESTABLISHED) 66 My sockets (expect to see 2 of them - one ESTABLISHED and one LISTEN):
|
/php-src/tests/classes/ |
H A D | object_reference_001.phpt | 19 // In ZE1, we would expect "I'm Foo!"
|
/php-src/ext/filter/tests/ |
H A D | 034.phpt | 27 echo "$val failed,'$exp' expect, '$res' received.\n";
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_relaxNGValidate_error1.phpt | 23 Warning: DOMDocument::relaxNGValidate(): Did not expect element pear there in %s on line %d
|
H A D | DOMDocument_relaxNGValidateSource_error1.phpt | 38 Warning: DOMDocument::relaxNGValidateSource(): Did not expect element pear there in %s on line %d
|
/php-src/ext/standard/tests/strings/ |
H A D | strncmp_variation7.phpt | 9 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
|
H A D | strncasecmp_variation7.phpt | 9 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
|