Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 116) sorted by relevance

12345

/PHP-5.5/ext/standard/tests/array/
H A Dreset_error.phpt2 Test reset() function : error conditions - Pass incorrect number of args
5 /* Prototype : mixed reset(array $array_arg)
11 * Pass incorrect number of arguments to reset() to test behaviour
14 echo "*** Testing reset() : error conditions ***\n";
17 echo "\n-- Testing reset() function with Zero arguments --\n";
18 var_dump( reset() );
20 //Test reset with one more than the expected number of arguments
24 var_dump( reset($array_arg, $extra_arg) );
28 *** Testing reset() : error conditions ***
30 -- Testing reset() function with Zero arguments --
[all …]
H A Dreset_variation1.phpt2 Test reset() function : usage variations - Pass different data types as $array_arg arg.
5 /* Prototype : mixed reset(array $array_arg)
11 * Pass different data types as $array_arg argument to reset() to test behaviour
14 echo "*** Testing reset() : usage variations ***\n";
85 // loop through each element of $inputs to check the behavior of reset()
89 var_dump( reset($input) );
97 *** Testing reset() : usage variations ***
146 Warning: reset() expects parameter 1 to be array, null given in %s on line %d
151 Warning: reset() expects parameter 1 to be array, null given in %s on line %d
207 Warning: reset() expects parameter 1 to be array, null given in %s on line %d
[all …]
H A Dreset_variation2.phpt2 Test reset() function : usage variations - unset first element
5 /* Prototype : mixed reset(array $array_arg)
11 * Unset first element of an array and test behaviour of reset()
14 echo "*** Testing reset() : usage variations ***\n";
21 echo "\n-- Unset First element in array and check reset() --\n";
23 var_dump(reset($array));
27 *** Testing reset() : usage variations ***
32 -- Unset First element in array and check reset() --
H A Dreset_basic.phpt2 Test reset() function : basic functionality
5 /* Prototype : mixed reset(array $array_arg)
11 * Test basic functionality of reset()
14 echo "*** Testing reset() : basic functionality ***\n";
27 echo "\n-- Call to reset() --\n";
28 var_dump(reset($array));
32 *** Testing reset() : basic functionality ***
43 -- Call to reset() --
H A Dreset_variation3.phpt2 Test reset() function : usage variations - Referenced variables
5 /* Prototype : mixed reset(array $array_arg)
11 * Reference two arrays to each other then call reset() to test position of
15 echo "*** Testing reset() : usage variations ***\n";
34 echo "\n-- Position after calling reset() --\n";
35 var_dump(reset($array1));
43 *** Testing reset() : usage variations ***
52 -- Position after calling reset() --
H A D009.phpt2 Test key(), current(), next() & reset() functions
46 var_dump( reset($sub_array) ); // reset the internal pointer to first element
47 var_dump( key($sub_array) ); // access the array after reset
66 var_dump( reset($sub_array) ); // reset the internal pointer to first element
67 var_dump( key($sub_array) ); // access the array after reset
80 var_dump( reset($unset_array) );
87 var_dump( reset() );
94 var_dump( reset($temp_array, $temp_array) );
113 var_dump( reset($int_var) );
114 var_dump( reset($float_var) );
[all …]
H A Darray_pop_variation.phpt23 echo"\n*** Checking for internal array pointer being reset when pop is called ***\n";
43 *** Checking for internal array pointer being reset when pop is called ***
H A Dbug21998.phpt2 Bug #21998 (array_pop() does not reset the current array position)
H A Dbug61730.phpt11 reset($myArray);
/PHP-5.5/tests/lang/
H A D031.phpt9 print "Correct - with inner loop reset.\n";
12 reset($arrayInner);
17 reset($arrayOuter);
18 reset($arrayInner);
27 reset($arrayOuter);
28 reset($arrayInner);
38 reset($arrayOuter);
39 reset($arrayInner);
49 reset($arrayOuter);
50 reset($arrayInner);
[all …]
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_33_reset.phpt2 SQLite3:: reset
18 $stmt->reset("dummy");
19 $stmt->reset();
26 Warning: SQLite3Stmt::reset() expects exactly 0 parameters, 1 given in %s on line %d
H A Dsqlite3result_reset_with_params_fails.phpt2 SQLite3Result::reset test, testing an exception is raised when calling reset with parameters
16 $result->reset(1);
19 Warning: SQLite3Result::reset() expects exactly 0 parameters, 1 given in %s on line %d
H A Dsqlite3stmt_reset_params.phpt2 SQLite3Stmt::reset with parameter test
25 $stmt->reset("foo");
44 Warning: SQLite3Stmt::reset() expects exactly 0 parameters, %d given in %s on line %d
H A Dbug66550.phpt18 $stmt->reset();
22 Warning: SQLite3Stmt::reset(): The SQLite3 object has not been correctly initialised in %s
H A Dsqlite3_26_reset_prepared_stmt.phpt2 SQLite3::reset prepared statement
28 $stmt->reset();
H A Dsqlite3_27_reset_prepared_stmt_result.phpt2 SQLite3::reset prepared statement results
28 $results->reset();
/PHP-5.5/ext/standard/tests/serialize/
H A Dprecision.phpt27 $num = unpack("d", pack("H*", $ns)); $num = reset($num);
30 $repr = unpack("H*", pack("d", $num2)); $repr = reset($repr);
/PHP-5.5/ext/intl/
H A DERROR.CONVENTIONS74 :: Intl functions and methods should reset the global error before doing
75 anything else (even parse the arguments); instance methods should also reset
82 void intl_error_reset(NULL TSRMLS_DC); /* reset global error */
83 void intl_errors_reset(intl_error* err TSRMLS_DC ); /* reset global and object error */
90 way to reset the object's internal error code. Instead, resetting of the
114 Implementations of ::getErrorCode() and ::getErrorMessage() should not reset the
/PHP-5.5/Zend/tests/
H A Dbug23104.phpt2 Bug #23104 (Hash position not reset for constant arrays)
H A Dbug43344_13.phpt6 reset($a);
H A Dbug43344_5.phpt7 reset($a);
H A Dbug43344_9.phpt7 reset($a);
/PHP-5.5/tests/classes/
H A Darrayobject_001.phpt8 echo reset($a);
/PHP-5.5/ext/json/tests/
H A Dbug54484.phpt2 Bug #54484 (Empty string in json_decode doesn't reset json_last_error)
/PHP-5.5/ext/standard/tests/streams/
H A Dbug53427.phpt6 $read["myindex"] = reset($read);

Completed in 44 milliseconds

12345