|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58270 Build fails with ZTS enabled
Submitted: 2008-07-11 21:42 UTC Modified: 2008-08-17 07:39 UTC
From: haakhi at gmail dot com Assigned:
Status: Closed Package: bbcode (PECL)
PHP Version: 5.2.5 OS: linux 2.6.24-gentoo-r7
Private report: No CVE-ID: None
 [2008-07-11 21:42 UTC] haakhi at gmail dot com
When I try to emerge pecl-bbcode-1.0.0, the build fails with messages about too many parameters to zend_is_callable, and undeclared 'tsrm_ls'.

Changing php_bbcode.c by:
 - Removing the TSRMLS_CC argument for zend_is_callable(), and
 - adding a TSRMLS_DC argument for _php_bbcode_add_element,
fixes the problem.

Actual result:
.../bbcode-1.0.0/php_bbcode.c: In function '_php_bbcode_handling_content':
.../bbcode-1.0.0/php_bbcode.c:90: error: too many arguments to function 'zend_is_callable'
.../bbcode-1.0.0/php_bbcode.c: In function '_php_bbcode_handling_param':
.../bbcode-1.0.0/php_bbcode.c:142: error: too many arguments to function 'zend_is_callable'
.../bbcode-1.0.0/php_bbcode.c: In function '_php_bbcode_add_element':
.../bbcode-1.0.0/php_bbcode.c:208: error: 'tsrm_ls' undeclared (first use in this function)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-17 07:39 UTC] xdecock at gmail dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 02 10:03:34 2021 UTC