PHP to Ruby
Convert PHP code into Ruby!
-
reset
Posted on September 14th, 2009 No commentsThe reset() function in PHP sets the internal pointer of an array to its first element. However in Ruby, there is no internal array pointer - as such Ruby doesn’t have an equivalent to PHP’s reset() function.
Leave a reply


