#35514 [WFx]: zend_fetch_debug_backtrace signature has changed in minor release

From: Date: Fri, 02 Dec 2005 08:52:45 +0000
Subject: #35514 [WFx]: zend_fetch_debug_backtrace signature has changed in minor release
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89626@lists.php.net to get a copy of this message
 ID:               35514
 User updated by:  cedric dot champeau at e-manation dot com
 Reported By:      cedric dot champeau at e-manation dot com
 Status:           Wont fix
 Bug Type:         Scripting Engine problem
 Operating System: All
 PHP Version:      5.1.1
 New Comment:

mmm... Is this right if the API is changed on a minor release ?
Shouldn't we have compatibility ? The problem has been submitted to the
php-java-bridge developer who says it is a major issue if the API is
changed between minor releases... I'm quite stuck :/


Previous Comments:
------------------------------------------------------------------------

[2005-12-02 09:46:46] sniper@php.net

And it will stay like that, too bad.

------------------------------------------------------------------------

[2005-12-02 09:44:41] cedric dot champeau at e-manation dot com

Description:
------------
The signature of function zend_fetch_debug_stacktrace has changed after
upgrading from 5.1.0 to 5.1.1.

Problem discovered when trying to build the php-java-bridge.

Actual result:
--------------
[root@lorien tmp]# grep -r "ZEND_API void zend_fetch_debug_backtrace"
php*
php-5.1.0/Zend/zend_builtin_functions.c:ZEND_API void
zend_fetch_debug_backtrace
(zval *return_value, int skip_last TSRMLS_DC)
php-5.1.0/Zend/zend_builtin_functions.h:ZEND_API void
zend_fetch_debug_backtrace
(zval *return_value, int skip_last TSRMLS_DC);
php-5.1.1/Zend/zend_builtin_functions.c:ZEND_API void
zend_fetch_debug_backtrace
(zval *return_value, int skip_last, int provide_object TSRMLS_DC)
php-5.1.1/Zend/zend_builtin_functions.h:ZEND_API void
zend_fetch_debug_backtrace
(zval *return_value, int skip_last, int provide_object TSRMLS_DC);


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35514&edit=1


Thread (3 messages)

« previous php.bugs (#89626) next »