Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/11/2009, 12:27
Avatar de pateketrueke
pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años, 1 mes
Puntos: 2534
Respuesta: Preguntas sobre funciones

necesitas pasar los argumentos por referencia, y así después usar unset()

Código PHP:
$foo = array('candy');
$bar = array('does');

nothing($foo$bar);
var_dump(isset($foo$bar));

function 
nothing(&$a, &$b)
{
  unset(
$a);
  unset(
$b);

te sugiero leer el manual de PHP
http://us3.php.net/manual/en/language.functions.php
__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.