Home
last modified time | relevance | path

Searched refs:array (Results 2626 – 2650 of 6641) sorted by relevance

1...<<101102103104105106107108109110>>...266

/PHP-5.5/ext/wddx/tests/
H A Dbug48562.phpt19 // replace $a - the recursion detection seems to be causing $a to be not an array here, maybe its i…
20 // replacing $a with a new array() allows this test to still check for 2 things
23 // the one thing the test won't check is using $a as an array after doing &$a; which isn't really a…
24 $a = array();
/PHP-5.5/tests/lang/
H A Dbug27439.phpt13 public $array = array(1,2,3);
21 return $this->array;
29 foreach ($this->array as $foo) {
/PHP-5.5/ext/gmp/tests/
H A D023.phpt24 var_dump(gmp_invert(array(), 1));
25 var_dump(gmp_invert(1, array()));
26 var_dump(gmp_invert(array(), array()));
/PHP-5.5/ext/ldap/tests/
H A Dconnect.inc24 ldap_add($link, "dc=my-domain,dc=com", array(
25 "objectClass" => array(
32 ldap_add($link, "cn=userA,dc=my-domain,dc=com", array(
40 ldap_add($link, "cn=userB,dc=my-domain,dc=com", array(
47 ldap_add($link, "cn=userC,cn=userB,dc=my-domain,dc=com", array(
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_iface_002.phpt75 $ret = session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
76 array($handler, 'read'), 'good_write', array($handler, 'destroy'), array($handler, 'gc'));
/PHP-5.5/ext/standard/tests/strings/
H A Dstrtr_variation2.phpt6 string strtr(string $str, array $replace_pairs);
27 //array of string inputs for $str
28 $str_arr = array(
45 $replace_pairs = array("$" => "%", "%" => "$", "#*&@()" => "()@&*#");
51 $str = $str_arr[$index]; //getting the array element in 'str' variable
H A Dstrpbrk_error.phpt5 /* Prototype : array strpbrk(string haystack, string char_list)
27 var_dump( strpbrk($haystack, array('a', 'b', 'c') ) );
28 var_dump( strpbrk(array('foo', 'bar'), 'b') );
52 Warning: strpbrk() expects parameter 2 to be string, array given in %s on line %d
55 Warning: strpbrk() expects parameter 1 to be string, array given in %s on line %d
H A Dsetlocale_error.phpt14 : string setlocale(int $category , array $locale);
29 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
30 //Invalid array of locales
31 $invalid_locales = array("en_US.invalid", "en_AU.invalid", "ko_KR.invalid");
35 //Invalid array of locales
56 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
H A Dsetlocale_variation4.phpt17 * : string setlocale(int $category , array $locale);
57 array(18) {
91 array(2) {
98 array(2) {
107 array(18) {
141 array(2) {
148 array(2) {
H A Dsetlocale_variation5.phpt17 * : string setlocale(int $category , array $locale);
61 array(18) {
95 array(2) {
102 array(2) {
111 array(18) {
145 array(2) {
152 array(2) {
H A Dprintf_variation1.phpt35 //array of values to iterate over
36 $values = array(
51 // array data
52 /*10*/ array(),
53 array(0),
54 array(1),
55 array(1, 2),
56 array('color' => 'red', 'item' => 'pen'),
85 // loop through each element of the array for format
/PHP-5.5/Zend/tests/
H A Dsettype_resource.phpt16 $vars = array(
23 array(),
24 array(1,2,3),
59 array(0) {
63 array(3) {
/PHP-5.5/ext/zlib/tests/
H A Dgzfile_variation12.phpt14 $variation = array (
28 array(6) {
48 array(6) {
68 array(6) {
88 array(6) {
H A Dgzfile_variation9.phpt13 $variation = array(
27 array(6) {
47 array(6) {
67 array(6) {
87 array(6) {
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt24 $stmt->execute(array('id', 'label', 'label'));
38 $stmt->execute(array('id', 'label', 'label'));
69 array(1) {
71 array(2) {
79 array(1) {
81 array(3) {
/PHP-5.5/ext/soap/tests/bugs/
H A Dbug30106.phpt10 return array("getContinentListResult"=>array(
16 function __construct($wsdl, $options=array()) {
36 $x = $client->getContinentList(array("AFFILIATE_ID"=>1,"PASSWORD"=>"x"));
40 array(1) {
44 array(3) {
/PHP-5.5/ext/standard/tests/file/
H A Dfile_get_contents_variation8-win32.phpt21 /* An array of filenames */
22 $names_arr = array(
31 "array()" => array(),
84 -- Filename: array() --
86 Warning: file_get_contents() expects parameter 1 to be a valid path, array given in %s on line %d
H A Dreadfile_variation10-win32.phpt20 /* An array of files */
21 $names_arr = array(
30 "array()" => array(),
76 -- Filename: array() --
78 Warning: readfile() expects parameter 1 to be a valid path, array given in %s on line %d
H A Dreadlink_realpath_variation2.phpt2 Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #…
27 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n";
28 $link_arr = array (
33 echo "\n-- Testing readlink() and realpath() with softlink, linkname stored inside an array --\n";
46 echo "\n-- Testing readlink() and realpath() with hardlink, linkname stored inside an array --\n";
73 *** Testing readlink() and realpath() with linkname stored in an array ***
75 -- Testing readlink() and realpath() with softlink, linkname stored inside an array --
89 -- Testing readlink() and realpath() with hardlink, linkname stored inside an array --
/PHP-5.5/ext/standard/tests/array/
H A Duasort_variation8.phpt5 /* Prototype : bool uasort(array $array_arg, string $cmp_function)
6 …* Description: Sort an array with a user-defined comparison function and maintain index associatio…
7 * Source code: ext/standard/array.c
18 $array_arg = array("b" => "Banana", "m" => "Mango", "a" => "apple", "p" => "Pineapple", "o" => "ora…
44 array(5) {
58 array(5) {
/PHP-5.5/ext/spl/tests/
H A Diterator_021.phpt103 …tor(new MyRecursiveArrayIterator(array("a", array("ba", array("bba", "bbb"), array(array("bcaa"),
H A Diterator_022.phpt116 …tor(new MyRecursiveArrayIterator(array("a", array("ba", array("bba", "bbb"), array(array("bcaa"),
H A Diterator_034.phpt98 …tor(new MyRecursiveArrayIterator(array("a", array("ba", array("bba", "bbb"), array(array("bcaa"),
/PHP-5.5/ext/phar/tests/zip/
H A Dphar_setsignaturealgo2.phpt53 $config_arg = array('config' => $config);
79 array(2) {
85 array(2) {
91 array(2) {
97 array(2) {
103 array(2) {
109 array(2) {
/PHP-5.5/ext/ereg/tests/
H A Deregi_replace_variation_002.phpt26 //array of values to iterate over
27 $values = array(
42 // array data
43 array(),
44 array(0),
45 array(1),
46 array(1, 2),
47 array('color' => 'red', 'item' => 'pen'),
73 // loop through each element of the array for replacement

Completed in 43 milliseconds

1...<<101102103104105106107108109110>>...266