/PHP-7.1/ext/standard/tests/file/ |
H A D | symlink_link_linkinfo_is_link_error2.phpt | 43 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.1/Zend/tests/type_declarations/ |
H A D | scalar_reserved2_class_alias.phpt | 2 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 D | scalar_reserved3_class_alias.phpt | 2 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 D | scalar_reserved4_class_alias.phpt | 2 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 D | scalar_reserved6_class_alias.phpt | 2 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 D | scalar_reserved2_use.phpt | 2 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 D | scalar_reserved3_use.phpt | 2 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 D | scalar_reserved4_use.phpt | 2 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 D | scalar_reserved6_use.phpt | 2 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.1/Zend/tests/try/ |
H A D | try_finally_018.phpt | 5 foreach ([new stdClass] as $a) { 7 foreach ([new stdClass] as $a) { 9 foreach ([new stdClass] as $a) {
|
/PHP-7.1/ext/date/tests/ |
H A D | idate_variation6.phpt | 6 * 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 D | gmstrftime_variation5.phpt | 21 '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 D | strftime_variation5.phpt | 20 '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.1/Zend/tests/ |
H A D | bug69221.phpt | 13 foreach ($gen1 as $v1) { 14 foreach ($gen2 as $v2) { 20 foreach ($gen2 as $v) { var_dump($v); }
|
/PHP-7.1/Zend/tests/traits/ |
H A D | error_013.phpt | 2 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 D | language017.phpt | 2 Invalid conflict resolution (unused trait as lhs of "as") 13 T2::foo as private;
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | array_column_variant.phpt | 11 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 D | array_rand_variation4.phpt | 29 // 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 D | usort_variation8.phpt | 2 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.1/Zend/tests/generators/ |
H A D | yield_by_reference.phpt | 7 foreach ($array as $key => &$value) { 14 foreach ($iter as &$value) { 20 foreach (iter($array) as &$value) {
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | wordwrap_error.phpt | 26 // $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 D | wordwrap_variation5.phpt | 11 *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.1/ext/spl/tests/ |
H A D | array_028.phpt | 10 foreach ($it as $v) { 15 foreach ($obj as $v) { 20 foreach ($obj as $v) {
|
H A D | recursive_tree_iterator_001.phpt | 29 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.1/ext/standard/tests/http/ |
H A D | bug48929.phpt | 21 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 --
|