Home
last modified time | relevance | path

Searched refs:as (Results 251 – 275 of 4292) sorted by relevance

1...<<11121314151617181920>>...172

/PHP-7.2/ext/spl/tests/
H A Diterator_007.phpt67 foreach ($it->getInnerIterator() as $v) {
72 foreach ($it as $v) {
81 foreach ($it as $v) {
89 foreach ($it as $v) {
94 foreach ($it as $v) {
H A DDirectoryIterator_getExtension_basic.phpt15 foreach ($files as $file) {
23 foreach (new DirectoryIterator($dir) as $file) {
38 foreach ($files as $file) {
H A Diterator_025.phpt23 foreach($it as $v) echo "$v\n";
27 foreach($it as $v) echo "$v\n";
32 foreach($it as $v) echo "$v\n";
H A Drecursive_tree_iterator_setprefixpart.phpt16 $it->setPrefixPart(1); // Should throw a warning as setPrefixPart expects 2 arguments
19 $it->setPrefixPart($a, 1); // Should throw a warning as setPrefixPart expects argument 1 to be long…
21 $it->setPrefixPart(1, $a); // Should throw a warning as setPrefixPart expects argument 2 to be a st…
/PHP-7.2/ext/standard/tests/file/
H A Dreadfile_error.phpt18 var_dump( readfile(NULL) ); // NULL as $filename
19 var_dump( readfile('') ); // empty string as $filename
20 var_dump( readfile(false) ); // boolean false as $filename
21 var_dump( readfile(__FILE__, false, '') ); // empty string as $context
22 var_dump( readfile(__FILE__, true, false) ); // boolean false as $context
/PHP-7.2/Zend/tests/use_const/
H A Dalias.phpt15 use const foo\baz as foo_baz,
16 bar\baz as bar_baz;
/PHP-7.2/tests/lang/
H A Dbug24783.phpt2 Bug #24783 ($key not binary safe in "foreach($arr as $key => $val)")
7 foreach ($arr as $key => $val) {
/PHP-7.2/Zend/tests/try/
H A Dtry_finally_014.phpt8 foreach ($array as $value) {
9 foreach ($array as $value) {
H A Dtry_finally_015.phpt8 foreach ($array as $value) {
12 foreach ($array as $_) {
H A Dbug70228_7.phpt8 foreach ($array as $value) {
12 foreach ($array as $_) {
/PHP-7.2/tests/output/
H A Dob_get_clean_basic_001.phpt2 Test return type and value, as well as basic behaviour, of ob_get_clean()
/PHP-7.2/ext/pcre/tests/
H A Dpreg_quote_basic.phpt10 print "\$string_before looks like: $string_before\n"; //$string_before is printed as is written
12 print "\$string_after looks like: $string_after, with metacharacters and / (set as delimiter) escap…
19 …ike: \/this \*\-has \\ metacharacters\^ in \$, with metacharacters and / (set as delimiter) escaped
/PHP-7.2/ext/pdo/tests/
H A Dbug_43139.phpt27 var_dump($db->query("select 0 as abc, 1 as xyz, 2 as def $from")->fetchAll(PDO::FETCH_GROUP));
/PHP-7.2/ext/zlib/tests/
H A Dgzgets_basic.phpt13 // the same as fgets
18 foreach ($lengths as $length) {
42 string(19) "as it turns around
/PHP-7.2/ext/standard/tests/general_functions/
H A Dstrval.phpt39 0x123B, // integer as hexadecimal
45 -0x80000000, // max negative integer as hexadecimal
46 0x7fffffff, // max positive integer as hexadecimal
47 0x7FFFFFFF, // max positive integer as hexadecimal
48 0123, // integer as octal
50 -020000000000, // max negative integer as octal
51 017777777777, // max positive integer as octal
101 foreach ($scalars as $scalar ) {
139 foreach ($not_scalars as $value ) {
/PHP-7.2/ext/standard/tests/strings/
H A Dsprintf_variation34.phpt27 0x123B, // integer as hexadecimal
31 -0x80000000, // max negative integer as hexadecimal
32 0x7fffffff, // max positive integer as hexadecimal
33 0x7FFFFFFF, // max positive integer as hexadecimal
34 0123, // integer as octal
36 -020000000000, // max negative integer as octal
37 017777777777 // max positive integer as octal
49 foreach($integer_values as $integer_value) {
52 foreach($hexa_formats as $format) {
H A Dsprintf_variation46.phpt21 0x123B, // integer as hexadecimal
25 -0x80000000, // max negative integer as hexadecimal
26 0x7fffffff, // max positive integer as hexadecimal
27 0x7FFFFFFF, // max positive integer as hexadecimal
28 0123, // integer as octal
30 -020000000000, // max negative integer as octal
31 017777777777 // max positive integer as octal
43 foreach($integer_values as $integer_value) {
46 foreach($scientific_formats as $format) {
/PHP-7.2/Zend/tests/
H A Dbug37046.phpt10 foreach (s() as $k => $function) {
13 foreach (s() as $k => $function) {
H A Derrmsg_044.phpt2 Trying use object of type stdClass as array
11 Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d
H A Dstrict_001.phpt2 using resource as array offset
17 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
H A Dassign_dim_obj_null_return.phpt28 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
37 Warning: Cannot use a scalar value as an array in %s on line %d
40 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
49 Warning: Cannot use a scalar value as an array in %s on line %d
/PHP-7.2/ext/dom/tests/
H A DDOMDocument_loadHTML_error2.phpt2 DOMDocument::loadHTML() should fail if empty string provided as input
15 Warning: DOMDocument::loadHTML(): Empty string supplied as input in %s on line %d
/PHP-7.2/ext/phar/tests/
H A Dphar_oo_008.phpt20 foreach($f as $k => $v)
28 foreach($f as $k => $v)
59 foreach($v as $k => $d)
77 foreach($v as $k => $d)
H A Dmetadata_write_commit.phpt23 foreach($files as $name => $cont) {
34 foreach($files as $name => $cont) {
43 foreach($files as $name => $cont) {
47 foreach($files as $name => $cont) {
/PHP-7.2/ext/reflection/tests/
H A DReflectionClass_isInstantiable_variation.phpt36 foreach($classes as $class ) {
44 Deprecated: Methods with the same name as their class will not be constructors in a future version …
46 Deprecated: Methods with the same name as their class will not be constructors in a future version …
48 Deprecated: Methods with the same name as their class will not be constructors in a future version …

Completed in 35 milliseconds

1...<<11121314151617181920>>...172