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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cedric dot champeau at e-manation dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 01:01:35 2025 UTC