From:             [EMAIL PROTECTED]
Operating system: WinXP SP2
PHP version:      5.2.2
PHP Bug Type:     Streams related
Bug description:  stream_wrapper_register() and underscore in $protocol

Description:
------------
When I use underscores in $protocol parameter for
stream_wrapper_register(), I get an error telling me that PHP was "Unable
to register wrapper class ...". In main/streams/userspace. this error is
thrown and one can find the comment "/* Should never happen */" above it.

Either the comment is wrong or there should be a check for the validity of
the protocal name.


-- 
Edit bug report at http://bugs.php.net/?id=41390&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41390&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41390&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41390&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41390&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41390&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41390&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41390&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41390&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41390&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41390&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41390&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41390&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41390&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41390&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41390&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41390&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41390&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41390&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41390&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41390&r=mysqlcfg

Reply via email to