PHP :: Bug #51590 :: JSON_ERROR_UTF8 is undefined

Bug #51590 JSON_ERROR_UTF8 is undefined
Submitted: 2010-04-18 19:54 UTC Modified: 2010-04-18 20:08 UTC
From: alex006 at freemail dot hu Assigned: felipe (profile)
Status: Closed Package: JSON related
PHP Version: 5.3.2 OS: Windows
Private report: No CVE-ID: None

 [2010-04-18 19:54 UTC] alex006 at freemail dot hu

Description:
------------
PHP 5.3.2
Apache 2.2.15
Windows 7 Pro

Test script:
---------------
<?php
print JSON_ERROR_SYNTAX; //works, output = 4
print JSON_ERROR_UTF8; //Notice: Use of undefined constant JSON_ERROR_UTF8

?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2010-04-18 20:08 UTC] felipe@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe

 [2010-04-18 20:08 UTC] felipe@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.