Home
last modified time | relevance | path

Searched refs:as (Results 76 – 100 of 4164) sorted by relevance

12345678910>>...167

/PHP-7.2/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_error2.phpt43 var_dump( link(NULL, $linkname) ); // NULL as filename
44 var_dump( link('', $linkname) ); // empty string as filename
45 var_dump( link(' ', $linkname) ); // space as filename
46 var_dump( link(false, $linkname) ); // boolean false as filename
47 var_dump( link($filename, NULL) ); // NULL as linkname
48 var_dump( link($filename, '') ); // '' as linkname
49 var_dump( link($filename, false) ); // false as linkname
59 var_dump( is_link(NULL) ); // NULL as linkname
60 var_dump( is_link('') ); // empty string as linkname
61 var_dump( is_link(' ') ); // space as linkname
[all …]
/PHP-7.2/Zend/tests/type_declarations/
H A Dscalar_reserved2_class_alias.phpt2 Scalar type names cannot be used as class, trait or interface names (2) - class_alias
9 Fatal error: Cannot use 'int' as class name as it is reserved in %s on line %d
H A Dscalar_reserved3_class_alias.phpt2 Scalar type names cannot be used as class, trait or interface names (3) - class_alias
9 Fatal error: Cannot use 'float' as class name as it is reserved in %s on line %d
H A Dscalar_reserved4_class_alias.phpt2 Scalar type names cannot be used as class, trait or interface names (4) - class_alias
9 Fatal error: Cannot use 'string' as class name as it is reserved in %s on line %d
H A Dscalar_reserved6_class_alias.phpt2 Scalar type names cannot be used as class, trait or interface names (6) - class_alias
9 Fatal error: Cannot use 'bool' as class name as it is reserved in %s on line %d
H A Dscalar_reserved2_use.phpt2 Scalar type names cannot be used as class, trait or interface names (2) - use
6 use foobar as int;
8 Fatal error: Cannot use foobar as int because 'int' is a special class name in %s on line %d
H A Dscalar_reserved3_use.phpt2 Scalar type names cannot be used as class, trait or interface names (3) - use
6 use foobar as float;
8 Fatal error: Cannot use foobar as float because 'float' is a special class name in %s on line %d
H A Dscalar_reserved4_use.phpt2 Scalar type names cannot be used as class, trait or interface names (4) - use
6 use foobar as string;
8 Fatal error: Cannot use foobar as string because 'string' is a special class name in %s on line %d
H A Dscalar_reserved6_use.phpt2 Scalar type names cannot be used as class, trait or interface names (6) - use
6 use foobar as bool;
8 Fatal error: Cannot use foobar as bool because 'bool' is a special class name in %s on line %d
/PHP-7.2/Zend/tests/try/
H A Dtry_finally_018.phpt5 foreach ([new stdClass] as $a) {
7 foreach ([new stdClass] as $a) {
9 foreach ([new stdClass] as $a) {
/PHP-7.2/ext/date/tests/
H A Didate_variation6.phpt6 * Description: Format a local time/date as integer
17 echo "\n-- Testing idate() function for 2 digit year having no zero as starting number --\n";
21 echo "\n-- Testing idate() function for 2 digit year having zero as starting number --\n";
29 -- Testing idate() function for 2 digit year having no zero as starting number --
32 -- Testing idate() function for 2 digit year having zero as starting number --
H A Dgmstrftime_variation5.phpt21 'Year as decimal number without a century' => "%y",
22 'Year as decimal number including the century' => "%Y",
29 foreach($inputs as $key =>$value) {
40 --Year as decimal number without a century--
44 --Year as decimal number including the century--
H A Dstrftime_variation5.phpt20 'Year as decimal number without a century' => "%y",
21 'Year as decimal number including the century' => "%Y",
28 foreach($inputs as $key =>$value) {
39 --Year as decimal number without a century--
43 --Year as decimal number including the century--
/PHP-7.2/Zend/tests/
H A Dbug69221.phpt13 foreach ($gen1 as $v1) {
14 foreach ($gen2 as $v2) {
20 foreach ($gen2 as $v) { var_dump($v); }
/PHP-7.2/Zend/tests/traits/
H A Derror_013.phpt2 Trying to use static as method modifier
11 use foo { test as static; }
19 Fatal error: Cannot use 'static' as method modifier in %s on line %d
H A Dlanguage017.phpt2 Invalid conflict resolution (unused trait as lhs of "as")
13 T2::foo as private;
/PHP-7.2/ext/standard/tests/array/
H A Darray_column_variant.phpt11 echo "-- pass null as second parameter to get back all columns indexed by third parameter --\n";
14 echo "-- pass null as second parameter and bogus third param to get back zero-indexed array of all …
17 echo "-- pass null as second parameter and no third param to get back array_values(input) --\n";
22 -- pass null as second parameter to get back all columns indexed by third parameter --
43 -- pass null as second parameter and bogus third param to get back zero-indexed array of all column…
64 -- pass null as second parameter and no third param to get back array_values(input) --
H A Darray_rand_variation4.phpt29 // array with hexa values as keys
32 // array with octal values as keys
35 // array with bool values as keys
39 // array with special chars as keys
41 "NULL" => 'key5', "\n" => 'newline as key',
42 "\t" => "tab as key", "'" => 'single quote as key',
43 '"' => 'double quote as key', "\0" => "null char as key")
50 foreach($asso_arrays as $input) {
H A Dusort_variation8.phpt2 Test usort() function : usage variations - use built in functions as $cmp_function arg
22 // Testing library functions as comparison function
33 // Testing with language construct as comparison function
34 echo "\n-- Testing usort() with language construct as 'cmp_function' --\n";
38 echo "\n-- Testing usort() with language construct as 'cmp_function' --\n";
76 -- Testing usort() with language construct as 'cmp_function' --
81 -- Testing usort() with language construct as 'cmp_function' --
/PHP-7.2/Zend/tests/generators/
H A Dyield_by_reference.phpt7 foreach ($array as $key => &$value) {
14 foreach ($iter as &$value) {
20 foreach (iter($array) as &$value) {
/PHP-7.2/ext/standard/tests/strings/
H A Dwordwrap_error.phpt26 // $width arg as negative value
29 // width as zero and cut as false
35 // width as zero and cut as true
41 // width as -ne and cut as false
47 // width as -ne and cut as true
H A Dwordwrap_variation5.phpt11 *test wordwrap() with break arguments as single spaces
21 echo "\n-- Testing wordwrap() with default break value and single space as value --\n";
31 echo "-- with cut value as false --\n";
36 echo "-- with cut value as true --\n";
46 -- Testing wordwrap() with default break value and single space as value --
54 -- with cut value as false --
57 -- with cut value as true --
/PHP-7.2/ext/spl/tests/
H A Darray_028.phpt10 foreach ($it as $v) {
15 foreach ($obj as $v) {
20 foreach ($obj as $v) {
H A Drecursive_tree_iterator_001.phpt29 foreach(new RecursiveTreeIterator($it) as $k => $v) {
33 foreach(new RecursiveTreeIterator($it, RecursiveTreeIterator::BYPASS_CURRENT) as $k => $v) {
37 …erator($it, RecursiveTreeIterator::BYPASS_CURRENT|RecursiveTreeIterator::BYPASS_KEY) as $k => $v) {
41 foreach(new RecursiveTreeIterator($it, 0) as $k => $v) {
45 foreach(new RecursiveTreeIterator($it, 0, CachingIterator::CATCH_GET_CHILD) as $k => $v) {
/PHP-7.2/ext/standard/tests/http/
H A Dbug48929.phpt21 foreach($responses as $r) {
33 echo "-- Test: requests with 'header' as array --\n";
37 echo "-- Test: requests with 'header' as string --\n";
43 -- Test: requests with 'header' as array --
52 -- Test: requests with 'header' as string --

Completed in 30 milliseconds

12345678910>>...167