php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-18 20:07 UTC] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=298145
Log: - Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)
 [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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC