Home
last modified time | relevance | path

Searched refs:test (Results 401 – 425 of 4309) sorted by relevance

1...<<11121314151617181920>>...173

/PHP-5.4/Zend/tests/
H A DselfParent_001.phpt9 public static function test() {
17 public static function test() {
22 A::test();
23 B::test();
H A DselfParent_002.phpt9 public static function test() {
17 public static function test() {
22 B::test();
23 A::test();
H A Dand_001.phpt11 $s = "test";
16 $s = "test long";
21 $s = "test";
26 $s = "test";
H A Dargument_restriction_001.phpt6 …public function &test($foo, array $bar, $option = NULL, $extra = "llllllllllllllllllllllllllllllll…
11 public function &test() {
16 Strict Standards: Declaration of Sub::test() should be compatible with & Base::test($foo, array $ba…
H A Dbug48248.phpt10 return $this->test;
16 private $test;
20 var_dump($b->test);
24 Notice: Undefined property: B::$test in %s on line %d
H A Dbug55247.phpt18 $test = new Test();
20 $test->method();
21 $test->$method();
22 $test->{'method'}();
H A Derrmsg_018.phpt6 class test {
13 Strict Standards: Static function test::foo() should not be abstract in %s on line %d
15 Fatal error: Class test contains 1 abstract method and must therefore be declared abstract or imple…
H A Dbug32833.phpt5 $test = array();
6 $test[] .= "ok\n";
7 echo $test[0];
H A Dobjects_006.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo($arg, $arg2 = NUL…
H A Dobjects_007.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
23 Strict Standards: Declaration of test3::foo() should be compatible with test::foo($arg, &$arg2 = NU…
H A Dargument_restriction_002.phpt6 …public function test($foo, array &$bar, $option = NULL, $extra = 3.1415926535897932384626433832795…
11 public function test($foo, array &$bar) {
16 Strict Standards: Declaration of Sub::test() should be compatible with Base::test($foo, array &$bar…
/PHP-5.4/ext/standard/tests/array/
H A Dbug43505.phpt18 $b =& $a['test'];
24 $b =& $a['test'];
29 ["test"]=>
33 ["test"]=>
H A Darray_fill_keys.phpt2 basic array_fill_keys test
7 var_dump(array_fill_keys('test', 1));
11 var_dump(array_fill_keys(array('test', TRUE, 10, 100), ''));
36 ["test"]=>
/PHP-5.4/ext/standard/tests/file/
H A D003.phpt16 foreach ($funcs as $test) {
17 $bb = $test($filename);
24 foreach ($funcs as $test) {
25 $bb = $test($filename);
/PHP-5.4/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-5.4/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-5.4/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-5.4/tests/strings/
H A D001.phpt28 $test = "This is a test";
29 $found1 = strstr($test, 32);
30 $found2 = strstr($test, "a ");
31 if ($found1 != " is a test") {
40 $test = "fola fola blakken";
41 $found1 = strrchr($test, "b");
53 $test = "abCdEfg";
54 $upper = strtoupper($test);
62 $test = "ABcDeFG";
63 $lower = strtolower($test);
[all …]
/PHP-5.4/ext/simplexml/tests/
H A Dbug39662.phpt9 <test>
11 </test>';
34 string(15) "<test>
36 </test>"
/PHP-5.4/ext/ereg/
H A Dconfig0.m413 …if test "$PHP_SAPI" = "apache" || test "$PHP_SAPI" = "apache2filter" || test "$PHP_SAPI" = "apache…
31 if test "$REGEX_TYPE" = "php"; then
40 if test "$REGEX_TYPE" = "php"; then
46 elif test "$REGEX_TYPE" = "system"; then
53 if test "$ac_cv_regex_t_re_magic" = "yes"; then
/PHP-5.4/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-5.4/TSRM/
H A Dtsrm.m416 if eval test "\$$gcc_arg_name" = "yes"; then
42 if test -z "$PTH_PREFIX"; then
56 if test -r "$1/include/st.h"; then
59 elif test -r "$1/st.h"; then
78 if test "$beos_threads" = "1"; then
81 if test "$pthreads_working" != "yes"; then
120 test "$TSRM_PTH" = "yes" && TSRM_PTH=pth-config
122 if test "$TSRM_PTH" != "no"; then
124 elif test "$TSRM_ST" != "no"; then
126 elif test "$TSRM_PTHREADS" != "no"; then

Completed in 33 milliseconds

1...<<11121314151617181920>>...173