note 82417 added to control-structures.alternative-syntax
| From: | martin at rootshell dot cz | Date: | Wed, 09 Apr 2008 23:31:31 +0000 |
| Subject: | note 82417 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138086@lists.php.net to get a copy of this message | ||
What about this ?? And it's actually works.
<?php
$filename = '/path/to/data-file';
$file = fopen ($filename, 'r')
or die("Can't open the file ($filename)");
?>
----
Server IP: 190.34.163.26
Probable Submitter: 190.33.255.42
----
Manual Page -- http://www.php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/82417
Del: integrated -- https://master.php.net/note/delete/82417/integrated
Del: useless -- https://master.php.net/note/delete/82417/useless
Del: bad code -- https://master.php.net/note/delete/82417/bad+code
Del: spam -- https://master.php.net/note/delete/82417/spam
Del: non-english -- https://master.php.net/note/delete/82417/non-english
Del: in docs -- https://master.php.net/note/delete/82417/in+docs
Del: other reasons-- https://master.php.net/note/delete/82417
Reject -- https://master.php.net/note/reject/82417
Search -- https://master.php.net/manage/user-notes.php