Home
last modified time | relevance | path

Searched refs:as (Results 201 – 225 of 4164) sorted by relevance

12345678910>>...167

/PHP-7.2/ext/spl/tests/
H A Diterator_018.phpt8 foreach(new LimitIterator(new InfiniteIterator(new EmptyIterator()), 0, 3) as $key=>$val)
18 foreach($it as $val=>$key)
29 foreach($it as $val=>$key)
/PHP-7.2/tests/classes/
H A Dvisibility_005.phpt14 foreach($this as $k=>$v) {
29 foreach($o as $k=>$v) {
38 foreach($o as $k=>$v) {
/PHP-7.2/Zend/tests/use_const/
H A Dconflicting_use_alias.phpt11 use foo as bar;
12 use const foo as bar;
/PHP-7.2/tests/lang/
H A Dbug29893.phpt2 Bug #29893 (segfault when using array as index)
10 Warning: Cannot use a scalar value as an array in %sbug29893.php on line %d
H A Dbug23624.phpt2 Bug #23624 (foreach leaves current array key as null)
7 foreach($arr as $key => $value);
/PHP-7.2/Zend/tests/
H A Dforeach_008.phpt6 foreach ($a as &$x) {
7 foreach ($a as &$y) {
H A Dns_065.phpt5 use X\Y as test, X\Z as test2;
H A Dbug41351.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b))
8 foreach($a[] as $b) {
H A Dthis_as_lexical_var_error.phpt2 Cannot use $this as lexical variable
14 Fatal error: Cannot use $this as lexical variable in %s on line %d
H A Dbug41351_2.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 2
8 foreach($a[]['test'] as $b) {
H A Dbug41351_3.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 3
8 foreach($a['test'][] as $b) {
H A Dbug52051.phpt26 Deprecated: Methods with the same name as their class will not be constructors in a future version …
28 Deprecated: Methods with the same name as their class will not be constructors in a future version …
30 Deprecated: Methods with the same name as their class will not be constructors in a future version …
32 Deprecated: Methods with the same name as their class will not be constructors in a future version …
H A Dclosure_038.phpt31 echo "Testing with scope given as object", "\n";
38 echo "Testing with scope as string", "\n";
51 Testing with scope given as object
54 Testing with scope as string
H A Dclosure_039.phpt31 echo "Testing with scope given as object", "\n";
38 echo "Testing with scope as string", "\n";
51 Testing with scope given as object
54 Testing with scope as string
/PHP-7.2/Zend/tests/traits/
H A Dlanguage018.phpt10 T1::foo as abstract;
15 Fatal error: Cannot use 'abstract' as method modifier in %s on line %d
H A Dlanguage019.phpt10 T1::foo as final;
15 Fatal error: Cannot use 'final' as method modifier in %s on line %d
/PHP-7.2/Zend/tests/use_function/
H A Dconflicting_use_alias.phpt13 use foo as bar;
14 use function foo as bar;
/PHP-7.2/Zend/tests/return_types/
H A Dvoid_parameter.phpt2 void return type: not valid as a parameter type
8 Fatal error: void cannot be used as a parameter type in %s on line %d
/PHP-7.2/Zend/tests/generators/
H A Dbug74157.phpt8 foreach(range(1, 5) as $v) {
14 foreach (a(range(1, 3)) as $a) {
/PHP-7.2/ext/standard/tests/strings/
H A Dbug26878.phpt5 printf('Int: %1$d and as string: %1$s', 'some string');
9 Int: 0 and as string: some string
/PHP-7.2/ext/spl/examples/tests/
H A Dexamples.inc8 foreach($classes as $c)
18 foreach (new IncludeFiles(dirname(__FILE__). '/..', $classes) as $file)
/PHP-7.2/ext/zlib/tests/
H A Dreadgzfile_variation10.phpt27 foreach ( $variation as $var ) {
37 as it turns around
44 as it turns around
57 as it turns around
64 as it turns around
/PHP-7.2/ext/standard/tests/array/
H A Darray_intersect_uassoc_variation10.phpt28 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\…
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_uassoc() function using class with static method as callback --
50 -- Testing array_intersect_uassoc() function using class with regular method as callback --
H A Darray_intersect_ukey_variation9.phpt28 echo "\n-- Testing array_intersect_ukey() function using class with static method as callback --\n";
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_ukey() function using class with static method as callback --
54 -- Testing array_intersect_uassoc() function using class with regular method as callback --
H A Duasort_variation7.phpt2 Test uasort() function : usage variations - anonymous function as 'cmp_function'
11 * Passing different anonymous functions as 'cmp_function'
16 echo "*** Testing uasort() : anonymous function as 'cmp_function' ***\n";
43 *** Testing uasort() : anonymous function as 'cmp_function' ***

Completed in 30 milliseconds

12345678910>>...167