06-06-2012
Sometimes I liken it to the difference between a car and an orthopedic surgeon.
Sure, both of them can help you move, but in totally different ways and concepts
10 More Discussions You Might Find Interesting
1. Linux
What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies
2. UNIX for Dummies Questions & Answers
I *think* what I want to do is not only possible but easy, but as a "dummy" :) I can't figure it out. Here's what I have:
Linux (Ubuntu 10.04) laptop that is not in my house, but has an Internet connection.
Linux (Ubuntu 9.04) computer in my house that has unfettered access to the... (6 Replies)
Discussion started by: WesleyC
6 Replies
3. Shell Programming and Scripting
Hi,
I have perl script abc.pl which runs perfectly fine on windows ( execution from cmd).
Now i tried to execute the same perl module on the AIX server after defining the captureoutput.pm and other relevant changes.
But its behaving very weirdly as a portion of the URL which is formed by... (3 Replies)
Discussion started by: slayer0611
3 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
can anyone share any URl or link which is about the main 20 advantages and features of unix over windows i mean i need camparison matrix between windows and any flavour of unix. thanks a lot in advance for sharing.
Best Regards (4 Replies)
Discussion started by: younusdba
4 Replies
5. What is on Your Mind?
Hi..
What is the difference between linux and windows? (2 Replies)
Discussion started by: billcrosby
2 Replies
6. UNIX for Dummies Questions & Answers
Hi I am new to linux
I have dout waht is the difference between UNIX and LINUX
Is there any soft for insatallation for UNIX OS
Thanks (0 Replies)
Discussion started by: sanjaya
0 Replies
7. Linux
Hi,
What is the difference between Linux and Windows?
Thanks. (1 Reply)
Discussion started by: billcrosby
1 Replies
8. Red Hat
what is the difference between Redhat Linux and Redhat Enterprise Linux. whereas Redhat linux have Server installation options too. (2 Replies)
Discussion started by: hananabbas
2 Replies
9. UNIX for Beginners Questions & Answers
I have heard that UNIX disk storage is costlier than Windows Disk storage. Is that true? If not why we have limited storage on UNIX systems? Windows disk storage is so cheap nowadays. Is it not true for UNIX disks? (8 Replies)
Discussion started by: Soham
8 Replies
10. UNIX for Beginners Questions & Answers
Hi, totally new to linux base using windows when started learning and using computers.
but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies
PREV(3) 1 PREV(3)
prev - Rewind the internal array pointer
SYNOPSIS
mixed prev (array &$array)
DESCRIPTION
Rewind the internal array pointer.
prev(3) behaves just like next(3), except it rewinds the internal array pointer one place instead of advancing it.
PARAMETERS
o $array
- The input array.
RETURN VALUES
Returns the array value in the previous place that's pointed to by the internal array pointer, or FALSE if there are no more elements.
EXAMPLES
Example #1
Example use of prev(3) and friends
<?php
$transport = array('foot', 'bike', 'car', 'plane');
$mode = current($transport); // $mode = 'foot';
$mode = next($transport); // $mode = 'bike';
$mode = next($transport); // $mode = 'car';
$mode = prev($transport); // $mode = 'bike';
$mode = end($transport); // $mode = 'plane';
?>
NOTES
Warning
This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE. Please read the section on
Booleans for more information. Use the === operator for testing the return value of this function.
Note
You won't be able to distinguish the beginning of an array from a boolean FALSE element. To properly traverse an array which may
contain FALSE elements, see the each(3) function.
SEE ALSO
current(3), end(3), next(3), reset(3), each(3).
PHP Documentation Group PREV(3)