Marcus Boerger
d4f5b3f0a9
- This is PHP 6 - if this ... ever gets out
2009-03-10 23:40:06 +00:00
Ilia Alshanetsky
22839f881e
MFB: Added an E_NOTICE when precision value is truncated
2009-01-20 18:03:33 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Felipe Pena
b9b83ec794
- New parameter parsing API (for *printf())
2008-08-10 21:48:22 +00:00
Dmitry Stogov
d8aad16dd0
Use new parameter parsing API
2008-07-01 10:01:25 +00:00
Stanislav Malyshev
8a6c836497
fix integer overflow in lenght calculation
2008-03-17 23:07:55 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Jani Taskinen
e237da1572
- Nuked ending dots in error messages
2007-09-30 05:43:28 +00:00
Antony Dovgal
c601b252a0
fix %u in Unicode mode
2007-07-13 15:52:38 +00:00
Brian Shire
35a6ab5a2c
Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.)
2007-06-03 09:11:52 +00:00
Antony Dovgal
9c99b709a7
zend_make_printable_zval -> zend_make_string_zval
2007-05-17 17:29:09 +00:00
Antony Dovgal
a0c243ff68
fix grammar
2007-01-17 08:25:25 +00:00
Ilia Alshanetsky
c4df94e10b
MFB: Improve validation of argnum, width and precision.
2007-01-13 16:32:29 +00:00
Ilia Alshanetsky
7861862426
MFB: Use long instead of int where long is expected.
2007-01-12 02:04:27 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Antony Dovgal
ebfd8e9bf2
fix #36392 in Unicode mode
2006-12-25 11:15:08 +00:00
Ilia Alshanetsky
2e5e31c6b8
MFB: Fixed bug #36392 (wrong number of decimal digits with %e specifier in
...
sprintf).
2006-12-22 15:30:18 +00:00
Andrei Zmievski
4d90ff003c
Align Unicode and binary versions of formatted printing.
2006-12-20 18:33:27 +00:00
Andrei Zmievski
7d966063f6
Unicode support in *printf() functions. (Antony, Andrei)
2006-12-19 18:41:40 +00:00
Dmitry Stogov
fb7237eebd
Support for systems without locale.h
2006-12-19 13:13:48 +00:00
Dmitry Stogov
869003830b
Fixed bug #39815 (SOAP double encoding is not locale-independent)
2006-12-19 11:55:16 +00:00
Hannes Magnusson
44693bbf85
- make %f locale aware again
...
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:25:32 +00:00
Antony Dovgal
2122cf4fab
initialize variables and make Coverity happy
2006-12-07 20:45:21 +00:00
Antony Dovgal
b93db04a1d
move handling of 'F' to the top
2006-12-06 16:28:27 +00:00
Antony Dovgal
34398156d8
add missing 'F' modified (noticed by Matt)
2006-12-06 14:47:19 +00:00
Antony Dovgal
4789badd3a
use BSD licensed implementation of double-to-string utilities instead of LGPL one
...
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:50:28 +00:00
Hannes Magnusson
bf0a79d381
Updated protos
...
Fixed vim folding
2006-06-25 19:19:31 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
c85a9abc4c
Fixed bug #29733 (printf() handles repeated placeholders wrong).
...
# Original patch by bugs dot php dot net at bluetwanger dot de
2005-01-26 00:01:26 +00:00
Derick Rethans
61364b5bb1
- MFH4.3: Cleaned up some of the locale mess:
...
* all internal use of sprintf, snprintf and the like will always
use the . as thousands seperator (if php.h is included only!).
* echo, printf() and sprintf() always render locale-aware
* added the %F modifier for non-locale aware rendering for floats
2004-11-15 13:42:22 +00:00
Derick Rethans
59651c4e58
- Fixed bug #30630 : Added a BSD based strtod function that is
...
locale-independent. (PHP part)
2004-11-03 23:36:51 +00:00
Ilia Alshanetsky
8840191d91
Fixed bug #28633 (sprintf incorrectly adding padding to floats).
2004-07-18 17:27:49 +00:00
Ard Biesheuvel
fd7a92f046
Fixed unregistered bug (memory leak in printf() & friends)
2004-05-19 16:46:29 +00:00
Marcus Boerger
251b627684
- Fix printf with floats
2004-05-16 14:01:45 +00:00
Ilia Alshanetsky
bd92164eff
Make vprintf() and printf() return the length of the string printed.
...
Make fprintf() and vfprints() return the correct length of the string
printed.
2004-05-11 19:51:46 +00:00
Ilia Alshanetsky
4a954193e4
Fixed bug #27278 (*printf() functions treat arguments as if passed by
...
reference).
2004-02-16 17:09:37 +00:00
foobar
56373e08d6
- Fixed bug #26973 (*printf() + modifier broken)
2004-01-21 04:00:07 +00:00
Ilia Alshanetsky
43becc02f1
Fixed bug #26878 (problem with multiple references to the same variable
...
with different types).
2004-01-13 23:11:31 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Marcus Boerger
2fc7a07e62
Use __tostring() in all printing functions.
2003-12-29 22:26:48 +00:00
Ilia Alshanetsky
ed40ae2650
emalloc -> safe_emalloc
2003-08-11 23:16:54 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
a51ab0fed0
Fixed bug #23894 (sprintf() decimal specifiers problem)
2003-05-30 13:49:33 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
Moriyoshi Koizumi
b069f35022
Fixed bug #22227
...
Added test case for bug #22227
2003-02-15 15:57:31 +00:00
Ilia Alshanetsky
7fffe4338a
Fixed bug #22207 (e notation in *printf would be missing a 0 when there is
...
no exponent).
Added a test case for the bug.
2003-02-13 17:25:31 +00:00
Moriyoshi Koizumi
7fa0970567
Reverted because correct decision has not been made yet.
2003-01-11 23:05:19 +00:00
Moriyoshi Koizumi
dd2ad168e1
Reduced compiler warnings in ZE2 build
2003-01-11 22:17:37 +00:00
Wez Furlong
59e4fdcc10
Implement fprintf() and vfprintf().
...
Add a couple of tests.
2003-01-09 17:29:31 +00:00