summaryrefslogtreecommitdiff
path: root/tests/php/phpt/valueiterator/001.phpt
blob: ae85e23042e0e30b31f1e942f8204f39bbac0434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
Iterate array
--DESCRIPTION--
Iterate regular php array
--SKIPIF--
<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?>
--FILEEOF--
<?php
require dirname(__FILE__) . '/../../include/valueiterator/1.php';

$arr  = array('qwe' => 'qweqweqweqw',5,'asd' => '«£¥§©®°±¶⅐⅒⅓⅘⅞Ⅻↆ❄❅❆⚑⚐⌛⌚〰»', 'zxccvx' => 'sdfsecvyh6bug6yfty',);

TestValueIterator\loopValue($arr);

echo PHP_EOL;
--EXPECT--
Array/Object contains 4 items
[qwe]=qweqweqweqw
[0]=5
[asd]=«£¥§©®°±¶⅐⅒⅓⅘⅞Ⅻↆ❄❅❆⚑⚐⌛⌚〰»
[zxccvx]=sdfsecvyh6bug6yfty