|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65097 nApplyCount release missing
Submitted: 2013-06-22 14:03 UTC Modified: 2013-06-30 02:51 UTC
From: emptyhua at gmail dot com Assigned: laruence (profile)
Status: Closed Package: lua (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2013-06-22 14:03 UTC] emptyhua at gmail dot com
nApplyCount release missing

Test script:
$lua = new Lua();
function main(x)
 return nil
$obj = array(1, 2, 3, array(4, 5, 6));
echo json_encode($obj) . "\n";
$lua->call('main', array($obj));
echo json_encode($obj) . "\n";

Expected result:

Actual result:
PHP Warning:  json_encode(): recursion detected in /tmp/test.php on line 10


php_lua_release_nApplyCount (last revision 2013-06-22 14:07 UTC by emptyhua at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-25 04:38 UTC]
-Assigned To: +Assigned To: laruence
 [2013-06-30 02:51 UTC]
-Status: Assigned +Status: Closed
 [2013-06-30 02:51 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

fixed in my own repo, thanks
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 04:01:28 2024 UTC