Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 116) sorted by last modified time

12345

/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/tests/classes/
H A Dimplicit_instantiation_001.phpt22 $c->$name = $value; // reset value in case implicit conversion was successful
26 $c->$name = $value; // reset value in case implicit conversion was successful
H A Diterators_006.phpt17 reset($this->array);
H A Diterators_007.phpt10 …public function rewind() { if ($this->x == 0) throw new Exception(__METHOD__); reset($this->arr…
H A Darrayobject_001.phpt8 echo reset($a);
/PHP-5.5/
H A Drun-tests.php2219 reset($old1); $k1 = key($old1); $l1 = -2;
2220 reset($old2); $k2 = key($old2); $l2 = -2;
2719 $type = reset($temp);
H A Dphp.ini-development1285 ; Auto reset feature requires a little overheads.
1286 ; http://php.net/pgsql.auto-reset-persistent
1859 ; When disabled, you must reset the OPcache manually or restart the
H A Dphp.ini-production1285 ; Auto reset feature requires a little overheads.
1286 ; http://php.net/pgsql.auto-reset-persistent
1859 ; When disabled, you must reset the OPcache manually or restart the
/PHP-5.5/ext/xsl/tests/
H A Dxsltprocessor_registerPHPFunctions-null.phpt2 Check xsltprocessor::registerPHPFunctions called with null to 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/standard/tests/general_functions/
H A Dprint_r.phpt122 var_dump( reset($booleans) );
H A Dprint_r_64bit.phpt123 var_dump( reset($booleans) );
/PHP-5.5/ext/standard/tests/array/
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_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_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 Dend_64bit.phpt62 reset( $array_test );
69 var_dump( reset($array_test) );
H A Dend.phpt62 reset( $array_test );
69 var_dump( reset($array_test) );
H A Dbug35022.phpt13 reset($state);
H A Deach.phpt46 echo "-- Testing each() with reset() function --\n";
47 /* reset the $arrays and use each to get the first element */
48 var_dump( reset($arrays) );
589 -- Testing each() with reset() function --
H A Dbug61730.phpt11 reset($myArray);
H A Dbug21998.phpt2 Bug #21998 (array_pop() does not reset the current array position)
H A Darray_shift_variation7.phpt11 * Test that the internal pointer is reset after calling array_shift()
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 ***

Completed in 54 milliseconds

12345