Home
last modified time | relevance | path

Searched refs:array (Results 2501 – 2525 of 6641) sorted by relevance

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

/PHP-5.5/Zend/tests/
H A Dcast_to_double.phpt18 $vars = array(
25 array(),
26 array(1,2,3),
H A Ddereference_005.phpt2 Testing array dereference on object that implements ArrayAccess
9 private $container = array();
11 $this->container = array(
H A Dget_class_vars_004.phpt33 array(2) {
39 array(6) {
53 array(6) {
H A Dsettype_double.phpt18 $vars = array(
25 array(),
26 array(1,2,3),
H A Dsettype_int.phpt16 $vars = array(
23 array(),
24 array(1,2,3),
H A Dclosure_040.phpt27 $ca->bindTo($a, array());
28 $ca->bindTo(array(), 'A');
29 $ca->bindTo($a, array(), "");
39 Warning: Closure::bindTo() expects parameter 1 to be object, array given in %s on line 25
/PHP-5.5/ext/oci8/tests/
H A Darray_bind_bdouble.phpt5 $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
15 $array = Array(1.243,2.5658,3.4234,4.2123,5.9999);
16 oci_bind_array_by_name($statement, ":c1", $array, 5, 5, SQLT_BDOUBLE);
H A Dbug42496_1.phpt5 $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
16 $stmtarray = array(
35 $arr = array();
48 $stmtarray = array(
H A Dfetch_into.phpt12 $stmtarray = array(
44 $stmtarray = array(
54 array(2) {
61 array(4) {
/PHP-5.5/tests/basic/
H A D029.phpt33 array(1) {
35 array(5) {
48 array(1) {
H A Drfc1867_missing_boundary_2.phpt21 array(1) {
23 array(5) {
36 array(0) {
/PHP-5.5/ext/standard/tests/image/
H A Dgetimagesize_error1.phpt5 /* Prototype : proto array getimagesize(string imagefile [, array info])
6 * Description: Get the size of an image as 4-element array
20 $info = array(1, 2);
/PHP-5.5/ext/simplexml/tests/
H A Dprofile13.phpt46 array(1) {
53 array(1) {
62 array(1) {
69 array(1) {
/PHP-5.5/ext/posix/tests/
H A Dposix_access_error_wrongparams.phpt24 var_dump( posix_access(array()) );
25 var_dump( posix_access('foo',array()) );
37 Warning: posix_access() expects parameter 1 to be string, array given in %s on line %d
40 Warning: posix_access() expects parameter 2 to be long, array given in %s on line %d
/PHP-5.5/ext/pgsql/tests/
H A D23sync_query_params.phpt17 $result = pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100));
40 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
41 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
49 …$result = pg_query_params($db, "INSERT INTO ".$table_name." VALUES (\$1, \$2);", array(9999, "A'BC…
/PHP-5.5/ext/standard/tests/array/
H A Dcurrent_variation3.phpt5 /* Prototype : mixed current(array $array_arg)
6 * Description: Return the element currently pointed to by the internal array pointer
7 * Source code: ext/standard/array.c
17 $array1 = array ('zero', 'one', 'two');
H A Darray_shift_error.phpt5 /* Prototype : mixed array_shift(array &$stack)
6 * Description: Pops an element off the beginning of the array
7 * Source code: ext/standard/array.c
22 $stack = array(1, 2);
H A Dextract_variation4.phpt6 $mixed_array = array(
7 array( 1 => "one", 2 => "two", 3 => 7, 4 => "four", 5 => "five" ),
8 array( "f" => "fff", "1" => "one", 4 => 6, "" => "blank", 2.4 => "float", "F" => "FFF",
10 array( 12, "name", 'age', '45' ),
H A Dnatcasesort_error.phpt5 /* Prototype : bool natcasesort(array &$array_arg)
6 * Description: Sort an array using case-insensitive natural sort
7 * Source code: ext/standard/array.c
22 $array_arg = array(1, 2);
/PHP-5.5/ext/standard/tests/class_object/
H A Dget_object_vars_basic_002.phpt5 /* Prototype : proto array get_object_vars(object obj)
6 * Description: Returns an array of object properties
44 array(4) {
57 array(3) {
/PHP-5.5/ext/openssl/tests/
H A D017.phpt19 var_dump(openssl_private_decrypt($encrypted, $output4, array($privkey)));
21 var_dump(openssl_private_decrypt($encrypted, $output5, array($privkey, "")));
34 Warning: openssl_private_decrypt(): key array must be of the form array(0 => key, 1 => phrase) in %…
/PHP-5.5/ext/standard/tests/strings/
H A Dvprintf_basic9.phpt5 /* Prototype : string vprintf(string $format , array $args)
22 $arg1 = array(11);
23 $arg2 = array(11,132);
24 $arg3 = array(11,132,177);
H A Dcount_chars_variation2.phpt21 // array with different values for $input
22 $inputs = array (
38 // array values
39 /* 11 */ array(),
40 array(1, 2, 3, 4, 5, 6, 7, 8, 9),
68 // loop through with each element of the $inputs array to test count_chars() function
118 Warning: count_chars() expects parameter 2 to be long, array given in %s on line %d
122 Warning: count_chars() expects parameter 2 to be long, array given in %s on line %d
/PHP-5.5/ext/curl/tests/
H A Dbug55767.phpt2 Test curl_opt() function with POST params from array with a numeric key
27 curl_setopt($ch, CURLOPT_POSTFIELDS, array('Hello'=>'World','Foo'=>'Bar',100=>'John Doe'));
38 string(203) "array(2) {
44 array(3) {
/PHP-5.5/ext/gmp/tests/
H A D036.phpt20 var_dump(gmp_hamdist($n, array()));
21 var_dump(gmp_hamdist(array(), $n));
22 var_dump(gmp_hamdist(array(), array()));

Completed in 26 milliseconds

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