Strange printf

From: Date: Wed, 18 Jul 2001 11:14:04 +0000
Subject: Strange printf
Groups: php.dev 
Request: Send a blank email to php-dev+get-60208@lists.php.net to get a copy of this message
I have noticed that PHP printf threats non-decimal formats as signed. This is pretty non-standard, since C printf, for example, has all non-decimal formats as ungined, and so does Perl. The questions are: 1. What was the reason for this strange deviation from other languages? 2. Does anybody uses this feature and will someone object if it is returned to the thing the rest of languages having printf do? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.dev (#60208) next »