FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18561&edit=1

ID: 18561
Updated by: kvz@php.net
Reported By: svanzoest at onerecovery dot com
Summary: _ilog function incompatible with json_encode output
-Status: Open
+Status: Closed
Type: Bug
Package: System_Daemon
Operating System: Ubuntu Lucid
Package Version: 1.0.0RC1
PHP Version: 5.3.6
-Assigned To:
+Assigned To: kvz
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: kvz
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Fixed:
https://github.com/kvz/system_daemon/commit/a990331c52c19bfba1c939a6585c9c3
c50e5463f


Previous Comments:
------------------------------------------------------------------------

[2011-05-25 00:38:31] svanzoest

Description:
------------
Because of the internal {AppName} preg_replace_callback() in the _ilog
function, we are unable to output a json string.



Test script:
---------------
For example:

System_Daemon::notice("update %s -> %s", $uuid, json_encode($string));

Expected result:
----------------
notice: update '64a6c2bc8799441db69ab9909d7477dd' -> '{"name":0}'




Actual result:
--------------
notice: update '64a6c2bc8799441db69ab9909d7477dd' ->
'NONEXISTING_VAR_OPTIONS."name":0

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 25, '11 at 9:38a
activeMay 25, '11 at 9:38a
posts1
users1
websitepear.php.net

1 user in discussion

Kvz: 1 post

People

Translate

site design / logo © 2022 Grokbase