#27519 [Opn->Fbk]: Reflection_Function constructor crashes with non-existant function's name

From: Date: Sun, 07 Mar 2004 20:39:44 +0000
Subject: #27519 [Opn->Fbk]: Reflection_Function constructor crashes with non-existant function's name
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56049@lists.php.net to get a copy of this message
ID: 27519 Updated by: derick@php.net Reported By: su1d at phpclub dot net -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Win32 PHP Version: 5.0.0RC1-dev New Comment: Can't reproduce this on Linux. What is the full error message you get? Previous Comments: ------------------------------------------------------------------------ [2004-03-07 15:35:01] su1d at phpclub dot net The bug persists in the latest Win32 build. E:\>php -v PHP 5.0.0RC1-dev (cli) (built: Mar 5 2004 12:17:19) 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');" ** CRASH ** ------------------------------------------------------------------------ [2004-03-07 14:51:37] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2004-03-07 14:13:17] su1d at phpclub dot net 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 this bug report at http://bugs.php.net/?id=27519&edit=1

« previous php.bugs (#56049) next »