Home
last modified time | relevance | path

Searched refs:test (Results 226 – 250 of 4695) sorted by relevance

12345678910>>...188

/PHP-5.6/Zend/tests/
H A Dheredoc_007.phpt2 braced and unbraced complex variable replacement test (heredoc)
9 This is heredoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
14 This is heredoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
22 This is heredoc test #s 1, 2, 3, and 4.
23 This is heredoc test #s 1, 2, 3, and 4.
H A Dclosure_027.phpt6 function test(closure $a) {
11 test(function() { return new stdclass; });
13 test(function() { });
16 test($a);
18 test(new stdclass);
31 Catchable fatal error: Argument 1 passed to test() must be an instance of Closure, instance of stdC…
H A Dbug39445.phpt5 class test {
12 $test = new test();
13 echo strtoupper($test);
H A Dobjects_027.phpt13 public function test() {
19 $foo->test();
20 $foo::test();
22 call_user_func(array($foo, 'test'));
23 call_user_func(array('foo', 'test'));
30 Strict Standards: Non-static method foo::test() should not be called statically in %s on line %d
38 …func() expects parameter 1 to be a valid callback, non-static method foo::test() should not be cal…
H A Dbug31102.phpt6 $test = 0;
10 global $test;
12 echo __METHOD__ . "($class,$test)\n";
13 switch($test)
27 while($test++ < 5)
31 eval("\$bug = new Test$test();");
/PHP-5.6/ext/pdo/tests/
H A Dbug_47769.phpt11 class test extends PDO
27 $test = new test('sqlite::memory:');
28 $test->quote('foo');
29 $test->isProtected();
37 Fatal error: Call to protected method test::isProtected() from context '' in %s on line %d
/PHP-5.6/ext/soap/tests/soap12/
H A DT38_2.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
13 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
14 <test:echoOk xmlns:test="http://example.org/ts-tests"
16 env:role="http://example.org/ts-tests/C">bar</test:echoOk>
22 include "soap12-test.inc";
H A DT38_1.phpt11 <test:Unknown xmlns:test="http://example.org/ts-tests"
13 env:role="http://example.org/ts-tests/C">foo</test:Unknown>
14 <test:echoOk xmlns:test="http://example.org/ts-tests"
16 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
22 include "soap12-test.inc";
/PHP-5.6/ext/sqlite3/tests/
H A Dsqlite3_25_create_aggregate.phpt2 SQLite3::createAggregate() test
25 var_dump($db->exec('CREATE TABLE test (a INTEGER, b INTEGER)'));
28 var_dump($db->exec("INSERT INTO test (a, b) VALUES (1, -1)"));
29 var_dump($db->exec("INSERT INTO test (a, b) VALUES (2, -2)"));
30 var_dump($db->exec("INSERT INTO test (a, b) VALUES (3, -3)"));
31 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)"));
32 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)"));
36 print_r($db->querySingle("SELECT S(a), S(b) FROM test", true));
/PHP-5.6/ext/sybase_ct/tests/
H A Dbug29064.phpt7 /* This file is part of PHP test framework for ext/sybase_ct
12 require('test.inc');
16 // Create a temporary table and fill it with test values
18 create table #test (
32 insert into #test (
57 insert into #test (
83 var_dump(sybase_select_ex($db, 'select * from #test'));
86 var_dump(sybase_query('drop table #test', $db));
93 >>> Query: select * from #test
/PHP-5.6/ext/pcre/tests/
H A Dpreg_match_all_edit_basic.phpt11 $string = 'Hello, world! This is a test. This is another test. \[4]. 34534 string.';
16 …ing, $match2, PREG_SET_ORDER)); //finds "This is a test." and "This is another test." (no…
25 ….*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches)
47 string(15) "This is a test."
49 string(5) " test"
54 string(21) "This is another test."
56 string(11) "nother test"
/PHP-5.6/win32/
H A Dfnmatch.c62 char c, test; in fnmatch() local
107 while ((test = *string) != EOS) { in fnmatch()
110 if (test == '/' && flags & FNM_PATHNAME) in fnmatch()
153 rangematch(const char *pattern, char test, int flags) in rangematch() argument
169 test = tolower((unsigned char)test); in rangematch()
191 if ((unsigned char)c <= (unsigned char)test && in rangematch()
192 (unsigned char)test <= (unsigned char)c2) in rangematch()
194 } else if (c == test) in rangematch()
/PHP-5.6/ext/openssl/tests/
H A Dbug65729.phpt19 $expected_names = ['foo.test.com.sg', 'foo.test.com', 'FOO.TEST.COM', 'foo.bar.test.com'];
31 $expected_names = ['foo.test.com.sg', 'foo.test.com', 'FOO.TEST.COM', 'foo.bar.test.com'];
46 …rning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.tes…
55 …ing: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.t…
/PHP-5.6/ext/standard/tests/strings/
H A Dbug44703.phpt6 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 1));
7 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 12));
8 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 125));
9 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 1252));
10 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 12526));
26 string(35) "&lt;a href='test'&gt;Test&lt;/a&gt;"
29 string(35) "&lt;a href='test'&gt;Test&lt;/a&gt;"
32 string(35) "&lt;a href='test'&gt;Test&lt;/a&gt;"
33 string(35) "&lt;a href='test'&gt;Test&lt;/a&gt;"
36 string(35) "&lt;a href='test'&gt;Test&lt;/a&gt;"
/PHP-5.6/ext/soap/tests/schema/
H A Dtest_schema.inc4 function test($input) {
15 xmlns:tns="http://test-uri/"
19 targetNamespace="http://test-uri/"
22 …<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://test-uri/" $attributeForm…
32 <operation name="test">
38 <operation name="test">
39 <soap:operation soapAction="#test" style="$style"/>
41 …<soap:body use="$use" namespace="http://test-uri/" encodingStyle="http://schemas.xmlsoap.org/soap/…
47 <soap:address location="test://" />
60 $y->addfunction("test");
[all …]
/PHP-5.6/ext/pdo_sqlite/
H A Dconfig.m410 if test "$PHP_PDO_SQLITE" != "no"; then
12 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
21 if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then
23 elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then
25 elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then
35 if test "$PHP_PDO_SQLITE" != "yes"; then
43 if test -r $i/$SEARCH_FOR; then
49 if test -z "$PDO_SQLITE_DIR"; then
76 if test "$enable_maintainer_zts" = "yes"; then
85 if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" != "yes"; then
[all …]
/PHP-5.6/ext/pdo_pgsql/
H A Dconfig.m49 if test "$PHP_PDO_PGSQL" != "no"; then
11 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
19 if test -x $i/pg_config; then
25 if test -n "$PG_CONFIG"; then
32 if test "$PHP_PDO_PGSQL" = "yes"; then
40 if test -r "$i/$j/libpq-fe.h"; then
43 if test -r "$i/$j/pg_config.h"; then
50 if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then
57 if test -z "$PGSQL_INCLUDE"; then
61 if test -z "$PGSQL_LIBDIR"; then
[all …]
/PHP-5.6/ext/standard/tests/file/
H A Dpathinfo_variaton.phpt26 "../foo/test.link",
333 string(4) "test"
335 string(4) "test"
338 string(4) "test"
340 string(4) "test"
389 string(4) "test"
391 string(4) "test"
394 string(4) "test"
396 string(4) "test"
411 string(4) "test"
[all …]
H A Dbug39538.phpt5 …y("\"\nthis is an test\", \"next data\", \"p\narsed\"","\"\r\nthis is an test\", \"next data\", \"…
19 this is an test
27 this is an test
36 this is an test
/PHP-5.6/ext/oci8/
H A Dconfig.m45 if test -z "$SED"; then
12 if test "$PHP_OCI8_TAIL1" = "a"; then
20 if test ! -d "$OCI8_DIR"; then
23 if test -d "$OCI8_DIR/lib" && test ! -d "$OCI8_DIR/lib32"; then
25 elif test ! -d "$OCI8_DIR/lib" && test -d "$OCI8_DIR/lib32"; then
27 elif test -d "$OCI8_DIR/lib" && test -d "$OCI8_DIR/lib32"; then
45 if test -f "$OCI8_NNZ" && test -f "$OCI8_LCS"; then
63 elif test -f "$OCI8_LCS"; then
182 if test -z "$PHP_OCI8"; then
266 if test "$PHP_OCI8" = "yes" && test -z "$ORACLE_HOME"; then
[all …]
/PHP-5.6/Zend/tests/bug67436/
H A Dbug67436_nohandler.phpt19 $b->test();
22 Strict Standards: Declaration of b::test() should be compatible with a::test($arg = c::TESTCONSTANT…
23 b::test()
24 a::test(c::TESTCONSTANT)
/PHP-5.6/Zend/tests/traits/
H A Derror_011.phpt7 public function test() { return 3; }
10 public function test() { return 2; }
14 public function test() { return 1; }
22 var_dump($x->test());
26 Fatal error: Trait method test has not been applied, because there are collisions with other trait …
/PHP-5.6/ext/oci8/tests/
H A Dlob_039.phpt5 $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
30 var_dump($clob->write("clob test 1"));
33 var_dump($clob->write("clob test 2"));
36 var_dump($clob->write("clob test 3"));
61 string(11) "clob test 1"
63 string(22) " clob test 2"
65 string(33) " clob test 3"
/PHP-5.6/ext/mbstring/tests/
H A Dmb_send_mail03.phpt2 mb_send_mail() test 3 (lang=English)
20 mb_send_mail($to, mb_language(), "test");
25 mb_send_mail($to, "test ".mb_language(), "test");
37 Subject: test English
42 test
/PHP-5.6/ext/pgsql/tests/
H A Dconfig.inc3 // These vars are used to connect db and create test table.
7 // "test" database must exist. i.e. "createdb test" before testing
8 $conn_str = getenv('PGSQL_TEST_CONNSTR') ?: "host=localhost dbname=test port=5432"; // connectio…
10 $table_name = "php_pgsql_test"; // test table that will be created
11 $table_name_92 = "php_pgsql_test_92"; // test table that will be created

Completed in 40 milliseconds

12345678910>>...188