Ver Mensaje Individual
  #351 (permalink)  
Antiguo 22/05/2011, 06:29
kol1
 
Fecha de Ingreso: mayo-2011
Mensajes: 3
Antigüedad: 12 años, 11 meses
Puntos: 0
Respuesta: Juego: "¿Dónde está el error?"

Código PHP: Ver originalCopiar1.<?php2.function num($num){3. if($num == 10){ return; }4. num($num++);5. echo $num;6.}7.echo num(0); Ese código publica un error algo así

Cita:

Fatal error: Allowed memory size of ....... bytes exhausted (tried to allocate ....... bytes) in ....... on line 4
Debería publicar como resultado: 807517098. ¿Cuál es el problema y cómo resolverlo?