Marcus Boerger
d4f5b3f0a9
- This is PHP 6 - if this ... ever gets out
2009-03-10 23:40:06 +00:00
Derick Rethans
c1dec4858c
- Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject).
2009-01-07 14:35:50 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Felipe Pena
6849171a2d
- Removed unnecessary check for array ( #46273 , noticed by serovov at gmail dot com)
2008-10-24 10:27:54 +00:00
Felipe Pena
30f7bd1cb6
- MFB: New parameter parsing API
...
- Fixed tests
2008-08-19 02:51:28 +00:00
Jani Taskinen
6928f2e279
- Fix comment
2008-08-03 12:03:02 +00:00
Felipe Pena
8e1b4a55cc
- Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.
2008-07-24 19:50:23 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Derick Rethans
b5629cb468
- Fixed var_export() for array keys
...
- Fixed broken explode() test
2007-12-18 10:53:25 +00:00
Derick Rethans
5a14715596
- Fixed Bug #42272 (var_export() incorrectly escapes char(0)).
...
- Also fixed var_export() in unicode mode, as the function would actually
generate non-parsable strings which defeats the purpose of var_export().
2007-12-09 16:54:30 +00:00
Jani Taskinen
006b676806
more ws
2007-11-02 09:43:04 +00:00
Jani Taskinen
ad53b1b8c7
ws
2007-11-02 09:15:55 +00:00
Jani Taskinen
ecc8c15c0f
ws + cs + missing folding tags
2007-11-02 09:01:39 +00:00
Yiduo (David) Wang
95da0dc570
Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:15:07 +00:00
Antony Dovgal
1395b88a58
fix ws & folding
2007-06-26 21:21:02 +00:00
Derick Rethans
ad8eca0b05
- Added the H modifier to create non-locale-aware non-fixed-precision float
...
representations.
- Fixed var_export() to use the new H modifier so that it can generate
parsable PHP code for floats again, independent of the locale.
2007-06-19 12:19:27 +00:00
Dmitry Stogov
6db3e71316
64-bit support
2007-04-23 10:21:43 +00:00
Antony Dovgal
05dd85e7c9
be consistent with non-unicode implementation
2007-03-06 20:35:49 +00:00
Antony Dovgal
733b197105
initialize variable
2007-03-06 19:45:02 +00:00
Marcus Boerger
e490ccf47d
- MFH Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump)
2007-02-19 17:28:11 +00:00
Marcus Boerger
549ffc3ab0
- Use Z_OBJDEBUG_PP()
2007-01-19 22:19:39 +00:00
Marcus Boerger
13da6bf4d7
- Add debug_info helper to overloadedobjects
2007-01-18 23:23:13 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
2dbfe66e4a
MFB: safety checks
2006-12-26 17:40:20 +00:00
Marcus Boerger
c130110b05
- Make custom serializing work with zstr (as discussed with andrei)
2006-12-22 00:47:27 +00:00
Marcus Boerger
8dd85147c4
- No misleading comments
2006-12-21 23:19:48 +00:00
Marcus Boerger
8794071b21
- Serialization doesn't work with unicode data
2006-12-21 22:55:07 +00:00
Dmitry Stogov
a7c536fbcd
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
...
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.
2006-12-20 10:50:46 +00:00
Antony Dovgal
b38466a816
MFB: serialize() should use '.' as decimal point irrespectively to locale
2006-12-19 12:44:26 +00:00
Andrei Zmievski
7ccba6624d
Use 'S' for escaped binary strings and 's' for non-escaped.
2006-12-14 23:41:57 +00:00
Antony Dovgal
ef6bcc4fb3
don't change public API
2006-12-08 21:18:16 +00:00
Antony Dovgal
ef7e4b1332
fix possible issue in the serializer, which might currupt struc when reallocating arguments stack
...
(no reproduce case, sorry)
2006-12-08 20:59:06 +00:00
Andrei Zmievski
411f6ca0fb
Unicode support in var_export().
2006-12-04 18:55:40 +00:00
Andrei Zmievski
1f2d5e3b00
Finalize Unicode support in serialize() and unserialize().
2006-12-01 19:25:11 +00:00
Ilia Alshanetsky
e8ccee4873
MFB: Fixed bug #37262 (var_export() does not escape \0 character).
2006-10-09 18:09:42 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Andrei Zmievski
d019da8692
Mark memory funcs with U.
2006-10-06 18:03:41 +00:00
Antony Dovgal
dbe2092313
implement zend_unicode_to_string() and zend_string_to_unicode()
...
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Hannes Magnusson
0ba734cb6e
Update protos & arginfo for memory_get_usage() & memory_get_peak_usage()
2006-07-25 16:40:11 +00:00
Dmitry Stogov
61d39cf1c1
Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system.
2006-07-25 13:41:08 +00:00
Marcus Boerger
7dfc69f42e
- Correctly handle binary proeprty names which are not mangled
2006-07-24 23:28:00 +00:00
Marcus Boerger
eb0fd63012
- zend_(u_)_unmangle_property_name() has changed
2006-07-24 17:55:41 +00:00
Dmitry Stogov
6687f0377b
New memory manager
2006-07-18 09:08:06 +00:00
Antony Dovgal
8d8344272e
WS and CS fixes
...
I suppose STR_FREE() is better than if(..) {efree (..);}
2006-07-14 08:38:30 +00:00
Dmitry Stogov
73001d4257
Fixed unserialize() in unicode mode
2006-07-14 08:29:06 +00:00
Andrei Zmievski
938f6d4141
Use zend_convert_from_unicode() in var_dump().
2006-07-12 17:23:53 +00:00
Dmitry Stogov
14a10f441d
Fixed bug #37947 (zend_ptr_stack reallocation problem)
2006-07-10 14:02:54 +00:00
Michael Wallner
231ad17475
- explicit usage of TS macros
...
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
be96a46e96
- fix encoding
2006-06-02 20:09:22 +00:00
Michael Wallner
4ce0141713
- new output control code
...
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
# - improve existing output handlers
# - move zlib.output_compression cruft from SAPI.c to zlib.c
# - output_encoding handling was ambigious, resp. is undefined yet
# - more tests
2006-06-02 19:51:43 +00:00