Skip to content

Commit

Permalink
fix notice in loadPhar()
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/PHP_Archive/trunk@236673 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Greg Beaver committed May 29, 2007
1 parent f17d6f2 commit 9a8a106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public static final function loadPhar($file, $alias = NULL)
if ($file) {
$fp = fopen($file, 'rb');
$buffer = '';
while (!$found && !feof($fp)) {
while (!feof($fp)) {
$buffer .= fread($fp, 8192);
// don't break phars
if ($pos = strpos($buffer, '__HALT_COMPI' . 'LER();')) {
Expand Down

0 comments on commit 9a8a106

Please sign in to comment.