php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11392 %u not working in (s)printf
Submitted: 2001-06-10 23:47 UTC Modified: 2001-06-12 01:56 UTC
From: emdee at cwcom dot net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.4pl1 OS: Win98
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: emdee at cwcom dot net
New email:
PHP Version: OS:

 

 [2001-06-10 23:47 UTC] emdee at cwcom dot net
$i = 123;
printf("%d:%u", $i, $i);

this returns "123:"

i'm told this problem is apparent in v4.0.5 also.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-11 09:16 UTC] emdee at cwcom dot net
bug type changed from 'Output Control' to 'Unknown/Other Function', as i think it belongs in here. apologies.
 [2001-06-12 01:56 UTC] sniper@php.net
Of course it doesn't work. It is added in PHP 4.0.6 which
is not yet released. The online documentation is still wrong
about this, but there has been a note added to the docs CVS.

--Jani

 [2001-06-12 01:56 UTC] sniper@php.net
Of course it doesn't work. It is added in PHP 4.0.6 which
is not yet released. The online documentation is still wrong
about this, but there has been a note added to the docs CVS.

--Jani

 [2001-06-12 01:56 UTC] sniper@php.net
Of course it doesn't work. It is added in PHP 4.0.6 which
is not yet released. The online documentation is still wrong
about this, but there has been a note added to the docs CVS.

--Jani

 [2001-06-12 01:56 UTC] sniper@php.net
Of course it doesn't work. It is added in PHP 4.0.6 which
is not yet released. The online documentation is still wrong
about this, but there has been a note added to the docs CVS.

--Jani

 [2001-06-12 01:56 UTC] sniper@php.net
Of course it doesn't work. It is added in PHP 4.0.6 which
is not yet released. The online documentation is still wrong
about this, but there has been a note added to the docs CVS.

--Jani

 [2001-06-12 01:56 UTC] sniper@php.net
Of course it doesn't work. It is added in PHP 4.0.6 which
is not yet released. The online documentation is still wrong
about this, but there has been a note added to the docs CVS.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 19:01:37 2025 UTC