/PHP-7.1/Zend/tests/ |
H A D | bug34310.phpt | 2 Bug #34310 (foreach($arr as $c->d => $x) crashes) 16 foreach($arr as $x => $c->d) 22 foreach($arr as $c->d => $x)
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | sizeof_variation5.phpt | 33 0, // same as COUNT_NORMAL 34 1, // same as COUNT_RECURSIVE 36 /* 5 */ TRUE, // same as COUNT_RECURSIVE 37 true, // same as COUNT_RECURSIVE 38 FALSE, // same as COUNT_NORMAL 39 false, // same as COUNT_NORMAL 40 NULL, // same as COUNT_NORMAL 41 /* 10 */ null, // same as COUNT_NORMAL
|
H A D | array_filter_variation8.phpt | 20 // int as return value 28 // float as return value 36 // string as return value 44 // null as return value 52 // array as return value 57 echo "callback function with array as return value\n"; 130 callback function with array as return value
|
/PHP-7.1/tests/lang/ |
H A D | foreachLoop.009.phpt | 11 foreach ($refedArray as $k=>$v1) { 19 foreach ($refedArray as $k=>&$v2) { 28 foreach ($refedArray as $k=>$v3) { 33 echo "Loop detected, as expected.\n"; 42 foreach ($refedArray as $k=>&$v4) { 47 echo "Loop detected, as expected.\n"; 76 Loop detected, as expected.
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | 006_variation2.phpt | 14 die('skip cannot be run as root'); 48 /* negative values as permission */ 49 -0777, // permissions will be given as 2's complement form of -0777 50 -07777, // permissions will be given as 2's complement form of -07777 52 /* decimal values as permission */ 53 777, // permissions will be given as octal equivalent value of 777 54 7777, // permissions will be given as octal equivalent value of 7777 55 -7777, // permissions are given as 2's complement of octal equivalent of 7777 57 /* hex value as permission */ 58 0x777, // permissions will be given as ocatal equivalent value of 0x777 [all …]
|
H A D | symlink_link_linkinfo_is_link_error1.phpt | 46 var_dump( symlink(NULL, $linkname) ); // NULL as filename 47 var_dump( symlink('', $linkname) ); // empty string as filename 48 var_dump( symlink(false, $linkname) ); // boolean false as filename 49 var_dump( symlink($filename, NULL) ); // NULL as linkname 50 var_dump( symlink($filename, '') ); // '' as linkname 51 var_dump( symlink($filename, false) ); // false as linkname 61 var_dump( linkinfo(NULL) ); // NULL as linkname 62 var_dump( linkinfo('') ); // empty string as linkname 63 var_dump( linkinfo(false) ); // boolean false as linkname
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | htmlentities23.phpt | 6 "\x8F\xA1\xFF", //2 sub as 2nd is potentially valid as lead 7 "\x8F\xA1", //2 sub, as 2nd is potentially valid as lead 9 "\x8F\xA0", //1 sub, A0 is not valid as sole/first byte 21 foreach ($tests as $test) {
|
H A D | sprintf_variation52.phpt | 16 echo"\n-- Testing for '%%%.2f' as the format parameter --\n"; 19 echo"\n-- Testing for '%%' as the format parameter --\n"; 28 echo"\n-- Testing for '%X' as the format parameter --\n"; 42 -- Testing for '%%%.2f' as the format parameter -- 45 -- Testing for '%%' as the format parameter -- 56 -- Testing for '%X' as the format parameter --
|
H A D | ltrim.phpt | 32 var_dump ( ltrim(" ltrim test", NULL) ); /* with NULL as second Argument */ 33 …var_dump ( ltrim(" ltrim test", true) ); /* with boolean value as second Ar… 34 …var_dump ( ltrim(" ltrim test", " ") ); /* with single space as second Arg… 35 …\n\r\0\x0B ltrim test", "\t\n\r\0\x0B") ); /* with multiple escape sequences as second Argument */ 36 …var_dump ( ltrim("ABCXYZltrim test", "A..Z") ); /* with characters range as second… 37 …var_dump ( ltrim("0123456789ltrim test", "0..9") ); /* with numbers range as second Ar… 38 …var_dump ( ltrim("@$#ltrim test", "#@$") ); /* with some special characters as…
|
H A D | rtrim.phpt | 19 var_dump ( rtrim("rtrim test ", NULL) ); /* with NULL as second Argument */ 20 …var_dump ( rtrim("rtrim test ", true) ); /* with boolean value as second Ar… 21 …var_dump ( rtrim("rtrim test ", " ") ); /* with single space as second Arg… 22 …rim test \t\n\r\0\x0B", "\t\n\r\0\x0B") ); /* with multiple escape sequences as second Argument */ 23 …var_dump ( rtrim("rtrim testABCXYZ", "A..Z") ); /* with characters range as second… 24 …var_dump ( rtrim("rtrim test0123456789", "0..9") ); /* with numbers range as second Ar… 25 …var_dump ( rtrim("rtrim test$#@", "#@$") ); /* with some special characters as…
|
/PHP-7.1/ext/ctype/tests/ |
H A D | ctype_xdigit_variation4.phpt | 15 * 2. correspond to character codes recognised as hexadecimal digits (see variation2) 16 * referred to as 'correct' integers below 37 foreach($octal_values1 as $c) { 41 foreach($octal_values2 as $c) { 47 foreach($hex_values1 as $c) { 51 foreach($hex_values2 as $c) {
|
/PHP-7.1/Zend/tests/traits/ |
H A D | bug55554a.phpt | 6 // All constructors should be registered as such 16 constructor as __construct; 22 constructor as LegacyConstructor;
|
H A D | language008a.phpt | 2 Visibility can be changed with the as aliasing construct as well. 14 use HelloWorld { sayHello as protected; }
|
H A D | bug64235b.phpt | 28 TestTrait::method as methodAlias; 29 TestParentClass::method as TestParent; 35 Fatal error: Class TestParentClass is not a trait, Only traits may be used in 'as' and 'insteadof' …
|
/PHP-7.1/ext/spl/tests/ |
H A D | recursive_tree_iterator_006.phpt | 39 foreach(new RecursiveTreeIterator($it) as $k => $v) { 43 foreach(new RecursiveTreeIterator($it, RecursiveTreeIterator::BYPASS_CURRENT) as $k => $v) { 47 …erator($it, RecursiveTreeIterator::BYPASS_CURRENT|RecursiveTreeIterator::BYPASS_KEY) as $k => $v) { 51 foreach(new RecursiveTreeIterator($it, 0) as $k => $v) { 55 foreach(new RecursiveTreeIterator($it, 0, CachingIterator::CATCH_GET_CHILD) as $k => $v) {
|
H A D | dllist_003.phpt | 12 foreach ($dll as $k => $v) { 17 foreach ($dll as $k => $v) { 23 foreach ($dll as $k => $v) {
|
/PHP-7.1/ext/mysqli/tests/ |
H A D | mysqli_query_iterators.phpt | 22 foreach ($res as $row) { 26 foreach ($res as $row) { 30 foreach ($res as $row) { 38 foreach ($res as $row) { 42 foreach ($res as $row) { 52 foreach ($res as $row) { 56 foreach ($res as $row) {
|
H A D | bug73800.phpt | 21 …res = $link->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b, 9223372036854775…
|
/PHP-7.1/ext/pdo_sqlite/tests/ |
H A D | bug44327_3.phpt | 12 $x = $db->query('select 1 as queryStringxx'); 24 string(25) "select 1 as queryStringxx" 28 string(25) "select 1 as queryStringxx"
|
/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | ob_start_closures.phpt | 2 Test ob_start() function : closures as output handlers 7 echo "*** Testing ob_start() : closures as output handlers ***\n"; 32 *** Testing ob_start() : closures as output handlers ***
|
/PHP-7.1/Zend/tests/try/ |
H A D | try_finally_022.phpt | 23 foreach([new stdClass()] as $x) { 24 foreach(new A() as $a) { 25 foreach([new stdClass()] as $y) {
|
/PHP-7.1/Zend/tests/type_declarations/ |
H A D | iterable_002.phpt | 7 // Null should be allowed as a default value 11 // Array should be allowed as a default value 15 // No other values should be allowed as defaults
|
/PHP-7.1/tests/classes/ |
H A D | clone_006.phpt | 38 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d 40 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d 43 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d 45 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
|
/PHP-7.1/ext/standard/tests/network/ |
H A D | ip2long_variation2_x64.phpt | 6 …All numbers supplied as ``parts'' in a `.' notation may be decimal, octal, or hexadecimal, as spec… 8 otherwise, the number is interpreted as decimal). 32 foreach($ips as $ip) {
|
/PHP-7.1/ext/zlib/tests/ |
H A D | readgzfile_variation11.phpt | 24 foreach ( $variation as $var ) { 34 as it turns around 41 as it turns around 48 as it turns around 55 as it turns around 62 as it turns around
|