Home
last modified time | relevance | path

Searched refs:as (Results 126 – 150 of 3880) sorted by relevance

12345678910>>...156

/PHP-5.5/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 …]
/PHP-5.5/ext/standard/tests/array/
H A Din_array_variation3.phpt2 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 Darray_change_key_case_variation6.phpt20 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 Darray_walk_variation8.phpt2 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 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-5.5/ext/standard/tests/strings/
H A Dstrrchr_basic.phpt11 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 Dsetlocale_basic2.phpt21 /* 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 Dreadgzfile_variation9.phpt21 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 Dgzfile_variation12.phpt22 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 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-5.5/ext/mcrypt/tests/
H A Dmcrypt_encrypt_3des_cbc.phpt47 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 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 Dobserver_003.phpt18 foreach(array(1,"2","foo",true) as $value)
25 foreach($storage as $object)
37 foreach($storage2 as $object)
H A Dbug50579.phpt17 foreach ($i as $name=>$value) {
22 foreach ($i as $name=>$value) {
29 foreach ($i as $name=>$value) {
H A Diterator_024.phpt8 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 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) {
/PHP-5.5/ext/sybase_ct/tests/
H A Dtest_fields.phpt18 1 as "id",
19 "Hello" as "caption",
20 "timm" as "author",
21 getdate() as "lastchange"
/PHP-5.5/tests/lang/
H A DforeachLoop.004.phpt2 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 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-5.5/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-5.5/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-5.5/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-5.5/ext/spl/examples/
H A Dkeyfilter.inc17 * 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 Dstatic_properties_003.phpt33 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

Completed in 54 milliseconds

12345678910>>...156