Home
last modified time | relevance | path

Searched refs:test (Results 451 – 475 of 4858) sorted by relevance

1...<<11121314151617181920>>...195

/PHP-7.0/
H A Dconfigure.in166 if test -n "$with_apache" && test -n "$with_apxs"; then
170 if test -n "$with_apxs2filter" && test -n "$with_apxs2"; then
306 if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then
350 if test "${with_pic+set}" != "set" || test "$with_pic" = "no"; then
796 …if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
873 if test "$GCC" = "yes" || test "$ICC" = "yes"; then
1065 if test -z "$PHP_MODULES" && test -z "$PHP_ZEND_EX"; then
1088 if test -z "$with_pear" && test "$enable_pear" = "no"; then
1125 if test "$PHP_PEAR" = "DEFAULT" || test "$PHP_PEAR" = "yes"; then
1449 if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
[all …]
/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_affected_rows_oo.phpt25 if (!$mysqli->query('DROP TABLE IF EXISTS test'))
31 if (!$mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a')"))
38 $mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a')");
54 if (!$mysqli->query("INSERT IGNORE INTO test(id, label) VALUES (1, 'a')")) {
61 if (!$mysqli->query("INSERT INTO test(id, label) SELECT id + 10, label FROM test"))
67 if (!$mysqli->query("REPLACE INTO test(id, label) values (4, 'd')"))
73 if (!$mysqli->query("REPLACE INTO test(id, label) values (5, 'e')"))
79 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 2"))
85 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 2")) {
92 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 100")) {
[all …]
H A D014.phpt24 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
27 if (!mysqli_query($link, "CREATE TABLE test(a int, b varchar(10)) engine=InnoDB"))
30 if (!mysqli_query($link, "INSERT INTO test VALUES (1, 'foobar')"))
36 if (!mysqli_query($link, "DELETE FROM test"))
39 if (!mysqli_query($link, "INSERT INTO test VALUES (2, 'egon')"))
45 if (!$result = mysqli_query($link, "SELECT * FROM test"))
56 if (!mysqli_query($link, "DELETE FROM test"))
59 if (!mysqli_query($link, "INSERT INTO test VALUES (2, 'egon')"))
65 if (!$result = mysqli_query($link, "SELECT * FROM test"))
75 mysqli_query($link, "DROP TABLE IF EXISTS test");
/PHP-7.0/ext/pdo_mysql/tests/
H A Dbug_44454.phpt20 $db->exec('DROP TABLE IF EXISTS test');
21 $db->exec('CREATE TABLE test(a INT, b INT, UNIQUE KEY idx_ab (a, b))');
22 $db->exec('INSERT INTO test(a, b) VALUES (1, 1)');
24 $stmt = $db->query('SELECT a, b FROM test');
29 $db->exec('INSERT INTO test(a, b) VALUES (1, 1)');
36 $db->exec('DROP TABLE IF EXISTS test');
37 $db->exec('CREATE TABLE test(a INT, b INT, UNIQUE KEY idx_ab (a, b))');
38 $db->exec('INSERT INTO test(a, b) VALUES (1, 1)');
44 $stmt = $db->query('SELECT a, b FROM test');
49 $db->exec('INSERT INTO test(a, b) VALUES (1, 1)');
[all …]
H A Dpdo_mysql_stmt_blobfromsteam.phpt18 if (4 != fwrite($fp, 'test')) {
38 printf("[%03d + 1] Cannot remove old test file\n", $offset);
44 printf("[%03d + 2] Cannot create test file '%s'\n", $offset, $file);
55 $db->exec('DROP TABLE IF EXISTS test');
66 printf("[%03d + 5] Cannot create test file '%s'\n", $offset, $file);
86 $stmt2 = $db->query('SELECT id, label FROM test WHERE id = 1');
95 // Lets test the chr(0) handling in case the streaming has failed:
97 $db->exec('DELETE FROM test');
98 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)');
104 $stmt2 = $db->query('SELECT id, label FROM test WHERE id = 1');
[all …]
H A Dpdo_mysql_prepare_emulated_anonymous.phpt18 printf("[002] Unable to switch to emulated prepared statements, test will fail\n");
20 $db->exec('DROP TABLE IF EXISTS test');
21 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
23 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES(1, '?')");
31 $stmt = $db->prepare('SELECT id, label FROM test');
39 printf("[004] Unable to switch off emulated prepared statements, test will fail\n");
41 $db->exec('DELETE FROM test');
42 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES(1, '?')");
50 $stmt = $db->prepare('SELECT id, label FROM test');
65 $db->exec('DROP TABLE IF EXISTS test');
/PHP-7.0/sapi/cli/tests/
H A D014.phpt10 $filename = dirname(__FILE__)."/014.test.php";
13 $test = "var"; //var
14 /* test class */
15 class test {
24 $o = new test;
39test&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"var"</sp…
/PHP-7.0/ext/pdo/tests/
H A Dbug_65946.phpt17 $db->exec('CREATE TABLE test(id int)');
18 $db->exec('INSERT INTO test VALUES(1)');
23 $sql = 'SELECT TOP 1 * FROM test';
26 $sql = 'SELECT FIRST :limit * FROM test';
29 //$sql = 'SELECT * FROM test FETCH FIRST :limit ROWS ONLY'; // Oracle 12c syntax
30 …$sql = "select id from (select a.*, rownum rnum from (SELECT * FROM test) a where rownum <= :limit…
33 $sql = 'SELECT * FROM test LIMIT :limit';
H A Dpdo_033.phpt23 @$db->exec("DROP TABLE test");
25 $db->query("CREATE TABLE test (t char($len))");
26 $db->query("INSERT INTO test (t) VALUES($quoted)");
28 $stmt = $db->prepare('SELECT * from test');
33 $db->exec("DROP TABLE test");
H A Dpdo_022.phpt5 die('skip this feature is not yet finalized, no test makes sense');
16 * this test file.
18 * test file.
27 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))');
28 $db->exec('insert2', "INSERT INTO test VALUES(:first, :second, :third)");
41 $stmt = $db->prepare("INSERT INTO test VALUES(?, ?, ?)");
47 $select = $db->query('SELECT id, val, val2 FROM test');
56 $select = $db->query('SELECT COUNT(*) FROM test');
/PHP-7.0/ext/soap/tests/bugs/
H A Dbug30799.phpt14 $x = new SoapClient(NULL,array("location"=>"test://",
15 "uri" => "test://",
18 $x->test(new foo());
24test://" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-…
/PHP-7.0/ext/curl/tests/
H A Dcurl_write_file.phpt7 Writes the value 'test' to a temporary file. Use curl to access this file and store the output in a…
13 $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
14 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
17 fwrite($fp, "test");
38 test
/PHP-7.0/ext/standard/tests/strings/
H A Dhtmlentities17.phpt2 htmlentities() / html_entity_decode() #8592 - #9002 table test
18 foreach ($tests as $test) {
19 var_dump(htmlentities(pack('H*', $test[2]), ENT_QUOTES, 'UTF-8'));
22 foreach ($tests as $test) {
23 list(,$result) = unpack('H6', html_entity_decode($test[1], ENT_QUOTES, 'UTF-8'));
/PHP-7.0/ext/standard/tests/math/
H A Dlcg_value_basic.phpt2 Maths test for xapic versions of lcg_value()
6 echo "MATHS test script started\n";
40 echo "MATHS test script completed\n";
45 MATHS test script started
53 MATHS test script completed
/PHP-7.0/sapi/phpdbg/
H A Dtest.php21 function test($x, $y = 0) { function
40 foreach (test(1,2) as $gen)
82 $test = $obj->a; variable
85 $test -= 2;
/PHP-7.0/ext/gd/tests/
H A Dcreatefromgd2.phpt12 echo 'test create from gd2: ';
17 echo 'test create from gd2 part: ';
22 test create from gd2: ok
23 test create from gd2 part: ok
/PHP-7.0/Zend/tests/
H A Dget_class_methods_001.phpt15 static public function test() {
26 Y::test();
36 string(4) "test"
50 string(4) "test"
H A Dxor_002.phpt15 $s1 = "test";
19 $s1 = "test";
23 $s1 = "test long";
27 $s ^= "test long";
H A D023.phpt8 print $$b('test');
19 public function test() {
25 function test() {
29 $a = 'test';
H A Dbug20240.phpt8 class test
31 $t = new test();
42 test::destructor
43 test::__destruct
/PHP-7.0/Zend/tests/traits/bugs/
H A Dabstract-methods04.phpt23 $test = new TraitsTest1();
24 $test->hello();
31 $test = new TraitsTest2();
32 $test->hello();
/PHP-7.0/ext/mysqli/
H A Dconfig.m418 if test -r $i; then
24 if test -n "$MYSQL_SOCK"; then
48 if test "$PHP_MYSQLI" = "yes" || test "$PHP_MYSQLI" = "mysqlnd"; then
52 elif test "$PHP_MYSQLI" != "no"; then
57 if test "$PHP_EMBEDDED_MYSQLI" = "yes"; then
62 elif test "$enable_maintainer_zts" = "yes"; then
69 if test -x "$MYSQL_CONFIG" && $MYSQL_CONFIG $MYSQL_LIB_CFG > /dev/null 2>&1; then
107 if test "$PHP_MYSQLI" != "no"; then
109 if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
113 elif test "$PHP_MYSQL_SOCK" = "yes"; then
[all …]
/PHP-7.0/TSRM/
H A Dtsrm.m417 if eval test "\$$gcc_arg_name" = "yes"; then
45 if test -z "$PTH_PREFIX"; then
59 if test -r "$1/include/st.h"; then
62 elif test -r "$1/st.h"; then
81 if test "$beos_threads" = "1"; then
84 if test "$pthreads_working" != "yes"; then
122 test "$TSRM_PTH" = "yes" && TSRM_PTH=pth-config
124 if test "$TSRM_PTH" != "no"; then
126 elif test "$TSRM_ST" != "no"; then
128 elif test "$TSRM_PTHREADS" != "no"; then
/PHP-7.0/ext/reflection/tests/
H A Dbug40431.phpt6 echo "=== 1st test ===\n";
19 echo "=== 2nd test ===\n";
39 echo "=== 3rd test ===\n";
56 echo "=== 4th test ===\n";
80 === 1st test ===
94 === 2nd test ===
108 === 3rd test ===
122 === 4th test ===
/PHP-7.0/ext/standard/tests/file/
H A Drealpath_basic3.phpt13 mkdir("$file_path/realpath_basic/home/test/", 0777, true);
15 $file_handle1 = fopen("$file_path/realpath_basic/home/test/realpath_basic.tmp", "w");
27 "./realpath_basic//home/test//../test/./realpath_basic.tmp",
34 ".///realpath_basic/home//..//././test//realpath_basic.tmp",
35 "./realpath_basic/home/../home/../test/..realpath_basic.tmp"
54 unlink("$name_prefix/home/test/realpath_basic.tmp");
57 rmdir("$name_prefix/home/test/");

Completed in 61 milliseconds

1...<<11121314151617181920>>...195