★ wanayoo — archive 1999 http://fr.php.net/manual/fr/function.die.phpNouvelle recherche | Portail wanayoo
PHP
Friday, July 27, 2001  
downloads | documentation | faq | support | reporting bugs | links 

search for in the  


previousdefined
evalnext

Last updated: Sun, 13 May 2001
view this page in English | Brazilian Portuguese | Czech | Dutch | French | German | Hungarian | Italian | Japanese | Korean | Spanish | Plain HTML

die

(unknown)

die --  Affiche un message et termine le script courant

Description

void die (string message)

die() affiche la chaîne passée en paramètre, puis termine l'exécution du script. Il ne retourne rien de plus.

Exemple 1. Exemple avec die()


<?php
$filename = '/path/to/data-file';
$file = fopen ($filename, 'r')
    or die("impossible d'ouvrir le fichier ($filename)");
?>
      

User Contributed Notes
die
add a note about notes
User contributed notes are not available on this mirror site; try here.


previousdefined
evalnext

Last updated: Sun, 13 May 2001

show source | credits | mirror sites:  

Copyright © 2001 The PHP Group
All rights reserved.
This mirror generously provided by: L'Université Michel de Montaigne Bordeaux III
Last updated: Fri Jul 27 15:25:04 2001 MET DST