Home
last modified time | relevance | path

Searched refs:test (Results 726 – 750 of 5224) sorted by relevance

1...<<21222324252627282930>>...209

/php-src/ext/soap/tests/soap12/
H A DT40.phpt11 <test:Unknown xmlns:test="http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]/ts-tests"
15 </test:Unknown>
21 include "soap12-test.inc";
/php-src/Zend/tests/
H A Dclosure_032.phpt6 function test(closure $a) {
14 test($c);
51 [function] => test
72 #1 %s(%d): test(Object(Closure))
H A Dmagic_by_ref_002.phpt6 class test {
10 $t = new test;
16 Fatal error: Method test::__set() cannot take arguments by reference in %s on line %d
H A Dmagic_by_ref_003.phpt6 class test {
10 $t = new test;
17 Fatal error: Method test::__get() cannot take arguments by reference in %s on line %d
H A Dmagic_by_ref_004.phpt6 class test {
10 $t = new test;
18 Fatal error: Method test::__unset() cannot take arguments by reference in %s on line %d
/php-src/sapi/cli/tests/
H A Dgh14189.phpt20 \$test = <<<"EOF"
25 echo \$test;
35 php > $test = <<<"EOF"
40 php > echo $test;
/php-src/ext/phar/tests/cache_list/files/
H A Dwrite14.phar3 var_dump($p["test.txt"]->isCompressed());
6 var_dump($p["test.txt"]->isCompressed());
9 6��������������������test.txt������H������E���������/�(P���p� �w��
/php-src/ext/standard/tests/file/
H A Duserstreams_002.phpt20 function test($name, $fd, $return_value) {
33 var_dump(stream_wrapper_register('test', 'test_wrapper'));
36 $fd = fopen("test://foo","r");
39 test("valid stream", $fd, STDIN);
40 test("stream_cast not implemented", $fd2, null);
41 test("return value is false", $fd, false);
42 test("return value not a stream resource", $fd, "foo");
43 test("return value is stream itself", $fd, $fd);
44 test("return value cannot be casted", $fd, $fd2);
/php-src/ext/mysqli/tests/
H A Dmysqli_options_init_command.phpt18 /* TODO: test more options */
19 if (!mysqli_query($link, "DROP TABLE IF EXISTS test") ||
20 !mysqli_query($link, sprintf("CREATE TABLE test(id INT) ENGINE = %s\n", $engine)) ||
21 !mysqli_query($link, "INSERT INTO test(id) VALUES (1)"))
24 if (!$res = mysqli_query($link, "SELECT COUNT(id) AS _num_rows FROM test"))
36 if (true !== mysqli_options($link, MYSQLI_INIT_COMMAND, "INSERT INTO test(id) VALUES (2)"))
43 if (!$res = mysqli_query($link, "SELECT COUNT(id) AS _num_rows FROM test"))
55 …if (true !== mysqli_options($link, MYSQLI_INIT_COMMAND, "INSERT INTO test(i_do_no_exist) VALUES (2…
61 …if (true !== mysqli_options($link, MYSQLI_INIT_COMMAND, "INSERT INTO test(i_do_no_exist) VALUES (2…
/php-src/ext/dom/tests/
H A Dgh12870_b.phpt12 test('http://www.w3.org/XML/1998/namespaceqx', 'foo:xml');
13 test('http://www.w3.org/XML/1998/namespace', 'xml');
14 test('http://www.w3.org/XML/1998/namespace', 'bar:xml');
15 test('', 'xml');
16 test('http://www.w3.org/XML/1998/namespacea', 'xml');
20 test('http://www.w3.org/XML/1998/namespace', 'xmlns:xml');
21 test('http://www.w3.org/XML/1998/namespace', '');
22 test('http://www.w3.org/XML/1998/namespacea', 'xml:foo');
23 test(NULL, 'xml:foo');
/php-src/Zend/tests/nullsafe_operator/
H A D030.phpt14 $test = new Test;
15 var_dump(empty($test?->method(false)));
16 var_dump(empty($test?->method(42)));
/php-src/Zend/tests/return_types/
H A Dinheritance007.phpt8 public static function test() : Traversable {
14 public static function test() : ArrayObject {
19 echo get_class(Bar::test());
/php-src/ext/standard/tests/class_object/
H A Dinterface_exists_variation4.phpt2 Test interface_exists() function : test autoload default value
5 echo "*** Testing interface_exists() : test autoload default value ***\n";
17 *** Testing interface_exists() : test autoload default value ***
/php-src/ext/filter/tests/
H A Dbug81122.phpt8 "https://example.com:\\@test.com/",
9 "https://user:\\epass@test.com",
10 "https://user:\\@test.com",
/php-src/Zend/tests/type_declarations/
H A Dnullable_null.phpt5 function test(Foo $a = null) {
8 test(null);
11 Deprecated: test(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullabl…
H A Dtyped_properties_failed_assign_is_not_init.phpt15 $test = new Test;
17 $test->prop;
22 $test->prop = "foo";
27 $test->prop;
/php-src/ext/mbstring/tests/
H A Dbug30549.phpt7 test('ISO-8859-7', array(0xa4 => 0x20ac, 0xa5 => 0x20af, 0xaa => 0x037a));
8 test('ISO-8859-8', array(0xaf => 0x00af, 0xfd => 0x200e, 0xfe => 0x200f));
9 test('ISO-8859-10', array(0xa4 => 0x012a ));
11 function test($enc, $map) {
/php-src/ext/standard/tests/strings/
H A Dstristr_basic.phpt9 var_dump( stristr("test stRIng", "striNG") );
12 var_dump( stristr("test strinG", "g") );
14 var_dump( stristr("tEst", "test") );
15 var_dump( stristr("teSt", "test") );
/php-src/tests/classes/
H A Dconstants_basic_006.phpt11 eval('class D extends C { const V = \'test\'; }');
26 string(4) "test"
33 string(4) "test"
40 string(4) "test"
/php-src/ext/openssl/tests/
H A Dopenssl_cms_sign_der.phpt15 $assoc_headers = array("To" => "test@test", "Subject" => "testing openssl_cms_sign()");
16 $headers = array("test@test", "testing openssl_cms_sign()");
/php-src/ext/phar/tests/zip/
H A Dfrontcontroller21.phar.phpt11 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
13 QUERY_STRING=test=hi
22 string(18) "/index.php?test=hi"
26 string(45) "/frontcontroller21.phar.php/index.php?test=hi"
/php-src/ext/phar/tests/tar/
H A Dfrontcontroller21.phar.phpt10 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
12 QUERY_STRING=test=hi
21 string(18) "/index.php?test=hi"
25 string(45) "/frontcontroller21.phar.php/index.php?test=hi"
/php-src/ext/gettext/tests/
H A Dgettext_bindtextdomain-cwd.phpt22 var_dump(gettext('Basic test'));
24 var_dump(gettext('Basic test'));
28 string(10) "Basic test"
29 string(12) "A basic test"
/php-src/ext/sqlite3/tests/
H A Dsqlite3_02_create.phpt11 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
14 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
17 var_dump($db->exec('DROP TABLE test'));
28 Warning: SQLite3::exec(): table test already exists in %s on line %d
/php-src/ext/curl/tests/
H A Dcurl_write_callback.phpt7 Writes the value 'test' to a temporary file. Use curl to access this file, passing the output into …
19 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
22 fwrite($fp, "test");
36 test

Completed in 35 milliseconds

1...<<21222324252627282930>>...209