ChrisB: mehrere Werte einer function zurückgeben

Beitrag lesen

Hi,

Das einzige das mir als halbwegs Sinnvoll erscheint wäre folgendes:

<?php

function altefunktion(&$var)
{
    $var = 6;
}

funktion($a);
// $a ist 6
?>

  
Aha.  
Und?  
  
MfG ChrisB  
  

-- 
„This is the author's opinion, not necessarily that of Starbucks.“