Searched refs:reset (Results 1 – 25 of 129) sorted by relevance
123456
/PHP-7.3/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 *** 101 Warning: reset() expects parameter 1 to be array, int given in %s on line %d 106 Warning: reset() expects parameter 1 to be array, int given in %s on line %d 111 Warning: reset() expects parameter 1 to be array, int 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 | current_variation6.phpt | 6 reset($array);
|
/PHP-7.3/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.3/ext/sqlite3/tests/ |
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 | 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 | bug79294.phpt | 2 Bug #79294 ()::columnType() may fail after SQLite3Stmt::reset()) 19 $stmt->reset(); 22 $res->reset();
|
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.3/ext/opcache/tests/ |
H A D | zzz_basic_logging.phpt | 19 echo "Opcache reset"; 25 Opcache reset
|
/PHP-7.3/ext/standard/tests/streams/ |
H A D | stream_select_preserve_keys.phpt | 6 $read['myindex'] = reset($read); 13 fread(reset($read), 1);
|
/PHP-7.3/Zend/tests/ |
H A D | bug23104.phpt | 2 Bug #23104 (Hash position not reset for constant arrays)
|
/PHP-7.3/ext/zlib/tests/ |
H A D | inflate_get_status.phpt | 31 echo "Adding more data should reset the stream and result in a Z_OK (ZLIB_OK) status.\n"; 59 Adding more data should reset the stream and result in a Z_OK (ZLIB_OK) status.
|
/PHP-7.3/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.3/tests/classes/ |
H A D | arrayobject_001.phpt | 8 echo reset($a);
|
/PHP-7.3/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.3/ext/session/tests/ |
H A D | bug74833.phpt | 2 Bug #74833 Session module number is uninitialized when SID is reset
|
Completed in 31 milliseconds
123456