note 25863 added to function.file
| From: | bisso_ at privacy dot com | Date: | Wed, 09 Oct 2002 10:37:05 +0000 |
| Subject: | note 25863 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37834@lists.php.net to get a copy of this message | ||
Something weird to notice:
if you put:
<?php
print("test");
?>
in test.php
and then call $arr = file("test.php");
$arr will contain
print("test"); at index 0 and ?> at index 1
<?php has disappeared!
--
http://www.php.net/manual/en/function.file.php
http://master.php.net/manage/user-notes.php?action=edit+25863
http://master.php.net/manage/user-notes.php?action=delete+25863
http://master.php.net/manage/user-notes.php?action=reject+25863