Commit Graph

17 Commits

Author SHA1 Message Date
Felipe Pena
af43d306c0 - Added 'p' type specifier 2011-06-07 22:22:01 +00:00
Matt Wilmas
b907aa4331 MFH:
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
 * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
 * See bug #42868 (presumably-rare platform with different results in 5.2)
 * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
    otherwise it's the same as 5.2
 * Use this conversion method everywhere instead of some plain (long) casts

Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
 * Essentially what 5.3's new conversion was doing in most cases
 * Functions with "limit" or "length" type params could be updated to use this,
    and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
  - See bug #47854, for example; or even #42868 again

# Test updates coming
2009-06-04 18:20:45 +00:00
Stanislav Malyshev
fce39ed9f7 add object-compatible array modes 2008-11-24 18:10:36 +00:00
Antony Dovgal
9c8ecb35a6 MFH 2008-08-18 14:34:59 +00:00
Antony Dovgal
991ae6e7d3 MFH: add note on 64bit compatibility and mention check_parameters.php 2008-08-18 13:09:41 +00:00
Jani Taskinen
a506a10cd6 MFH 2007-11-06 09:48:24 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Johannes Schlüter
e9dd6fab91 - MFH: Fix type in example 2007-09-28 22:04:39 +00:00
Andrei Zmievski
871fb78154 Update ! docs. 2007-02-05 17:57:51 +00:00
Marcus Boerger
39a4078b8c - Reorder and add missing 2006-07-12 07:34:28 +00:00
Derick Rethans
530e7120b2 - Whitespace 2003-01-03 10:39:22 +00:00
Jon Parise
fd4d1f2c05 Formatting nit: "autoconverted" to "auto-converted" 2002-10-23 21:32:39 +00:00
Sascha Schumann
ad8b4257a2 Please note that you need to use 'int' as a length type when
fetching strings.
2002-07-03 18:36:50 +00:00
Derick Rethans
dfd8ea7147 - Fix README 2002-07-03 14:01:18 +00:00
Rasmus Lerdorf
550550f746 Minor tweaks 2001-10-23 19:57:45 +00:00
Andrei Zmievski
b31c3e04bc Fix-up. 2001-10-22 20:37:11 +00:00
Andrei Zmievski
27d63c5b8d Adding some docs for new parameter parsing API. They really should be more
fleshed out.
2001-10-22 20:28:57 +00:00