php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44738 json.c:426: warning: unknown conversion type character 'k' in format
Submitted: 2008-04-15 23:40 UTC Modified: 2008-04-16 17:26 UTC
From: sixd@php.net Assigned:
Status: Not a bug Package: JSON related
PHP Version: 5.3CVS-2008-04-15 (CVS) OS: Ubuntu 7.10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sixd@php.net
New email:
PHP Version: OS:

 

 [2008-04-15 23:40 UTC] sixd@php.net
Description:
------------
My build log for PHP 5.3 shows this in json.c:
 
gcc -Iext/json/ -I/home/cjones/phpsrc/php53/ext/json/ -DPHP_ATOM_INC -I/home/cjones/phpsrc/php53/include -I/home/cjones/phpsrc/php53/main -I/home/cjones/phpsrc/php53 -I/home/cjones/phpsrc/php53/ext/ereg/regex -I/usr/include/libxml2 -I/home/cjones/phpsrc/php53/ext/date/lib -I/home/cjones/instantclient_10_2/sdk/include -I/home/cjones/phpsrc/php53/TSRM -I/home/cjones/phpsrc/php53/Zend -I/usr/include -g -fvisibility=hidden -O0 -Wall -c /home/cjones/phpsrc/php53/ext/json/json.c -o ext/json/.libs/json.o
/home/cjones/phpsrc/php53/ext/json/json.c: In function 'json_encode_r':
/home/cjones/phpsrc/php53/ext/json/json.c:426: warning: unknown conversion type character 'k' in format
/home/cjones/phpsrc/php53/ext/json/json.c:426: warning: too many arguments for format

The same warning occurs on Ubuntu 7.10 and RHEL 4.  It also occurs with PHP 5.2.

My config.nice contains:

'./configure' \
'--prefix=/home/cjones/php53_10' \
'--with-apxs2=/home/cjones/apache/bin/apxs' \
'--enable-debug' \
'--with-gd' \
'--with-zlib' \
'--with-oci8=instantclient,/home/cjones/instantclient_10_2' \
'--enable-sigchild' \
"$@"




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-16 17:26 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Its a custom PHP data format
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC