Searched refs:as (Results 201 – 225 of 3756) sorted by relevance
12345678910>>...151
/PHP-7.4/Zend/tests/ |
H A D | bug41351_2.phpt | 2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 2 8 foreach($a[]['test'] as $b) {
|
H A D | bug41351_3.phpt | 2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 3 8 foreach($a['test'][] as $b) {
|
H A D | closure_038.phpt | 31 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 D | closure_039.phpt | 31 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 D | bug62892.phpt | 2 Bug #62892 (ReflectionClass::getTraitAliases crashes on importing trait methods as private) 12 MyTrait::run as private;
|
H A D | foreach_009.phpt | 7 foreach ($a as &$ref) { 8 foreach ($a as &$ref2) {
|
H A D | foreach_list_002.phpt | 6 foreach (array(array(1,2), array(3,4)) as list($a, )) { 12 foreach($array as list(, $a)) {
|
H A D | foreach_list_003.phpt | 8 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 D | bug74157.phpt | 8 foreach(range(1, 5) as $v) { 14 foreach (a(range(1, 3)) as $a) {
|
/PHP-7.4/ext/spl/tests/ |
H A D | array_013.phpt | 16 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 D | pqueue_001.phpt | 18 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 D | bug70853.phpt | 2 Bug #70853 (SplFixedArray throws exception when using ref variable as index) 10 $list[$ndx2] = 123; // as does this, to.
|
H A D | DirectoryIterator_getExtension_basic.phpt | 12 foreach ($files as $file) { 19 foreach (new DirectoryIterator($dir) as $file) { 35 foreach ($files as $file) {
|
H A D | bug68128.phpt | 9 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 D | 006.phpt | 36 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 D | 019.phpt | 36 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 D | array_walk_recursive_variation8.phpt | 2 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 D | scandir_variation9-win32-mb.phpt | 2 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 D | bug38465.phpt | 23 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 D | bug64953.phpt | 20 $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 D | pdo_oci_attr_prefetch_2.phpt | 16 $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 D | dateformat_format.phpt | 87 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 D | dateformat_format_variant3.phpt | 87 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 D | gzfile_variation9.phpt | 21 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 D | foreach_with_references_001.phpt | 8 foreach($arr as $key => $val) { 14 foreach($arr as $key => &$val) {
|
Completed in 29 milliseconds
12345678910>>...151