Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/02/2010, 11:16
Avatar de cesarpunk
cesarpunk
 
Fecha de Ingreso: enero-2008
Ubicación: Lima
Mensajes: 943
Antigüedad: 16 años, 3 meses
Puntos: 9
throw new Exception

Hola, se necesita habilitar algo en el php.ini para que funcione el
throw new Exception("..."); porque me sale este error:

Fatal error: Uncaught exception 'Exception' with message '...' in index.php:12 Stack trace: #0 {main} thrown in index.php on line 12

Además en el php designer no se resalta el throw y el Exception como si fueran funciones del php

Espero me puedan ayudar, gracias.
__________________
Quitenme la vida pero no la bebida.