|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58660 PHPScript cannot be compiled
Submitted: 2009-05-03 13:00 UTC Modified: 2017-04-01 21:26 UTC
From: miau dot jp at gmail dot com Assigned:
Status: Wont fix Package: PHPScript (PECL)
PHP Version: 5_3 CVS-2009-05-03 (dev) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: miau dot jp at gmail dot com
New email:
PHP Version: OS:


 [2009-05-03 13:00 UTC] miau dot jp at gmail dot com
When I compile PHPScript, I get the error below.

ext\activescript\scriptengine.cpp(2031) : error C2660: 'zend_exception_error' : function does not take 2 arguments

I follow the blog to compile it.

Reproduce code:
Index: scriptengine.cpp
RCS file: /repository/pecl/activescript/scriptengine.cpp,v
retrieving revision 1.19
diff -u -r1.19 scriptengine.cpp
--- scriptengine.cpp	4 Dec 2005 15:48:26 -0000	1.19
+++ scriptengine.cpp	3 May 2009 16:46:58 -0000
@@ -2028,7 +2028,7 @@
 	/* ugly way to detect an exception for an eval'd fragment */
 	if (type == E_ERROR && EG(exception) && strstr("Exception thrown without a stack frame", format)) {
-		zend_exception_error(EG(exception) TSRMLS_CC);
+		zend_exception_error(EG(exception), E_ERROR TSRMLS_CC);
 		/* NOTREACHED -- recursive E_ERROR */
 	} else {
 		buflen = vspprintf(&buf, PG(log_errors_max_len), format, args);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-01 21:26 UTC]
-Status: Open +Status: Wont fix
 [2017-04-01 21:26 UTC]
Due to this extension not seeing any activity since 2009, this issue will not be fixed. We are therefore closing this now.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Dec 03 22:05:53 2022 UTC