Home
last modified time | relevance | path

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

12345678910>>...151

/PHP-7.4/Zend/tests/
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 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
H A Dbug62892.phpt2 Bug #62892 (ReflectionClass::getTraitAliases crashes on importing trait methods as private)
12 MyTrait::run as private;
H A Dforeach_009.phpt7 foreach ($a as &$ref) {
8 foreach ($a as &$ref2) {
H A Dforeach_list_002.phpt6 foreach (array(array(1,2), array(3,4)) as list($a, )) {
12 foreach($array as list(, $a)) {
H A Dforeach_list_003.phpt8 foreach($array as list($key) => list(list(), $a)) {
13 Fatal error: Cannot use list as key element in %sforeach_list_003.php on line %d
/PHP-7.4/Zend/tests/generators/
H A Dbug74157.phpt8 foreach(range(1, 5) as $v) {
14 foreach (a(range(1, 3)) as $a) {
/PHP-7.4/ext/spl/tests/
H A Darray_013.phpt16 foreach($it as $key => $val)
26 foreach(new NoRewindIterator($it) as $key => $val)
45 foreach($it as $key => $val)
55 foreach(new NoRewindIterator($it) as $key => $val)
H A Dpqueue_001.phpt18 foreach ($pq as $k=>$v) {
31 foreach ($pq1 as $k=>$v) {
44 foreach ($pq2 as $k=>$v) {
57 foreach ($pq3 as $k=>$v) {
H A Dbug70853.phpt2 Bug #70853 (SplFixedArray throws exception when using ref variable as index)
10 $list[$ndx2] = 123; // as does this, to.
H A DDirectoryIterator_getExtension_basic.phpt12 foreach ($files as $file) {
19 foreach (new DirectoryIterator($dir) as $file) {
35 foreach ($files as $file) {
H A Dbug68128.phpt9 foreach ($regex as $match) {
17 foreach ($rRegexIterator as $key1 => $value1) {
23 foreach ($rRegexIterator->getChildren() as $key => $value) {
/PHP-7.4/ext/simplexml/tests/
H A D006.phpt36 foreach($sxe as $name => $data) {
43 foreach(clone $sxe as $name => $data) {
50 foreach($sxe->elem11 as $name => $data) {
57 foreach($sxe->elem1 as $name => $data) {
H A D019.phpt36 foreach($sxe->children() as $name => $data) {
43 foreach(clone $sxe->children() as $name => $data) {
50 foreach($sxe->elem11->children() as $name => $data) {
57 foreach($sxe->elem1->children() as $name => $data) {
/PHP-7.4/ext/standard/tests/array/
H A Darray_walk_recursive_variation8.phpt2 Test array_walk_recursive() function : usage variations - buit-in function as callback
11 * Passing different buit-in functionns as callback function
17 echo "*** Testing array_walk_recursive() : built-in function as callback ***\n";
33 *** Testing array_walk_recursive() : built-in function as callback ***
/PHP-7.4/ext/standard/tests/dir/
H A Dscandir_variation9-win32-mb.phpt2 Test scandir() function : usage variations - different ints as $sorting_order arg
17 * Pass different integers as $sorting_order argument to test how scandir()
31 // different ints to pass as $sorting_order argument
34 foreach($ints as $sorting_order) {
/PHP-7.4/ext/reflection/tests/
H A Dbug38465.phpt23 foreach ($clazz->getMethods() as $method) {
24 foreach ($method->getParameters() as $param) {
36 foreach ($clazz->getMethods() as $method) {
37 foreach ($method->getParameters() as $param) {
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug64953.phpt20 $st = $pdo->prepare('SELECT ?::char as i');
26 $st = $pdo->prepare('SELECT (?)::char as i');
33 $st = $pdo->prepare("SELECT :int::int as i");
37 $st = $pdo->prepare("SELECT '''?'''::text as \":text\"");
/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_attr_prefetch_2.phpt16 $s = $dbh->prepare("select '' as myempty, null as mynull from dual", array(PDO::ATTR_PREFETCH => 10…
29 $s = $dbh->prepare("select '' as myempty, null as mynull from dual", array(PDO::ATTR_PREFETCH => 0)…
/PHP-7.4/ext/intl/tests/
H A Ddateformat_format.phpt87 foreach( $time_arr as $timestamp_entry){
91 foreach( $locale_arr as $locale_entry ){
92 foreach( $datetype_arr as $datetype_entry )
102 //Test format with input as a localtime :array
103 foreach( $localtime_arr as $localtime_entry){
106 foreach( $localtime_entry as $key => $value){
111 foreach( $locale_arr as $locale_entry ){
112 foreach( $datetype_arr as $datetype_entry )
126 foreach($dates as $date_entry) {
127 foreach( $locale_arr as $locale_entry ){
[all …]
H A Ddateformat_format_variant3.phpt87 foreach( $time_arr as $timestamp_entry){
91 foreach( $locale_arr as $locale_entry ){
92 foreach( $datetype_arr as $datetype_entry )
102 //Test format with input as a localtime :array
103 foreach( $localtime_arr as $localtime_entry){
106 foreach( $localtime_entry as $key => $value){
111 foreach( $locale_arr as $locale_entry ){
112 foreach( $datetype_arr as $datetype_entry )
126 foreach($dates as $date_entry) {
127 foreach( $locale_arr as $locale_entry ){
[all …]
/PHP-7.4/ext/zlib/tests/
H A Dgzfile_variation9.phpt21 foreach ( $variation as $var ) {
41 string(19) "as it turns around
61 string(19) "as it turns around
81 string(19) "as it turns around
101 string(19) "as it turns around
/PHP-7.4/tests/lang/
H A Dforeach_with_references_001.phpt8 foreach($arr as $key => $val) {
14 foreach($arr as $key => &$val) {

Completed in 29 milliseconds

12345678910>>...151