php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50898 php dies when trying to include file from VFS
Submitted: 2010-02-01 12:08 UTC Modified: 2010-02-01 12:28 UTC
From: virus126 at gmail dot com Assigned:
Status: Not a bug Package: URL related
PHP Version: 5.3.1 OS: debian
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: virus126 at gmail dot com
New email:
PHP Version: OS:

 

 [2010-02-01 12:08 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-01 12:22 UTC] jani@php.net
No idea why you're reporting bugs in 3rd party stuff here..
 [2010-02-01 12:28 UTC] virus126 at gmail dot com
becouse in php 5.2.6 it works fine & v5.3.1 doesn`t print any error
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC