/PHP-5.5/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 …]
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | in_array_variation3.phpt | 2 Test in_array() function : usage variations - haystack as sub-array/object 12 /* Test in_array() with haystack as sub-array and object */ 38 //error: as wrong datatype for second argument 40 //error: as wrong datatype for second argument 42 //element found as "one" exists in array $array_var
|
H A D | array_change_key_case_variation6.phpt | 20 echo "\n-- Pass a two-dimensional array as \$input argument --\n"; 23 echo "\n-- Pass a sub-arry as \$input argument --\n"; 32 -- Pass a two-dimensional array as $input argument -- 63 -- Pass a sub-arry as $input argument --
|
H A D | array_walk_variation8.phpt | 2 Test array_walk() function : usage variations - buit-in function as callback 11 * Passing different buit-in functionns as callback function 17 echo "*** Testing array_walk() : built-in function as callback ***\n"; 33 *** Testing array_walk() : built-in function as callback ***
|
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-5.5/ext/standard/tests/strings/ |
H A D | strrchr_basic.phpt | 11 var_dump( strrchr("Hello, World", "H") ); //needle as single char 12 var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack 20 //needle as second word of haystack 24 //needle as special char 28 var_dump( strrchr("Hello, World", "Hello, World") ); //needle as haystack
|
H A D | setlocale_basic2.phpt | 21 /* Test the setlocale() when an array is provided as input containing list of locales */ 26 * Returns : set of locale as array 47 /* Collect existing system locales and prepare a list of locales that can be used as 84 // and those known to this script ( as stored $common_locales) which can be 85 // given as input to setlocale(), later verify the new locale setting by 88 foreach($common_locales as $value) { 96 echo "-- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --\n"; 125 -- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --
|
/PHP-5.5/ext/zlib/tests/ |
H A D | readgzfile_variation9.phpt | 21 foreach ( $variation as $var ) { 31 as it turns around 38 as it turns around 45 as it turns around 52 as it turns around
|
H A D | gzfile_variation12.phpt | 22 foreach ( $variation as $var ) { 42 string(19) "as it turns around 62 string(19) "as it turns around 82 string(19) "as it turns around 102 string(19) "as it turns around
|
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-5.5/ext/mcrypt/tests/ |
H A D | mcrypt_encrypt_3des_cbc.phpt | 47 foreach ($keys as $key) { 54 foreach ($ivs as $iv) { 84 Warning: mcrypt_encrypt(): The IV parameter must be as long as the blocksize in %s on line %d 92 Warning: mcrypt_encrypt(): The IV parameter must be as long as the blocksize in %s on line %d
|
/PHP-5.5/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 | observer_003.phpt | 18 foreach(array(1,"2","foo",true) as $value) 25 foreach($storage as $object) 37 foreach($storage2 as $object)
|
H A D | bug50579.phpt | 17 foreach ($i as $name=>$value) { 22 foreach ($i as $name=>$value) { 29 foreach ($i as $name=>$value) {
|
H A D | iterator_024.phpt | 8 foreach(new RecursiveIteratorIterator(new ArrayObject($ar, 0, "RecursiveArrayIterator")) as $v) ech… 15 foreach(new RecursiveIteratorIterator(new ArrayObject($ar)) as $v) echo "$v\n"; 26 foreach(new RecursiveIteratorIterator($it) as $v) echo "$v\n";
|
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) {
|
/PHP-5.5/ext/sybase_ct/tests/ |
H A D | test_fields.phpt | 18 1 as "id", 19 "Hello" as "caption", 20 "timm" as "author", 21 getdate() as "lastchange"
|
/PHP-5.5/tests/lang/ |
H A D | foreachLoop.004.phpt | 2 Foreach loop tests - using an array element as the $value 8 foreach($a as $v[0]) { 17 foreach($a as $k=>$v[0]) {
|
/PHP-5.5/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-5.5/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-5.5/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-5.5/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-5.5/ext/spl/examples/ |
H A D | keyfilter.inc | 17 * Instances of this class act as a filter around iterators whose elements 24 /** @internal regular exoression used as filter */ 33 * @param regex Regular expression used as a filter. 48 /** @return regular expression used as filter
|
/PHP-5.5/tests/classes/ |
H A D | static_properties_003.phpt | 33 Strict Standards: Accessing static property C::$x as non static in %s on line 11 35 Strict Standards: Accessing static property C::$x as non static in %s on line 12 39 Strict Standards: Accessing static property C::$x as non static in %s on line 13 41 Strict Standards: Accessing static property C::$x as non static in %s on line 15 43 Strict Standards: Accessing static property C::$x as non static in %s on line 16
|