note 69776 deleted from function.fopen by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 14:59:13 +0000 |
| Subject: | note 69776 deleted from function.fopen by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197272@lists.php.net to get a copy of this message | ||
Note Submitter: patryk dot szczyglowski at gmail dot com
----
Watch out not to specify empty string as filename. It seems PHP is trying to get data from stdin
which may end up in script timeout. It may not be trivial to find.
<?php
$fp = fopen('', 'r'); // wrong
?>