Home
last modified time | relevance | path

Searched refs:test (Results 151 – 175 of 5269) sorted by relevance

12345678910>>...211

/PHP-8.2/Zend/tests/type_declarations/
H A Dtyped_properties_073.phpt15 $test = new Test;
16 unset($test->val);
17 var_dump($test);
18 var_dump($val = &$test->val);
19 var_dump($test);
21 $test->prop = "x";
22 var_dump($test, $val);
H A Dtyped_properties_class_loading.phpt15 $test = new Test;
17 $test->propX = new stdClass;
26 $test->propX = new X;
27 var_dump($test->propX);
29 $test->propY = null;
30 $r =& $test->propY;
32 $test->propY = new stdClass;
42 var_dump($test->propY);
/PHP-8.2/ext/opcache/tests/jit/
H A Dinc_023.phpt15 $test = new Test;
16 $test->prop = "a";
17 ++$test->prop;
18 --$test->prop;
19 var_dump(++$test->prop);
20 var_dump(--$test->prop);
H A Dmod_003.phpt17 function test1($test) {
18 $test[0] %= 3;
19 return $test;
21 function test2($test) {
22 $test->prop %= 3;
23 return $test;
/PHP-8.2/ext/simplexml/tests/
H A D000.phpt10 function test($what)
20 test('sxe');
21 test('sxe->elem1');
22 test('sxe->elem1[0]');
27 test('sxe->elem1[1]');
28 test('sxe->elem1[2]');
29 test('sxe->elem11');
32 test('sxe->elem22');
102 ["test"]=>
137 ["test"]=>
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Dpathinfo_basic2.phpt18 'c:\test\adir\afile..txt',
20 'c:\test\adir\afile.',
24 '..\.\..\test\afile.txt',
25 '.././../test/afile',
98 string(19) "c:\test\adir\afile."
126 string(19) "c:\test\adir\afile."
128 string(18) "c:\test\adir\afile"
137 string(18) "c:\test\adir\afile"
186 string(18) "..\.\..\test\afile"
198 string(12) ".././../test"
[all …]
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_log.c116 int token, test; in fpm_log_write() local
133 test = 0; in fpm_log_write()
135 test = 1; in fpm_log_write()
140 if (!test) { in fpm_log_write()
213 if (!test) { in fpm_log_write()
254 if (!test) { in fpm_log_write()
262 if (!test) { in fpm_log_write()
268 if (!test) { in fpm_log_write()
274 if (!test) { in fpm_log_write()
466 if (!test) { in fpm_log_write()
[all …]
/PHP-8.2/ext/dba/tests/
H A Ddba_inifile_creation_matrix.phpt59 This is a test insert
61 This is a test insert
63 This is a test insert
65 This is a test insert
67 This is a test insert
69 This is a test insert
71 This is a test insert
73 This is a test insert
92 This is a test insert
94 This is a test insert
[all …]
/PHP-8.2/ext/phar/tests/files/
H A Dinclude_path.phar.inc2 // test advanced example
7 $phar2['test/file1.php'] = 'test/file1.php
9 $phar['hello/test.php'] = '<?php
14 include 'phar://' . __FILE__ . '/hello/test.php';
15 …lude_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar/test');
16 include 'phar://' . __FILE__ . '/hello/test.php';
/PHP-8.2/ext/opcache/tests/opt/
H A Dcoalesce.phpt15 $test = $test ?? true;
16 return $test;
20 $test ??= true;
21 return $test;
36 0000 T1 = COALESCE CV0($test) 0001
43 0000 T1 = COALESCE CV0($test) 0001
/PHP-8.2/ext/standard/tests/class_object/
H A Dforward_static_call_003.phpt9 public static function test() {
18 public static function test() {
20 forward_static_call(array('parent', 'test'));
28 public static function test() {
30 forward_static_call(array('B', 'test'));
34 A::test();
36 B::test();
38 C::test();
H A Dget_object_vars_basic_001.phpt8 public static function test($b) {
20 public static function test($b) {
29 public static function test($b) {
47 B::test($b);
49 C::test($b);
51 A::test($b);
53 X::test($b);
63 B::test
76 C::test
85 A::test
[all …]
/PHP-8.2/ext/soap/tests/bugs/
H A Dbug41097.phpt7 function test($soap, $array) {
8 $soap->test($array);
13 $soap = new SoapClient(null, array('uri' => 'http://uri/', 'location' => 'test://', 'exceptions' =>…
14 test($soap, array('Foo', 'Bar'));
15 test($soap, array(5 => 'Foo', 10 => 'Bar'));
16 test($soap, array('5' => 'Foo', '10' => 'Bar'));
17 $soap->test(new SoapVar(array('Foo', 'Bar'), APACHE_MAP));
19 $soap->test(new SoapVar(array('Foo', 'Bar'), SOAP_ENC_ARRAY));
H A Dbug30106.phpt11 "schema"=>"<xsd:schema><element name=\"test\" type=\"xsd:string\"/></xsd:schema>",
12 "any"=>"<test>Hello World!</test><test>Bye World!</test>"));
65 …Result><xsd:schema><element name="test" type="xsd:string"/></xsd:schema><test>Hello World!</test><
70 string(65) "<xsd:schema><element name="test" type="xsd:string"/></xsd:schema>"
72 string(48) "<test>Hello World!</test><test>Bye World!</test>"
/PHP-8.2/ext/spl/tests/
H A DDirectoryIterator_getExtension_basic.phpt2 SPL: DirectoryIterator::getExtension() basic test
8 die('Failed to create test directory');
11 $files = array('test.txt', 'test.extension', 'test');
34 $files = array('test.txt', 'test.extension', 'test');
/PHP-8.2/ext/soap/tests/soap12/
H A DT74.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
12 env:role="http://www.w3.org/2003/05/soap-envelope/role/next">foo</test:echoOk>
13 <test:Unknown xmlns:test="http://example.org/ts-tests">
14 <test:raiseFault env:mustUnderstand="1"
16 </test:raiseFault>
17 </test:Unknown>
23 include "soap12-test.inc";
/PHP-8.2/Zend/tests/type_declarations/literal_types/
H A Dtrue_no_coercion.phpt6 function test(true $v) { var_dump($v); }
9 test(1);
14 test('1');
19 test([1]);
24 test(new stdClass());
31 test(): Argument #1 ($v) must be of type true, int given, called in %s on line %d
32 test(): Argument #1 ($v) must be of type true, string given, called in %s on line %d
33 test(): Argument #1 ($v) must be of type true, array given, called in %s on line %d
34 test(): Argument #1 ($v) must be of type true, stdClass given, called in %s on line %d
/PHP-8.2/ext/standard/tests/file/windows_links/
H A Dbug48746_2.phpt8 die('skip windows only test');
18 $dirname = __DIR__ . "\\mnt\\test\\directory";
20 chdir(__DIR__ . "\\mnt\\test");
28 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>");
30 print_r(scandir("$fullpath\\mnt\\test\\directory"));
31 print_r(scandir("$fullpath\\mnt\\test\\mklink_junction"));
32 unlink("$fullpath\\mnt\\test\\directory\\b.php");
35 rmdir(__DIR__ . "\\mnt\\test\\directory");
36 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
37 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
[all …]
/PHP-8.2/Zend/tests/type_declarations/union_types/
H A Dprop_ref_assign.phpt11 $test = new Test;
13 $test->x =& $r;
14 $test->y =& $r;
32 unset($r, $test->x, $test->y);
34 $test->x = 42;
36 $test->y =& $test->x;
41 unset($test->x, $test->y);
43 $test->y = 42.0;
45 $test->x =& $test->y;
/PHP-8.2/ext/pdo_oci/
H A Dconfig.m41 if test -z "$SED"; then
8 if test "$PHP_PDO_OCI_TAIL1" = "a"; then
19 if test -f "$PDO_OCI_LCS"; then
23 elif test -f $PDO_OCI_LCS_BASE.9.0; then
45 if test -d "$PDO_OCI_DIR/lib" && test ! -d "$PDO_OCI_DIR/lib32"; then
47 elif test ! -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then
49 elif test -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then
64 if test "$PHP_PDO_OCI" != "no"; then
66 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
71 if test "$PHP_PDO_OCI" = "yes" || test -z "$PHP_PDO_OCI"; then
[all …]
/PHP-8.2/Zend/tests/traits/
H A Derror_015.phpt8 public function test() { return 3; }
12 public function test() { return 4; }
17 baz::test as zzz;
22 var_dump($x->test());
26 Fatal error: Trait method baz::test has not been applied as bar::test, because of collision with fo…
/PHP-8.2/ext/standard/tests/array/
H A Dcompact_this.phpt8 function test(){
11 })->test()
16 function test(){
19 })->test()
24 function test(){
27 })->test()
/PHP-8.2/ext/opcache/tests/
H A Dpreload_method_static_vars.inc3 public static function test() {
10 Foo::test();
12 Foo::test();
13 Bar::test();
14 Bar::test();
/PHP-8.2/ext/oci8/tests/
H A Dlob_038.phpt119 string(11) "clob test 1"
121 string(11) "clob test 2"
123 string(11) "clob test 3"
135 string(11) "clob test 1"
143 string(11) "clob test 2"
151 string(11) "clob test 3"
161 string(11) "blob test 1"
163 string(11) "blob test 2"
177 string(11) "blob test 1"
185 string(11) "blob test 2"
[all …]
/PHP-8.2/Zend/tests/arg_unpack/
H A Dtraversable_with_by_ref_parameters.phpt6 function test($val1, $val2, $val3, &$ref) {
16 test(1, 2, 3, $b, ...gen([4, 5, 6]));
19 test(...gen([1, 2, 3, 4]));
20 test(1, 2, ...gen([3, 4]));
21 test(...gen([1, 2]), ...gen([3, 4]));
27 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
29 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
31 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…

Completed in 79 milliseconds

12345678910>>...211