|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-03-01 15:15 UTC] hholzgra at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Jun 14 17:00:01 2026 UTC |
die() manual example 1 is below... ------------ <?php $filename = '/path/to/data-file'; $file = fopen($filename, 'r') or die "unable to open file ($filename)"; ?> ------------ but this makes a parse error (line 4), So I correct this, below... ------------ <?php $filename = '/path/to/data-file'; $file = fopen($filename, 'r') or die ("unable to open file ($filename)"); // () are required ?> ------------ Sorry, my poor English Akihiro SAGAWA (Japanese)