|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-14 20:48 UTC] dmitry dot poltaryonok at gmail dot com
[2005-09-14 22:32 UTC] sniper@php.net
[2005-09-15 09:23 UTC] dmitry dot poltaryonok at gmail dot com
[2005-09-15 09:30 UTC] tony2001@php.net
[2005-09-15 09:31 UTC] sniper@php.net
[2005-09-15 09:45 UTC] dmitry dot poltaryonok at gmail dot com
[2005-09-15 09:47 UTC] dmitry dot poltaryonok at gmail dot com
[2005-09-15 09:54 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 05:00:02 2025 UTC |
Description: ------------ After you register custom wrapper PHP crashes during inclusion of the file using this wrapper. Reproduce code: --------------- <? define('suAPI', 'mywrap://api.su/api/', true); class mywrap { function stream_open ( $path, $mode, $options, &$opened_path ) { return true; } function stream_read ( $count ) { return '<? echo \'test\';?>'; } } stream_wrapper_register('mywrap', 'mywrap'); include(suAPI.'config/config.php'); ?> Expected result: ---------------- I expect to see "test" string echoed from included code. included code returned by stream_read() Actual result: -------------- Windows displays that CLI PHP application crashed (or that Apache is crashed).