Tema: funciones
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/01/2011, 11:27
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 17 años
Puntos: 845
Respuesta: funciones

Porque no te creas una clase(wrapper) para curl ?, sino lo mas simple es que retornes un array

Código PHP:
Ver original
  1. ...
  2. return array('call' => $llamada_pjudec, 'bytes' => $bytes_pjudec);

Saludos.
__________________
http://es.phptherightway.com/
thats us riders :)