codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<p> <?php $the_array = array(5,3,7,1); sort($the_array); echo join(", ",$the_array); ?> </p> <p> <?php $the_array = array(5,3,7,1); rsort($the_array); echo join(", ",$the_array); ?> </p>
Private
[
?
]
Run code
Submit