#27519 [NEW]: Reflection_Function constructor crashes with non-existant function's name
| From: | su1d at phpclub dot net | Date: | Sun, 07 Mar 2004 19:13:17 +0000 |
| Subject: | #27519 [NEW]: Reflection_Function constructor crashes with non-existant function's name | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-56044@lists.php.net to get a copy of this message | ||
From: su1d at phpclub dot net
Operating system: Win32
PHP version: 5.0.0b4 (beta4)
PHP Bug Type: Reproducible crash
Bug description: Reflection_Function constructor crashes with non-existant function's name
Description:
------------
E:\>php -v
PHP 5.0.0b4 (cli) (built: Feb 12 2004 18:00:13)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.0-dev, Copyright (c) 1998-2004 Zend Technologies
E:\>php -r "$F = new Reflection_Function('abs');"
E:\>php -r "$F = new Reflection_Function('no_function');"
** BANG! **
Reproduce code:
---------------
$F = new Reflection_Function('no_function');
--
Edit bug report at http://bugs.php.net/?id=27519&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27519&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27519&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27519&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27519&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27519&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27519&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27519&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27519&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27519&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27519&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27519&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27519&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27519&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27519&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27519&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27519&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27519&r=float