Searched refs:reset (Results 1 – 25 of 123) sorted by relevance
12345
/PHP-7.0/ext/standard/tests/array/ |
H A D | reset_error.phpt | 2 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 D | reset_variation1.phpt | 2 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 *** 121 Warning: reset() expects parameter 1 to be array, float given in %s on line %d 126 Warning: reset() expects parameter 1 to be array, float given in %s on line %d 146 Warning: reset() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | reset_variation2.phpt | 2 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 D | reset_basic.phpt | 2 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 D | reset_variation3.phpt | 2 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 D | 009.phpt | 2 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 D | bug69166.phpt | 2 Fixed #69166 (Assigning array_values() to array does not reset key counter)
|
H A D | array_pop_variation.phpt | 23 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 D | bug21998.phpt | 2 Bug #21998 (array_pop() does not reset the current array position)
|
H A D | bug61730.phpt | 11 reset($myArray);
|
/PHP-7.0/tests/lang/ |
H A D | 031.phpt | 9 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-7.0/ext/sqlite3/tests/ |
H A D | sqlite3_33_reset.phpt | 2 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 D | sqlite3result_reset_with_params_fails.phpt | 2 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 D | sqlite3stmt_reset_params.phpt | 2 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 D | bug66550.phpt | 18 $stmt->reset(); 22 Warning: SQLite3Stmt::reset(): The SQLite3 object has not been correctly initialised in %s
|
H A D | sqlite3_26_reset_prepared_stmt.phpt | 2 SQLite3::reset prepared statement 28 $stmt->reset();
|
H A D | sqlite3_27_reset_prepared_stmt_result.phpt | 2 SQLite3::reset prepared statement results 28 $results->reset();
|
/PHP-7.0/ext/opcache/tests/ |
H A D | zzz_basic_logging.phpt | 18 echo "Opcache reset"; 24 Opcache reset
|
/PHP-7.0/ext/standard/tests/serialize/ |
H A D | precision.phpt | 27 $num = unpack("d", pack("H*", $ns)); $num = reset($num); 30 $repr = unpack("H*", pack("d", $num2)); $repr = reset($repr);
|
/PHP-7.0/Zend/tests/ |
H A D | bug23104.phpt | 2 Bug #23104 (Hash position not reset for constant arrays)
|
H A D | bug43344_5.phpt | 7 reset($a);
|
/PHP-7.0/tests/classes/ |
H A D | arrayobject_001.phpt | 8 echo reset($a);
|
/PHP-7.0/ext/intl/ |
H A D | ERROR.CONVENTIONS | 74 :: 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); /* reset global error */ 83 void intl_errors_reset(intl_error* err ); /* 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-7.0/ext/session/tests/ |
H A D | bug74833.phpt | 2 Bug #74833 Session module number is uninitialized when SID is reset
|
/PHP-7.0/ext/json/tests/ |
H A D | bug54484.phpt | 2 Bug #54484 (Empty string in json_decode doesn't reset json_last_error)
|
Completed in 47 milliseconds
12345