Home
last modified time | relevance | path

Searched refs:test (Results 351 – 375 of 5224) sorted by relevance

1...<<11121314151617181920>>...209

/php-src/ext/phar/tests/zip/
H A D033a.phpt17 $phar->addEmptyDir('test');
27 echo "test dir\n";
28 var_dump($phar['test']->isExecutable());
29 $phar['test']->chmod(0777);
30 var_dump($phar['test']->isExecutable());
31 $phar['test']->chmod(0666);
32 var_dump($phar['test']->isExecutable());
/php-src/sapi/cgi/tests/
H A D004.phpt15 $filename = __DIR__.'/004.test.php';
19 class test {
23 var_dump(test::$pri);
43 <b>Fatal error</b>: Uncaught Error: Cannot access private property test::$pri in %s004.test.php:8
46 thrown in <b>%s004.test.php</b> on line <b>8</b><br />
/php-src/tests/classes/
H A Dclone_004.phpt12 class test extends base {
13 public $b = 'test';
24 $o1 = new test;
42 object(test)#1 (2) {
59 object(test)#2 (2) {
76 object(test)#2 (2) {
/php-src/Zend/tests/
H A Dinclude_stat_is_quiet.phpt9 $path = str_replace('test://', 'file://', $path);
18 stream_wrapper_register('test', StreamWrapper::class);
19 set_include_path('test://foo:test://bar');
31 …ght Error: Failed opening required 'doesnt_exist.php' (include_path='test://foo:test://bar') in %s…
H A Dundef_var_in_verify_return.phpt10 function test(): string {
11 return $test;
14 test();
18 Fatal error: Uncaught ErrorException: Undefined variable $test in %s:%d
21 #1 %s(%d): test()
H A Dnowdoc_005.phpt2 unbraced complex variable replacement test (nowdoc)
9 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
14 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
22 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
23 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
H A Dnowdoc_006.phpt2 braced complex variable replacement test (nowdoc)
9 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
14 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
22 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
23 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
H A Dnowdoc_007.phpt2 braced and unbraced complex variable replacement test (nowdoc)
9 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
14 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
22 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
23 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
H A Dbug34064.phpt7 function test_ref(&$test)
9 $test = "ok";
12 function test($test)
21 $this->test($ar[]);
/php-src/Zend/tests/arg_unpack/
H A Dinvalid_type.phpt6 function test(...$args) {
11 test(...null);
16 test(...42);
21 test(...new stdClass);
27 test(1, 2, 3, ..."foo", ...[4, 5]);
32 test(1, 2, 3, ...new StdClass, ...3.14, ...[4, 5]);
/php-src/ext/standard/tests/file/
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-src/ext/standard/tests/strings/
H A Dbug65230.phpt6 die('skip Windows only test');
15 function test($locale, $value)
29 test('german', 3.41);
30 test('english', 3.41);
31 test('french', 3.41);
32 test('german', 3.41);
/php-src/ext/mysqli/tests/
H A Dgh7837.phpt15 $mysql->query("DROP TABLE IF EXISTS test");
16 $mysql->query("CREATE TABLE test (`ubigint` bigint unsigned NOT NULL) ENGINE=InnoDB");
17 $mysql->query("INSERT INTO test (`ubigint`) VALUES (18446744073709551615)");
18 $mysql->query("INSERT INTO test (`ubigint`) VALUES (9223372036854775808)");
19 $mysql->query("INSERT INTO test (`ubigint`) VALUES (1)");
20 $result = $mysql->query("SELECT ubigint FROM test");
/php-src/ext/phar/tests/cache_list/
H A Dfrontcontroller22.phpt2 Phar front controller include from cwd test 1 [cache_list]
10 if (getenv('SKIP_ASAN')) die('xleak LSan crashes for this test');
21 string(4) "test"
22 string(12) "oof/test.php"
24 Warning: include(./hi.php): Failed to open stream: No such file or directory in phar://%s/oof/test.…
26 …(): Failed opening './hi.php' for inclusion (include_path='%s') in phar://%soof/test.php on line %d
/php-src/Zend/tests/function_arguments/
H A Dsensitive_parameter.phpt6 function test(#[SensitiveParameter] $sensitive)
13 test('sensitive');
17 #0 %ssensitive_parameter.php(10): test(Object(SensitiveParameterValue))
26 string(4) "test"
43 string(4) "test"
/php-src/ext/mbstring/tests/
H A Dzend_multibyte-13.phpt13 __halt_compiler();test
14 test
16 string(10) "test
17 test
H A Dzend_multibyte-14.phpt13 __halt_compiler();test
14 test
16 string(10) "test
17 test
/php-src/ext/opcache/tests/jit/
H A Dfetch_obj_is_typed_prop.phpt14 function test() {
15 $test = new Test;
16 var_dump(isset($test->data[0]));
19 test();
H A Dassign_040.phpt13 function test() {
14 $test = new Test;
15 $test->x = "";
16 $r =& $test->x;
20 test();
/php-src/ext/iconv/tests/
H A Diconv001.phpt2 iconv() test 1
10 $test = "���";
11 var_dump("ISO-8859-1: $test");
12 var_dump("UTF-8: ".iconv( "ISO-8859-1", "UTF-8", $test ) );
/php-src/ext/phar/tests/cache_list/files/
H A Dwrite22.phar3 var_dump($p["test.txt"]->isCompressed());
4 $p["test.txt"]->decompress();
5 var_dump($p["test.txt"]->isCompressed());
8 6��������������������test.txt������H������E���������/�(P���p� �w��
H A Dwrite21.phar3 var_dump($p["test.txt"]->isCompressed());
4 $p["test.txt"]->compress(Phar::GZ);
5 var_dump($p["test.txt"]->isCompressed());
8 6���������������������test.txt���{��H������E�������<?php __HALT_COMPILER();u:ΰ�U��|ZM�̧�Є�…
/php-src/ext/openssl/tests/
H A Dbug65729.phpt24 $expected_names = ['foo.test.com.sg', 'foo.test.com', 'FOO.TEST.COM', 'foo.bar.test.com'];
37 $expected_names = ['foo.test.com.sg', 'foo.test.com', 'FOO.TEST.COM', 'foo.bar.test.com'];
53 $certificateGenerator->saveNewCertAsFileWithKey('*.test.com', $certFile);
64 …rning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.tes…
73 …ing: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.t…
/php-src/ext/zend_test/
H A Dconfig.m41 PHP_ARG_ENABLE([zend-test],
3 [AS_HELP_STRING([--enable-zend-test],
6 if test "$PHP_ZEND_TEST" != "no"; then
7 …PHP_NEW_EXTENSION(zend_test, test.c observer.c fiber.c iterators.c object_handlers.c, $ext_shared,…
/php-src/ext/spl/tests/
H A Dspl_iterator_getcallchildren.phpt11 $test = new RecursiveIteratorIterator($recursiveArrayIterator);
13 var_dump($test->current());
14 $test->next();
15 var_dump($test->current());
17 $output = $test->callGetChildren();

Completed in 46 milliseconds

1...<<11121314151617181920>>...209