php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35514 zend_fetch_debug_backtrace signature has changed in minor release
Submitted: 2005-12-02 09:44 UTC Modified: 2005-12-02 09:52 UTC
From: cedric dot champeau at e-manation dot com Assigned:
Status: Wont fix Package: Scripting Engine problem
PHP Version: 5.1.1 OS: All
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-12-02 09:44 UTC] 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);

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-02 09:46 UTC] sniper@php.net
And it will stay like that, too bad.
 [2005-12-02 09:52 UTC] cedric dot champeau at e-manation dot com
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 :/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC