#50898 [Opn->Bgs]: php dies when trying to include file from VFS
| From: | jani@php.net | Date: | Mon, 01 Feb 2010 12:22:06 +0000 |
| Subject: | #50898 [Opn->Bgs]: php dies when trying to include file from VFS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147094@lists.php.net to get a copy of this message | ||
ID: 50898
Updated by: jani@php.net
Reported By: virus126 at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: URL related
Operating System: debian
PHP Version: 5.3.1
New Comment:
No idea why you're reporting bugs in 3rd party stuff here..
Previous Comments:
------------------------------------------------------------------------
[2010-02-01 12:08:02] virus126 at gmail dot com
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 this bug report at http://bugs.php.net/?id=50898&edit=1