Choose:Python or Php
News Startseite Über SELFPHP Werbung Kontakt Forum Download Unsere Banner SELFPHP in Buchform Newsletter Impressum
<?PHP $array1 = array("php","perl","asp"); $array2 = array_reverse($array1); $array3 = array_reverse($array1,TRUE); print_r($array1); print_r($array2); print_r($array3); ?>
Array ( [0] => php [1] => perl [2] => asp ) Array ( [0] => asp [1] => perl [2] => php ) Array ( [2] => asp [1] => perl [0] => php )