web:php:exceptions
Ceci est une ancienne révision du document !
Table des matières
Exceptions en PHP
La gestion d'exception en PHP se fait comme dans beaucoup de la manière suivante :
try { throw new Exception('message for this exception'); } catch (Exception $e) { // somehow handle the error here }
web/php/exceptions.1385481048.txt.gz · Dernière modification : le 26/11/2013 à 15:50 de Yosko