From: virus126 at gmail dot com Operating system: debian PHP version: 5.3.1 PHP Bug Type: URL related Bug description: php dies when trying to include file from VFS
Description: ------------ Can't include code stored in vfsStream (http://code.google.com/p/bovigo/) - php just dies. What version of the product are you using? On what operating system? php 5.3.1 (dotdeb.org), vfsStream 0.5.0, debian lenny Reproduce code: --------------- <?php require_once 'vfsStream/vfsStream.php'; vfsStreamWrapper::register(); vfsStreamWrapper::setRoot(new vfsStreamDirectory('exampleDir')); $root = vfsStream::url('exampleDir') . '/'; file_put_contents($root . 'test', 'test'); echo 'before' . PHP_EOL; include ($root . 'test'); echo 'finish'; Expected result: ---------------- before testfinish Actual result: -------------- before -- Edit bug report at http://bugs.php.net/?id=50898&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50898&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50898&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50898&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50898&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50898&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50898&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50898&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50898&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50898&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50898&r=support Expected behavior: http://bugs.php.net/fix.php?id=50898&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50898&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50898&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50898&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50898&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50898&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50898&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50898&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50898&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50898&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50898&r=mysqlcfg
