From: Christopher Jones Date: Thu, 20 May 2010 17:55:58 +0000 (+0000) Subject: New current()/next() test X-Git-Tag: php-5.3.3RC1~145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bdc7518a2ce7a58541f93b26828dc3bd417d924;p=php New current()/next() test --- diff --git a/ext/standard/tests/array/current_variation5.phpt b/ext/standard/tests/array/current_variation5.phpt new file mode 100644 index 0000000000..b9bf4a9955 --- /dev/null +++ b/ext/standard/tests/array/current_variation5.phpt @@ -0,0 +1,58 @@ +--TEST-- +Test current() function : usage variations - reference +--FILE-- + +===DONE=== + +--EXPECTF-- +*** Testing current() : usage variations *** + +-- Function: reference parameter -- +string(3) "yes" +string(5) "maybe" +string(5) "maybe" +string(2) "no" + +-- Function: normal parameter -- +string(3) "yes" +string(5) "maybe" +string(5) "maybe" +string(2) "no" +===DONE===