#649: PHP 5.2.5's completely ruined glob() can lead to unhappy foreach loops
---------------------+------------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 0.11.1
Component: _OTHER_ | Version: 0.11.0
Severity: normal | Keywords:
---------------------+------------------------------------------------------
We need to check for the return value. If it is false (which it might be
as of 5.2.5 even if there is no "error"), and no open_basedir or safe_mode
restrictions are in effect, then we can throw an exception about the error
condition or so. Otherwise, we simply ignore it. Oh so sad. Or we just
suppress it altogether.
See
* http://bugs.php.net/bug.php?id=43461
* http://bugs.php.net/bug.php?id=43407
* http://bugs.php.net/bug.php?id=43530
--
Ticket URL: <http://trac.agavi.org/ticket/649>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets