| f52b2e6 |
|
09-Mar-2013 |
Xinchen Hui <laruence@php.net> |
Fixed bug #64354 (Unserialize array of objects whose class can't be autoloaded fail) about the __sleep one, since php_serialize_* are all void function, so,,only check exception at the very begining
/PHP_5_4/ext/standard/var.c
|
| 0a7395e |
|
01-Jan-2013 |
Xinchen Hui <laruence@php.net> |
Happy New Year
/PHP_5_4/ext/standard/var.c
|
| 60a2809 |
|
01-Oct-2012 |
Xinchen Hui <laruence@php.net> |
Merge branch 'PHP-5.3' into PHP-5.4
|
| 4f860a4 |
|
01-Oct-2012 |
Xinchen Hui <laruence@php.net> |
Avoding superfluous function call
/PHP_5_4/ext/standard/var.c
|
| 45f3322 |
|
05-Aug-2012 |
Lonny Kapelushnik <lonnyk@gmail.com> |
var_export outputs an E_WARNING when recursion is detected
/PHP_5_4/ext/standard/var.c
|
| 91e1df7 |
|
25-Jun-2012 |
Moriyoshi Koizumi <mozo@mozo.jp> |
Fix bug #62373 (serialize() generates wrong reference to the object)
/PHP_5_4/ext/standard/var.c
|
| e427182 |
|
25-Jun-2012 |
Moriyoshi Koizumi <mozo@mozo.jp> |
Fix bug #62373 (serialize() generates wrong reference to the object)
/PHP_5_4/ext/standard/var.c
|
| e4ca0ed |
|
01-Jan-2012 |
Felipe Pena <felipe@php.net> |
- Year++
/PHP_5_4/ext/standard/var.c
|
| 4e19825 |
|
01-Jan-2012 |
Felipe Pena <felipe@php.net> |
- Year++
/PHP_5_4/ext/standard/var.c
|
| b692136 |
|
19-Oct-2011 |
Michael Wallner <mike@php.net> |
Fix Bug #55801 Behavior of unserialize has changed: (un)serialize in __wakeup/__sleep now use clean var_hashes
/PHP_5_4/ext/standard/var.c
|
| 4a25a77 |
|
13-Sep-2011 |
Dmitry Stogov <dmitry@php.net> |
Fixed ZE specific compile warnings (Bug #55629)
/PHP_5_4/ext/standard/var.c
|
| 9fb62f3 |
|
23-Aug-2011 |
Xinchen Hui <laruence@php.net> |
Sync r314808 to 5_3 branch Eliminated compiler warnings "comparison is always false", "cast to pointer from integer of different siz" and tail zero warnings
/PHP_5_4/ext/standard/var.c
|
| ba9546b |
|
12-Aug-2011 |
Xinchen Hui <laruence@php.net> |
Omitted GCC warning "comparison is always false"
/PHP_5_4/ext/standard/var.c
|
| 029d7f4 |
|
07-Aug-2011 |
Pierrick Charron <pierrick@php.net> |
class entry is never used
/PHP_5_4/ext/standard/var.c
|
| a8ed880 |
|
07-Aug-2011 |
Pierrick Charron <pierrick@php.net> |
class entry is never used
/PHP_5_4/ext/standard/var.c
|
| 4046864 |
|
30-Jun-2011 |
Gustavo André dos Santos Lopes <cataphract@php.net> |
- Fixed bug #55082 (var_export() doesn't escape properties properly).
/PHP_5_4/ext/standard/var.c
|
| 3dafd95 |
|
30-Jun-2011 |
Gustavo André dos Santos Lopes <cataphract@php.net> |
- Fixed bug #55082 (var_export() doesn't escape properties properly).
/PHP_5_4/ext/standard/var.c
|
| 927bf09 |
|
01-Jan-2011 |
Felipe Pena <felipe@php.net> |
- Year++
/PHP_5_4/ext/standard/var.c
|
| 0203cc3 |
|
01-Jan-2011 |
Felipe Pena <felipe@php.net> |
- Year++
/PHP_5_4/ext/standard/var.c
|
| 1fed0e5 |
|
19-Nov-2010 |
Kalle Sommer Nielsen <kalle@php.net> |
Kill some more constness warnings in com_dotnet/phar/standard
/PHP_5_4/ext/standard/var.c
|
| 06a9baf |
|
23-Sep-2010 |
Kalle Sommer Nielsen <kalle@php.net> |
Missed to check this one in the last commit
/PHP_5_4/ext/standard/var.c
|
| 2b1e18f |
|
13-Sep-2010 |
Pierre Joye <pajoye@php.net> |
- fix build introduced by fix for #52772
/PHP_5_4/ext/standard/var.c
|
| 4119b09 |
|
13-Sep-2010 |
Kalle Sommer Nielsen <kalle@php.net> |
Fixed bug #52772 (var_dump() doesn't check for the existence of get_class_name before calling it)
/PHP_5_4/ext/standard/var.c
|
| 67b4af3 |
|
13-Sep-2010 |
Kalle Sommer Nielsen <kalle@php.net> |
Fixed bug #52772 (var_dump() doesn't check for the existence of get_class_name before calling it)
/PHP_5_4/ext/standard/var.c
|
| 1e17bb2 |
|
04-Aug-2010 |
Felipe Pena <felipe@php.net> |
- Fixed bug #52534 (var_export array with negative key)
/PHP_5_4/ext/standard/var.c
|
| 3d2a692 |
|
04-Aug-2010 |
Felipe Pena <felipe@php.net> |
- Fixed bug #52534 (var_export array with negative key)
/PHP_5_4/ext/standard/var.c
|
| c02f672 |
|
09-Jul-2010 |
Scott MacVicar <scottmac@php.net> |
Doing this as a seperate commit unless we need to back it out. Fix a bug when var_export() causes a fatal error that could inadvertently display data due to flushing of the output buffer. Examples include, memory limit, execution time and recursion.
/PHP_5_4/ext/standard/var.c
|
| c7b0abe |
|
09-Jul-2010 |
Scott MacVicar <scottmac@php.net> |
Fix a bug when var_export() causes a fatal error that could inadvertently display data due to flushing of the output buffer. Examples include, memory limit, execution time and recursion.
/PHP_5_4/ext/standard/var.c
|
| badf05a |
|
06-Jun-2010 |
Pierre Joye <pajoye@php.net> |
- silent warning (unary minus operator applied to unsigned type)
/PHP_5_4/ext/standard/var.c
|
| 9ef717c |
|
06-Jun-2010 |
Pierre Joye <pajoye@php.net> |
- silent warning (unary minus operator applied to unsigned type)
/PHP_5_4/ext/standard/var.c
|
| 11d24c1 |
|
31-May-2010 |
Michael Wallner <mike@php.net> |
* implement new output API, fixing some bugs and implementing some feature requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
/PHP_5_4/ext/standard/var.c
|
| 89e9372 |
|
26-May-2010 |
Michael Wallner <mike@php.net> |
Added support for object references in recursive serialize() calls. FR #36424
/PHP_5_4/ext/standard/var.c
|
| fa76263 |
|
02-Apr-2010 |
Felipe Pena <felipe@php.net> |
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
/PHP_5_4/ext/standard/var.c
|
| a140e70 |
|
02-Apr-2010 |
Felipe Pena <felipe@php.net> |
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
/PHP_5_4/ext/standard/var.c
|
| af49e58 |
|
12-Mar-2010 |
Jani Taskinen <jani@php.net> |
- Reverted r296062 and r296065
/PHP_5_4/ext/standard/var.c
|
| 06f072c |
|
11-Mar-2010 |
Jani Taskinen <jani@php.net> |
MFH: Improved / fixed output buffering (Michael Wallner)
/PHP_5_4/ext/standard/var.c
|
| 9ba1e81 |
|
03-Jan-2010 |
Sebastian Bergmann <sebastian@php.net> |
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/PHP_5_4/ext/standard/var.c
|
| 20ee379 |
|
29-Nov-2009 |
Stanislav Malyshev <stas@php.net> |
fix interrupt problem in serialize()
/PHP_5_4/ext/standard/var.c
|
| b73ac1a |
|
11-Aug-2009 |
Stanislav Malyshev <stas@php.net> |
fix potential memory issue on serialization # When internal class uses zend_mangle_property_name it's malloc() # so it should be freed with free()
/PHP_5_4/ext/standard/var.c
|
| 8ef2599 |
|
07-Jan-2009 |
Derick Rethans <derick@php.net> |
- MFH: Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject).
/PHP_5_4/ext/standard/var.c
|
| 08659c2 |
|
31-Dec-2008 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump copyright year, 3 of 3.
/PHP_5_4/ext/standard/var.c
|
| ff8246f |
|
24-Oct-2008 |
Felipe Pena <felipe@php.net> |
- MFH: Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com)
/PHP_5_4/ext/standard/var.c
|
| 50fa648 |
|
20-Aug-2008 |
Lars Strojny <lstrojny@php.net> |
Reverting local change
/PHP_5_4/ext/standard/var.c
|
| 0801578 |
|
20-Aug-2008 |
Lars Strojny <lstrojny@php.net> |
MFH: Allow mixed $initial (patch by Christian Seiler)
/PHP_5_4/ext/standard/var.c
|
| 0fbe6a0 |
|
24-Jul-2008 |
Felipe Pena <felipe@php.net> |
- MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.
/PHP_5_4/ext/standard/var.c
|
| dc4bcc9 |
|
20-Jun-2008 |
Olivier Hill <ohill@php.net> |
- New parameter parsing API for var.c & tests
/PHP_5_4/ext/standard/var.c
|
| 5fe7909 |
|
20-Jun-2008 |
Felipe Pena <felipe@php.net> |
- New parameter parsing API
/PHP_5_4/ext/standard/var.c
|
| d1dded8 |
|
31-Dec-2007 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump copyright year, 2 of 2.
/PHP_5_4/ext/standard/var.c
|
| 9541a66 |
|
18-Dec-2007 |
Derick Rethans <derick@php.net> |
- MFH: Fixed var_export() for array keys - MFH: Fixed broken explode() test
/PHP_5_4/ext/standard/var.c
|
| fdafd5c |
|
09-Dec-2007 |
Derick Rethans <derick@php.net> |
- MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)).
/PHP_5_4/ext/standard/var.c
|
| b489251 |
|
02-Nov-2007 |
Jani Taskinen <jani@php.net> |
- MFH from HEAD: . Folding tags . Parameter parsing . SPL debug info . array function improvements (not all yet) . Improvements to function calling with call_user_* functions . Improvements to debugging info in var_dump/print_r # I propably forgot already something but this all was pretty close tied # to each other so it wasn't possible to do it in parts.
/PHP_5_4/ext/standard/var.c
|
| 00022a4 |
|
01-Nov-2007 |
Marcus Boerger <helly@php.net> |
- MFH missing get_debug_info piece
/PHP_5_4/ext/standard/var.c
|
| 8ce1211 |
|
11-Oct-2007 |
Marcus Boerger <helly@php.net> |
- MFH debug object helper
/PHP_5_4/ext/standard/var.c
|
| 4b4d634 |
|
07-Oct-2007 |
Yiduo (David) Wang <davidw@php.net> |
MFH: Added macros for managing zval refcounts and is_ref statuses
/PHP_5_4/ext/standard/var.c
|
| 7210ab5 |
|
26-Jun-2007 |
Antony Dovgal <tony2001@php.net> |
fix ws
/PHP_5_4/ext/standard/var.c
|
| 3b481ce |
|
19-Jun-2007 |
Derick Rethans <derick@php.net> |
- MFH: Added the H modifier to create non-locale-aware non-fixed-precision float representations. - MFH: Fixed var_export() to use the new H modifier so that it can generate parsable PHP code for floats again, independent of the locale.
/PHP_5_4/ext/standard/var.c
|
| 2a689a4 |
|
23-Apr-2007 |
Dmitry Stogov <dmitry@php.net> |
64-bit support
/PHP_5_4/ext/standard/var.c
|
| 4a33a63 |
|
16-Feb-2007 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump).
/PHP_5_4/ext/standard/var.c
|
| 4223aa4 |
|
01-Jan-2007 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump year.
/PHP_5_4/ext/standard/var.c
|
| 7efb0a1 |
|
25-Dec-2006 |
Ilia Alshanetsky <iliaa@php.net> |
Use safe_emalloc()
/PHP_5_4/ext/standard/var.c
|
| 53b088e |
|
20-Dec-2006 |
Dmitry Stogov <dmitry@php.net> |
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any 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.
/PHP_5_4/ext/standard/var.c
|
| 0ecaeb8 |
|
19-Dec-2006 |
Antony Dovgal <tony2001@php.net> |
serialize() should use '.' as decimal point irrespectively to locale
/PHP_5_4/ext/standard/var.c
|
| 7df8130 |
|
08-Dec-2006 |
Antony Dovgal <tony2001@php.net> |
MFH
/PHP_5_4/ext/standard/var.c
|
| f71a310 |
|
08-Dec-2006 |
Antony Dovgal <tony2001@php.net> |
MFH: fix possible issue in the serializer, which might currupt struc when reallocating arguments stack
/PHP_5_4/ext/standard/var.c
|
| 7b77d53 |
|
09-Oct-2006 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #37262 (var_export() does not escape \0 character).
/PHP_5_4/ext/standard/var.c
|
| d5ec319 |
|
25-Jul-2006 |
Hannes Magnusson <bjori@php.net> |
MFH: Update protos & arginfo for memory_get_usage() & memory_get_peak_usage()
/PHP_5_4/ext/standard/var.c
|
| 356facf |
|
25-Jul-2006 |
Dmitry Stogov <dmitry@php.net> |
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.
/PHP_5_4/ext/standard/var.c
|
| 5da6415 |
|
24-Jul-2006 |
Marcus Boerger <helly@php.net> |
- MFH Correctly handle binary proeprty names which are not mangled
/PHP_5_4/ext/standard/var.c
|
| d0f2f6c |
|
24-Jul-2006 |
Marcus Boerger <helly@php.net> |
- MFH zend_unmangle_property_name(), drop zend_unmangle_property_name_ex()
/PHP_5_4/ext/standard/var.c
|
| 29ed52f |
|
18-Jul-2006 |
Dmitry Stogov <dmitry@php.net> |
New memory manager
/PHP_5_4/ext/standard/var.c
|
| 83ac796 |
|
10-Jul-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #37947 (zend_ptr_stack reallocation problem)
/PHP_5_4/ext/standard/var.c
|
| 5186ee9 |
|
30-May-2006 |
Ilia Alshanetsky <iliaa@php.net> |
Added memory_get_peak_usage() function for retrieving peak memory usage of a PHP script.
/PHP_5_4/ext/standard/var.c
|
| f0cf877 |
|
05-Apr-2006 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #36957 (serialize() does not handle recursion).
/PHP_5_4/ext/standard/var.c
|
| 97f463c |
|
10-Mar-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed debug_zval_dump() to support private and protected members
/PHP_5_4/ext/standard/var.c
|
| 5bd9322 |
|
01-Jan-2006 |
foobar <sniper@php.net> |
bump year and license version
/PHP_5_4/ext/standard/var.c
|
| 8f4112b |
|
17-Oct-2005 |
Derick Rethans <derick@php.net> |
- Fixed bug #29361 (var_export() producing invalid code). (Derick)
/PHP_5_4/ext/standard/var.c
|
| 4b9b550 |
|
16-Sep-2005 |
Antony Dovgal <tony2001@php.net> |
fix #34505 (possible memory corruption when unmangling properties with empty names) 2nd part
/PHP_5_4/ext/standard/var.c
|
| 5682438 |
|
12-Sep-2005 |
Dmitry Stogov <dmitry@php.net> |
Better fix for exceptions in __sleep()
/PHP_5_4/ext/standard/var.c
|
| 6b0d0f7 |
|
10-Sep-2005 |
Wez Furlong <wez@php.net> |
allow exceptions thrown in __sleep to interrupt the serialization process. refs PECL #5217
/PHP_5_4/ext/standard/var.c
|
| 23e671a |
|
03-Aug-2005 |
foobar <sniper@php.net> |
- Bumber up year
/PHP_5_4/ext/standard/var.c
|
| e4b1fb6 |
|
21-Jul-2005 |
Dmitry Stogov <dmitry@php.net> |
Recursion protection
/PHP_5_4/ext/standard/var.c
|
| 62d4d8b |
|
28-Jun-2005 |
Stanislav Malyshev <stas@php.net> |
fix handling of non-PHP classes (John Coggeshall)
/PHP_5_4/ext/standard/var.c
|
| 415ec46 |
|
08-Jun-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed incorrect usage of zend_mangle_property_name() (valgrind errors)
/PHP_5_4/ext/standard/var.c
|
| 9383e1b |
|
01-Jun-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
/PHP_5_4/ext/standard/var.c
|
| db3fdce |
|
23-Feb-2005 |
Stanislav Malyshev <stas@php.net> |
Custom object serializer infrastructure - PHP implementation # The detailed announce on the list will follow
/PHP_5_4/ext/standard/var.c
|
| 13c2cbb |
|
17-Dec-2004 |
Derick Rethans <derick@php.net> |
- MF43: Fixed bug #31072 (var_export() does not output an array element with an empty string key). (Derick)
/PHP_5_4/ext/standard/var.c
|
| f0c9f99 |
|
08-Oct-2004 |
Marcus Boerger <helly@php.net> |
speling
/PHP_5_4/ext/standard/var.c
|
| 91af7f3 |
|
05-Sep-2004 |
Marcus Boerger <helly@php.net> |
- Add some checks when unserializing data to prevent buffer overflows
/PHP_5_4/ext/standard/var.c
|
| 72000ec |
|
02-Sep-2004 |
Marcus Boerger <helly@php.net> |
Fix memleak in serialize
/PHP_5_4/ext/standard/var.c
|
| 9996b5f |
|
29-Aug-2004 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed leak when serializing protected & private properties.
/PHP_5_4/ext/standard/var.c
|
| dd55385 |
|
21-Aug-2004 |
Andrey Hristov <andrey@php.net> |
fix for bug 26737 : private & protected member variables not serialized when user defined __sleep() is declared. Additionally E_NOTICE is being thrown if __sleep() returns a non-existing member variable name
/PHP_5_4/ext/standard/var.c
|
| c5b9577 |
|
04-Jul-2004 |
Marcus Boerger <helly@php.net> |
Fix TSRM build
/PHP_5_4/ext/standard/var.c
|
| a92af73 |
|
03-Jul-2004 |
Moriyoshi Koizumi <moriyoshi@php.net> |
- Bugfix #28325 (circular reference serialisation).
/PHP_5_4/ext/standard/var.c
|
| 19d0283 |
|
20-May-2004 |
Andrey Hristov <andrey@php.net> |
for now removing ":public". Waiting for a decision? ":public" will require quite a lot of phpt files changes.
/PHP_5_4/ext/standard/var.c
|
| aafb2b1 |
|
20-May-2004 |
Andrey Hristov <andrey@php.net> |
var_dump() now shows private and protected member variables. Not BC is that since now the public variables are explicitly shown as public Example : class a{ protected $a=1; private $b=2;var $c=3;} $a=new a(); var_dump($a); object(a)#1 (3) { ["a:protected"]=> int(1) ["b:private"]=> int(2) ["c:public"]=> int(3) }
/PHP_5_4/ext/standard/var.c
|
| deb84be |
|
18-Mar-2004 |
Dmitry Stogov <dmitry@php.net> |
BUG #27469 was fixed (serialize() objects of incomplete class)
/PHP_5_4/ext/standard/var.c
|
| b303ba0 |
|
08-Mar-2004 |
Ard Biesheuvel <abies@php.net> |
More wordsize fixes
/PHP_5_4/ext/standard/var.c
|
| 6112260 |
|
08-Mar-2004 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed compiler warnings.
/PHP_5_4/ext/standard/var.c
|
| 81f05c1 |
|
25-Feb-2004 |
Ard Biesheuvel <abies@php.net> |
Wordsize fixes
/PHP_5_4/ext/standard/var.c
|
| 794975d |
|
16-Feb-2004 |
Stanislav Malyshev <stas@php.net> |
ce is not used, don't get it
/PHP_5_4/ext/standard/var.c
|
| 1c43304 |
|
05-Feb-2004 |
Stanislav Malyshev <stas@php.net> |
fix serialization
/PHP_5_4/ext/standard/var.c
|
| 3fd027c |
|
03-Feb-2004 |
Stanislav Malyshev <stas@php.net> |
fix bug #27120 and bug #25975 - preserve is_ref when bound objects are serialized
/PHP_5_4/ext/standard/var.c
|
| dbeb415 |
|
08-Jan-2004 |
Andi Gutmans <andi@php.net> |
- A belated happy holidays and PHP 5
/PHP_5_4/ext/standard/var.c
|
| 6923a16 |
|
03-Jan-2004 |
Derick Rethans <derick@php.net> |
- Fixed var_export() to show public, protected and private modifiers properly. - Exported (un)mangle_property_name.
/PHP_5_4/ext/standard/var.c
|
| 287834a |
|
28-Dec-2003 |
Derick Rethans <derick@php.net> |
- Fix typo
/PHP_5_4/ext/standard/var.c
|
| 91052eb |
|
29-Nov-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #26458 (var_dump(), var_export(), debug_zval_dump() not binary safe for array keys).
/PHP_5_4/ext/standard/var.c
|
| 28277f1 |
|
28-Nov-2003 |
Wez Furlong <wez@php.net> |
fix #26001; serialize crashes when accessing an overloaded object that has no properties (NULL hashtable).
/PHP_5_4/ext/standard/var.c
|
| bb6f3a1 |
|
04-Nov-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Fixed bug #24394 (serializing cross-referenced objects causes segfault)
/PHP_5_4/ext/standard/var.c
|
| ed40a56 |
|
08-Oct-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Oops..
/PHP_5_4/ext/standard/var.c
|
| f4595d1 |
|
08-Oct-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Better fix for bug #25758
/PHP_5_4/ext/standard/var.c
|
| 6f8b8ad |
|
08-Oct-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #25758 (var_export does not escape ' & \ inside array keys)
/PHP_5_4/ext/standard/var.c
|
| 6a7dde2 |
|
28-Aug-2003 |
Sascha Schumann <sas@php.net> |
kill warnings
/PHP_5_4/ext/standard/var.c
|
| ed40ae2 |
|
11-Aug-2003 |
Ilia Alshanetsky <iliaa@php.net> |
emalloc -> safe_emalloc
/PHP_5_4/ext/standard/var.c
|
| 4320c69 |
|
11-Aug-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #21957 (serialize() mangles objects with __sleep).
/PHP_5_4/ext/standard/var.c
|
| d113d32 |
|
05-Aug-2003 |
Stanislav Malyshev <stas@php.net> |
Don't try to __sleep incomplete classes
/PHP_5_4/ext/standard/var.c
|
| f68c7ff |
|
10-Jun-2003 |
James Cox <imajes@php.net> |
updating license information in the headers.
/PHP_5_4/ext/standard/var.c
|
| b20df54 |
|
08-May-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Make serialize precision a configurable option.
/PHP_5_4/ext/standard/var.c
|
| 7f40484 |
|
05-May-2003 |
Ilia Alshanetsky <iliaa@php.net> |
s/g/G/
/PHP_5_4/ext/standard/var.c
|
| 88bafcb |
|
04-May-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Safer implementation. Thanks Marcus.
/PHP_5_4/ext/standard/var.c
|
| 75c01dd |
|
04-May-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #23298 (serialize cuts off floats & doubles)
/PHP_5_4/ext/standard/var.c
|
| 9ab3ad2 |
|
28-Apr-2003 |
Derick Rethans <derick@php.net> |
- Commit the .c file too...
/PHP_5_4/ext/standard/var.c
|
| cf620dd |
|
21-Apr-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Unified all those redundant printf's
/PHP_5_4/ext/standard/var.c
|
| 5a904d6 |
|
21-Apr-2003 |
Stanislav Malyshev <stas@php.net> |
Update to latest inteface change for get_class_name
/PHP_5_4/ext/standard/var.c
|
| 47e40e1 |
|
29-Mar-2003 |
Moriyoshi Koizumi <moriyoshi@php.net> |
Improved var_dump() and debug_zval_dump() so they also show the namespace of the given object.
/PHP_5_4/ext/standard/var.c
|
| b1546a1 |
|
10-Mar-2003 |
Andrei Zmievski <andrei@php.net> |
Print the object handle (it's useful).
/PHP_5_4/ext/standard/var.c
|
| 84f83e8 |
|
01-Feb-2003 |
Wez Furlong <wez@php.net> |
Don't assume that objects have class entries (in the ZE1 sense) when determining the class name. Additionally, don't assume that objects have a properties hash either.
/PHP_5_4/ext/standard/var.c
|
| bea6ff5 |
|
31-Jan-2003 |
Sascha Schumann <sas@php.net> |
Unbreak $Id tag
/PHP_5_4/ext/standard/var.c
|
| 309ef51 |
|
18-Jan-2003 |
Andrey Hristov <andrey@php.net> |
Renamed get_memory_usage() to memory_get_usage() (per Andi's advice) This doesn't break any BC.
/PHP_5_4/ext/standard/var.c
|
| 7866f02 |
|
14-Jan-2003 |
Andrey Hristov <andrey@php.net> |
added function get_memory_usage(). available only when PHP is compiled with --enable-memory-limit
/PHP_5_4/ext/standard/var.c
|
| bcc1e5a |
|
12-Jan-2003 |
Stanislav Malyshev <stas@php.net> |
remove unneeded var
/PHP_5_4/ext/standard/var.c
|
| b506f5c |
|
31-Dec-2002 |
Sebastian Bergmann <sebastian@php.net> |
Bump year.
/PHP_5_4/ext/standard/var.c
|
| 49a99a9 |
|
05-Dec-2002 |
Marcus Boerger <helly@php.net> |
-php_error -> php_error_docref -removed some cases where emalloc result was tested
/PHP_5_4/ext/standard/var.c
|
| e06550f |
|
11-Oct-2002 |
Derick Rethans <derick@php.net> |
- Fix problem with var_export when objects with numeric indexes were exported. We now skip those, as there is no way to export valid code for it.
/PHP_5_4/ext/standard/var.c
|
| df55f35 |
|
06-Oct-2002 |
Zeev Suraski <zeev@php.net> |
Revert the implicit_flush mess. Do not revert it again under any circumstances! Yasuo/anybody else - if there are issues with implicit_flush, please inform me and I will fix them.
/PHP_5_4/ext/standard/var.c
|
| 39b0eb9 |
|
03-Oct-2002 |
Yasuo Ohgaki <yohgaki@php.net> |
Fixed broken code by Derick. ob_implicit_flush() and ob_flush_all() are stopped working. var_dump() and hightlisht_string() outputs buffer contents wrongly with ob_implicit_flush(). Everyone should be happy now. It was only OG(implicit_flush) interpretation issue after all.
/PHP_5_4/ext/standard/var.c
|
| 9b517c4 |
|
03-Oct-2002 |
Derick Rethans <derick@php.net> |
- Revert changed to implicit_flush behavior. The new behavior was not intended in the first place.
/PHP_5_4/ext/standard/var.c
|
| 1731767 |
|
03-Oct-2002 |
Yasuo Ohgaki <yohgaki@php.net> |
Prevent unwanted fluhsing.
/PHP_5_4/ext/standard/var.c
|
| 1f58a8f |
|
26-Jun-2002 |
Andi Gutmans <andi@php.net> |
- No idea why this wasn't crashing before.
/PHP_5_4/ext/standard/var.c
|
| ba5257a |
|
18-Jun-2002 |
Derick Rethans <derick@php.net> |
- Fix for bug #16065
/PHP_5_4/ext/standard/var.c
|
| 11df212 |
|
29-Apr-2002 |
Stanislav Malyshev <stas@php.net> |
Add comments for the fix
/PHP_5_4/ext/standard/var.c
|
| 91a78e2 |
|
29-Apr-2002 |
Stanislav Malyshev <stas@php.net> |
Fix here too
/PHP_5_4/ext/standard/var.c
|
| aa10ac9 |
|
29-Apr-2002 |
Stanislav Malyshev <stas@php.net> |
Yet another serialization fix - for incomplete class
/PHP_5_4/ext/standard/var.c
|
| a57381e |
|
28-Apr-2002 |
Stanislav Malyshev <stas@php.net> |
Fix couple of nasty serializer bugs: a) When array unserializer encounters less data than it expects (like: a:1:{}) it crashes. I don't understand exactly why it does, but the fact is it does. So now it should catch "}" and bail out. b) When array/object data are serialized, the count is written by hash count. However, it can be that in-loop check fails and less data than expected will then be written into the array. Which, due to a), would crash on unserialize. So now it will write empty entries in place of entries it cannot serialize (the other choice would be make two passes on the data, which I don't like).
/PHP_5_4/ext/standard/var.c
|
| d30fc27 |
|
21-Apr-2002 |
Sascha Schumann <sas@php.net> |
simplify and improve speed of smart_str_print_long. also add a variant for unsigned numbers.
/PHP_5_4/ext/standard/var.c
|
| 3550d75 |
|
19-Mar-2002 |
Thies C. Arntzen <thies@php.net> |
fix #12793 - serialize will now spit a notice if the return value of __sleep is bogus.
/PHP_5_4/ext/standard/var.c
|
| 1cc6a8e |
|
15-Mar-2002 |
Wez Furlong <wez@php.net> |
it's late; no more commits from me tonight...
/PHP_5_4/ext/standard/var.c
|
| 0454ad4 |
|
15-Mar-2002 |
Wez Furlong <wez@php.net> |
should have diffed first...
/PHP_5_4/ext/standard/var.c
|
| ae9db4e |
|
15-Mar-2002 |
Wez Furlong <wez@php.net> |
fix for ZE2 compile
/PHP_5_4/ext/standard/var.c
|
| 7935e73 |
|
14-Mar-2002 |
Derick Rethans <derick@php.net> |
- Fix bug #16078
/PHP_5_4/ext/standard/var.c
|
| 93ad205 |
|
14-Mar-2002 |
Wez Furlong <wez@php.net> |
fix buglet
/PHP_5_4/ext/standard/var.c
|
| dcd86d1 |
|
14-Mar-2002 |
Yasuo Ohgaki <yohgaki@php.net> |
Fixed var_dump() crash when there is recursion. # Since I said it's easy to fix :)
/PHP_5_4/ext/standard/var.c
|
| 82a8d37 |
|
01-Mar-2002 |
Yasuo Ohgaki <yohgaki@php.net> |
Added ob_get_status() to get array of buffers and it's status. (DO NOT document this function yet) Fixed crash bug with ob_end_*() function. ob_end_*() will not delete buffers that may not be deleted. php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for if the buffer created may be deleted or not. Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be deleted until script finshes. Changed ob_*() function that have void return type to bool. All ob_*() functions return TRUE for success, FALSE for failure. @ - Added ob_get_status() to get array of buffers and it's status. (Yasuo) @ - Fixed crash bug with ob_end_*() function. ob_end_*() will not delete @ buffers that may not be deleted. (Yasuo) @ - Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be @ deleted until script finshes. (Yasuo) @ - Changed ob_*() function that have void return type to bool. All ob_*() @ functions return TRUE for success, FALSE for failure. (Yasuo)
/PHP_5_4/ext/standard/var.c
|
| 27c4648 |
|
28-Feb-2002 |
Derick Rethans <derick@php.net> |
- Make it a boolean
/PHP_5_4/ext/standard/var.c
|
| b5a0fd2 |
|
24-Feb-2002 |
Derick Rethans <derick@php.net> |
- Fix the fix.. no need to escape " in single quotes
/PHP_5_4/ext/standard/var.c
|
| a4946ca |
|
24-Feb-2002 |
Derick Rethans <derick@php.net> |
- Add slashes around string output
/PHP_5_4/ext/standard/var.c
|
| 150d339 |
|
10-Feb-2002 |
Jason Greene <jason@php.net> |
Renamed zval_debug_dump() to debug_zval_dump()
/PHP_5_4/ext/standard/var.c
|
| 91ac18b |
|
10-Feb-2002 |
Jason Greene <jason@php.net> |
@Added zval_debug_dump which works similar to var_dump yet displays extra internal information such as refcounts, and the true type names (Jason)
/PHP_5_4/ext/standard/var.c
|
| f5f4a5c |
|
15-Dec-2001 |
Derick Rethans <derick@php.net> |
- TSRMLS here and there, it's all about the Windows flair
/PHP_5_4/ext/standard/var.c
|
| 143df7d |
|
15-Dec-2001 |
Derick Rethans <derick@php.net> |
- Added a second parameter to var_export which makes the function return the variable representation in a string.
/PHP_5_4/ext/standard/var.c
|
| 3893351 |
|
11-Dec-2001 |
Sebastian Bergmann <sebastian@php.net> |
Update headers.
/PHP_5_4/ext/standard/var.c
|
| a7b9d55 |
|
08-Dec-2001 |
Derick Rethans <derick@php.net> |
- Remove debug code
/PHP_5_4/ext/standard/var.c
|
| 3cb1db9 |
|
08-Dec-2001 |
Derick Rethans <derick@php.net> |
- Added var_export, which shows a representation of a variable, much like var_dump, but in such a way you can use it as PHP code. @- Added var_export, which shows a representation of a variable, much like @ var_dump, but in such a way you can use it as PHP code. (Derick)
/PHP_5_4/ext/standard/var.c
|
| 0fd809a |
|
01-Dec-2001 |
Thies C. Arntzen <thies@php.net> |
improve last patch: non existant object variables are now serialized as NULL, this saves us from buffering the serialized data.
/PHP_5_4/ext/standard/var.c
|
| 7ff5198 |
|
01-Dec-2001 |
Thies C. Arntzen <thies@php.net> |
serialized data would be incoorect if __sleep() returned a variable-name which is non-existant in the object. submitted by: Bernd Roemer <berndr@bonn.edu>
/PHP_5_4/ext/standard/var.c
|
| f341f63 |
|
10-Nov-2001 |
Sascha Schumann <sas@php.net> |
Rewrite of unserializer which should be more maintainable and extensible. Changes pass `make test´ and a couple of custom tests. Enjoy.
/PHP_5_4/ext/standard/var.c
|
| c033288 |
|
25-Sep-2001 |
Jeroen van Wolffelaar <jeroen@php.net> |
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
/PHP_5_4/ext/standard/var.c
|
| 78747bd |
|
09-Sep-2001 |
Derick Rethans <derick@php.net> |
- Don't wrap lines... this is annoying while coding.
/PHP_5_4/ext/standard/var.c
|
| e140b35 |
|
21-Aug-2001 |
Zeev Suraski <zeev@php.net> |
API update
/PHP_5_4/ext/standard/var.c
|
| 06aa7a4 |
|
17-Aug-2001 |
Sterling Hughes <sterling@php.net> |
Cleanup of var_dump() with correct macro's, k&r indent, and removal of a pair of unnecessary { }
/PHP_5_4/ext/standard/var.c
|
| 4580df1 |
|
14-Aug-2001 |
Andi Gutmans <andi@php.net> |
- This code looks OK so remove FIXME comment
/PHP_5_4/ext/standard/var.c
|
| c0404f4 |
|
11-Aug-2001 |
Zeev Suraski <zeev@php.net> |
Whitespace
/PHP_5_4/ext/standard/var.c
|
| a35df18 |
|
06-Aug-2001 |
Thies C. Arntzen <thies@php.net> |
we can no longer register internal-classes once the script is started. therefore the "incomplete class" is now registered at MINIT time.
/PHP_5_4/ext/standard/var.c
|
| a19563c |
|
05-Aug-2001 |
Sascha Schumann <sas@php.net> |
more tsrm cleanup
/PHP_5_4/ext/standard/var.c
|
| 373b3e1 |
|
05-Aug-2001 |
Sascha Schumann <sas@php.net> |
more tsrm cleanup -- output.c is not doing any fetches anymore
/PHP_5_4/ext/standard/var.c
|
| dca5f8d |
|
04-Aug-2001 |
Thies C. Arntzen <thies@php.net> |
fix serialize: - keys no longer have a trailing \0 - no leak on calling __wakeup (also saved 2* malloc & free) - serializing objects that implement __sleep() works again - make test works again:-)
/PHP_5_4/ext/standard/var.c
|
| 724b4d4 |
|
04-Aug-2001 |
Sebastian Bergmann <sbergmann@php.net> |
Eliminate TSRMLS_FETCH() call.
/PHP_5_4/ext/standard/var.c
|
| ea79632 |
|
04-Aug-2001 |
Sebastian Bergmann <sbergmann@php.net> |
Fix Win32 (and maybe other ZTS) builds.
/PHP_5_4/ext/standard/var.c
|
| c947a07 |
|
04-Aug-2001 |
Sascha Schumann <sas@php.net> |
Clean up the serializer by modularizing some of its code. That also enables us to serialize hash indices without creating zvals for them. Due to its nature, this patch also includes some whitespace changes.
/PHP_5_4/ext/standard/var.c
|
| 723bbcb |
|
03-Aug-2001 |
Sascha Schumann <sas@php.net> |
Do the nul'ifiying of php_var_serialize's result at the right place
/PHP_5_4/ext/standard/var.c
|
| 3459f05 |
|
03-Aug-2001 |
Sascha Schumann <sas@php.net> |
NUL-terminate string
/PHP_5_4/ext/standard/var.c
|
| 4dfa915 |
|
03-Aug-2001 |
Sascha Schumann <sas@php.net> |
Convert serializer to smart_str.. avoids lots of sprintf's and copying of data.
/PHP_5_4/ext/standard/var.c
|
| c43806f |
|
30-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Zend compatibility patch
/PHP_5_4/ext/standard/var.c
|
| 7b1c400 |
|
30-Jul-2001 |
Zeev Suraski <zeev@php.net> |
More TSRMLS_FETCH annihilation (Zend compatibility patch)
/PHP_5_4/ext/standard/var.c
|
| b99a590 |
|
29-Jul-2001 |
Andi Gutmans <andi@php.net> |
- More object macros
/PHP_5_4/ext/standard/var.c
|
| d87cc97 |
|
28-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Redesigned thread safety mechanism - nua nua
/PHP_5_4/ext/standard/var.c
|
| fe6f871 |
|
27-Jul-2001 |
Zeev Suraski <zeev@php.net> |
- Get rid of ELS_*(), and use TSRMLS_*() instead. - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
/PHP_5_4/ext/standard/var.c
|
| 2edcf83 |
|
15-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Update cast
/PHP_5_4/ext/standard/var.c
|
| 85b4df5 |
|
15-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Improved interactive mode - it is now available in all builds, without any significant slowdown
/PHP_5_4/ext/standard/var.c
|
| adc9820 |
|
11-Jul-2001 |
Stanislav Malyshev <stas@php.net> |
More correct pseudo-fix # This is not really a fix. This thing is still broken. I will think on # how to really fix it. Any suggestion is *welcome*.
/PHP_5_4/ext/standard/var.c
|
| ff4dfc5 |
|
11-Jul-2001 |
Shane Caraveo <shane@php.net> |
prevent php from crashing when serializing circular data. This script produced the crash. <? $hash["test_key"] = "test_value"; $hash["hash_key"] = &$hash; echo serialize($hash); ?>
/PHP_5_4/ext/standard/var.c
|
| 1be0975 |
|
09-Jul-2001 |
Thies C. Arntzen <thies@php.net> |
added test for serialize changed var.c to use Z_* macros
/PHP_5_4/ext/standard/var.c
|
| 4aa6ae4 |
|
01-Jul-2001 |
Daniel Beulshausen <dbeu@php.net> |
PHPAPI-ize php_var_* functions # need this for shm*
/PHP_5_4/ext/standard/var.c
|
| 81e2cf0 |
|
06-Jun-2001 |
Rasmus Lerdorf <rasmus@php.net> |
Fix folding and clean up some extensions
/PHP_5_4/ext/standard/var.c
|
| 25c3a3a |
|
05-Jun-2001 |
Rasmus Lerdorf <rasmus@php.net> |
vim-6 does folding - clean up a bunch of missing folding tags plus some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
/PHP_5_4/ext/standard/var.c
|
| ca8c826 |
|
29-May-2001 |
Stanislav Malyshev <stas@php.net> |
Fix the reference serializer # Hope now it is right...
/PHP_5_4/ext/standard/var.c
|
| eb6ba01 |
|
26-Feb-2001 |
Andi Gutmans <andi@php.net> |
- Fix copyright notices with 2001
/PHP_5_4/ext/standard/var.c
|
| dbb3402 |
|
09-Jan-2001 |
Sascha Schumann <sas@php.net> |
php_add_var_hash() uses sizeof(id) in the calls to zend_hash_*, implying that all bytes in the character array have been set (they are used to compute the hash value using hashpjw). The function assumes that sprintf's %p modifier would always prefix the output with "0x". On HPUX, this is not the case. Hence, not all bytes may be properly initialized before being read. This has been addressed by using only initialized bytes as the key.
/PHP_5_4/ext/standard/var.c
|
| 3a16dc1 |
|
24-Dec-2000 |
Sascha Schumann <sas@php.net> |
Fix segfault introduced through recent zend_hash_get_current_key* changes.
/PHP_5_4/ext/standard/var.c
|
| aa6d2ac |
|
22-Dec-2000 |
Zeev Suraski <zeev@php.net> |
Heads up people! Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok...
/PHP_5_4/ext/standard/var.c
|
| be895bc |
|
13-Dec-2000 |
Zeev Suraski <zeev@php.net> |
Fix call_user_function() with objects - it could leak under certain circumstances
/PHP_5_4/ext/standard/var.c
|
| a1c20a0 |
|
11-Dec-2000 |
Stanislav Malyshev <stas@php.net> |
Fix serializer bug that prevented serializer from working on any variable that had non-reference copies of the same zval
/PHP_5_4/ext/standard/var.c
|
| 889b717 |
|
11-Dec-2000 |
Thies C. Arntzen <thies@php.net> |
fix #6348
/PHP_5_4/ext/standard/var.c
|
| c9e3959 |
|
07-Nov-2000 |
Stanislav Malyshev <stas@php.net> |
Andi says it should be zval_ptr_dtor
/PHP_5_4/ext/standard/var.c
|
| cde5c77 |
|
06-Nov-2000 |
Stanislav Malyshev <stas@php.net> |
And now the right fix - should add it still
/PHP_5_4/ext/standard/var.c
|
| 7f1dc85 |
|
06-Nov-2000 |
Stanislav Malyshev <stas@php.net> |
Serialize as reference only if it's a true reference
/PHP_5_4/ext/standard/var.c
|
| c31faf0 |
|
30-Oct-2000 |
Stanislav Malyshev <stas@php.net> |
Add support for serializing references. @- Add support for serializing references (Stas) # WDDX and shared memory functions not covered yet
/PHP_5_4/ext/standard/var.c
|
| 825457a |
|
29-Oct-2000 |
Thies C. Arntzen <thies@php.net> |
update my email.
/PHP_5_4/ext/standard/var.c
|
| 7b4983c |
|
20-Oct-2000 |
Andrei Zmievski <andrei@php.net> |
Mega-patch to get better resource information for modules. * Fixed a bug in zend_rsrc_list_get_rsrc_type() * Switched register_list_destructors() to use zend_register_list_destructors_ex() instead * Updated all relevant modules to provide the resource type name to register_list_destructors() call * Updated var_dump() to output resource type name instead of number @- Made resource type names visible, e.g. var_dump() and @ get_resource_type() display "file" for file resources. (Andrei)
/PHP_5_4/ext/standard/var.c
|
| 9f71179 |
|
18-Oct-2000 |
Sascha Schumann <sas@php.net> |
Back out circular references protection patch. This causes problems with serializing regular variables and object properties. We need a smarter way to tell whether we have serialized one node already. PR: #7291, #7294
/PHP_5_4/ext/standard/var.c
|
| 4b89b67 |
|
29-Sep-2000 |
Sascha Schumann <sas@php.net> |
Don't try to serialize references. Circular references would otherwise kill PHP, as the serializer would overrun the stack.
/PHP_5_4/ext/standard/var.c
|
| b1d4fcb |
|
29-Aug-2000 |
Thies C. Arntzen <thies@php.net> |
fix var_dump()s "}"-indention
/PHP_5_4/ext/standard/var.c
|
| 740fc2f |
|
29-Jun-2000 |
Stanislav Malyshev <stas@php.net> |
Lowercase class name before looking for it
/PHP_5_4/ext/standard/var.c
|
| 1702067 |
|
23-Jun-2000 |
Sascha Schumann <sas@php.net> |
API change: Use zval * instead of zval **
/PHP_5_4/ext/standard/var.c
|
| 091dc38 |
|
23-Jun-2000 |
Sascha Schumann <sas@php.net> |
Move the incomplete class stuff into its own file, so that we can make it easier accessible to WDDX.
/PHP_5_4/ext/standard/var.c
|
| 2297f67 |
|
23-Jun-2000 |
Sascha Schumann <sas@php.net> |
Change the serialization semantics to: * if a certain object is of class INCOMPLETE_CLASS, the serializer will lookup the previously stored original class name of that object, and use that class name to serialize the object. Change the deserialization semantics to: * if the class of an object, which is to be instantiated, is not found in the current context, the class name will be stored for later retrieval, and the class of that object is changed to INCOMPLETE_CLASS. All function calls, property gets, and property sets operating on an object of class INCOMPLETE_CLASS cause the execution to halt and to output an informative error message.
/PHP_5_4/ext/standard/var.c
|
| 9d640cc |
|
21-Jun-2000 |
Sascha Schumann <sas@php.net> |
Revert earlier commit.
/PHP_5_4/ext/standard/var.c
|
| bc8d078 |
|
21-Jun-2000 |
Thies C. Arntzen <thies@php.net> |
unserialize() and wddx_deserialize() now create an empty class if they enconter a class which's code is yet unknown. this makes sessionized data retain the class name of objects even if you visited pages that don't have the classes code available.
/PHP_5_4/ext/standard/var.c
|
| 405d07d |
|
18-Jun-2000 |
Thies C. Arntzen <thies@php.net> |
(serialize) no longer touches the internal array-pointer
/PHP_5_4/ext/standard/var.c
|
| da66298 |
|
17-Jun-2000 |
Zeev Suraski <zeev@php.net> |
- Fix a couple of wranings in the FTP code and in parsedate.y - Be safer with LC_MESSAGES - Align with the latest Zend change in call_user_function_ex()
/PHP_5_4/ext/standard/var.c
|
| 6e1dee8 |
|
17-Jun-2000 |
Andrei Zmievski <andrei@php.net> |
Have to use zval_ptr_dtor() on values returned from user functions.
/PHP_5_4/ext/standard/var.c
|
| 39aa0c4 |
|
16-Jun-2000 |
Andrei Zmievski <andrei@php.net> |
Just to make extra sure.
/PHP_5_4/ext/standard/var.c
|
| f14961b |
|
16-Jun-2000 |
Andrei Zmievski <andrei@php.net> |
Plug a memory leak: retval_ptr should be destroyed.
/PHP_5_4/ext/standard/var.c
|
| 71d4206 |
|
16-Jun-2000 |
Andrei Zmievski <andrei@php.net> |
Typo.
/PHP_5_4/ext/standard/var.c
|
| 6caf633 |
|
13-Jun-2000 |
Sascha Schumann <sas@php.net> |
Proper casts
/PHP_5_4/ext/standard/var.c
|
| d975678 |
|
09-Jun-2000 |
Zeev Suraski <zeev@php.net> |
@- Fixed var_dump() not to modify the internal order of array elements (Zeev) Fixed the buffer overflow as well
/PHP_5_4/ext/standard/var.c
|
| 3701bc4 |
|
05-Jun-2000 |
Andi Gutmans <andi@php.net> |
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
/PHP_5_4/ext/standard/var.c
|
| e043439 |
|
18-May-2000 |
Zeev Suraski <zeev@php.net> |
Update the license with the new clause 6
/PHP_5_4/ext/standard/var.c
|
| d7779d8 |
|
17-May-2000 |
Hartmut Holzgraefe <hholzgra@php.net> |
proto takeover from php3
/PHP_5_4/ext/standard/var.c
|
| 6e2bf33 |
|
04-Apr-2000 |
Thies C. Arntzen <thies@php.net> |
(var_dump) cleaned up some weird & buggy stuff
/PHP_5_4/ext/standard/var.c
|
| 7db7884 |
|
19-Mar-2000 |
Thies C. Arntzen <thies@php.net> |
(var_dump) removed "refcount-hack" - comiles without warning again (&works).
/PHP_5_4/ext/standard/var.c
|
| e4df84a |
|
18-Mar-2000 |
Thies C. Arntzen <thies@php.net> |
(serialize/unserialize) _sleep_() -> __sleep(), _wakeup_() -> __wakeup() rename.
/PHP_5_4/ext/standard/var.c
|
| 74169f5 |
|
16-Mar-2000 |
Sam Ruby <rubys@php.net> |
restore compilation on ZTS enabled environments (like Windows)
/PHP_5_4/ext/standard/var.c
|
| 0fe5aef |
|
16-Mar-2000 |
Thies C. Arntzen <thies@php.net> |
@- serialize()/unserialize() now call _sleep_() and _wakeup_() when @ working on objects. (Thies) @- renamed to_string() method to _string_value_() for consistency. @ (Thies, Zend library)
/PHP_5_4/ext/standard/var.c
|
| 49cc8a7 |
|
14-Mar-2000 |
Thies C. Arntzen <thies@php.net> |
@- fixed possible crash in unserialize if the serailized data was @ damaged. (Thies)
/PHP_5_4/ext/standard/var.c
|
| 86fa2aa |
|
19-Feb-2000 |
Zeev Suraski <zeev@php.net> |
the pipe is breaking all the time
/PHP_5_4/ext/standard/var.c
|
| de07740 |
|
07-Feb-2000 |
Thies C. Arntzen <thies@php.net> |
@- Made the output of var_dump() more informative. (Thies)
/PHP_5_4/ext/standard/var.c
|
| 3ccff40 |
|
02-Feb-2000 |
Thies C. Arntzen <thies@php.net> |
use FREE_ZVAL where appropiate
/PHP_5_4/ext/standard/var.c
|
| bdefd5d |
|
04-Jan-2000 |
Andi Gutmans <andi@php.net> |
- Change IS_UNSET -> IS_NULL
/PHP_5_4/ext/standard/var.c
|
| 953bf8b |
|
02-Jan-2000 |
Thies C. Arntzen <thies@php.net> |
(var_dump, serialize, unserialize) support NULL @- Added new NULL constant (Zeev, Zend library)
/PHP_5_4/ext/standard/var.c
|
| 43ae2bf |
|
01-Jan-2000 |
Sascha Schumann <sas@php.net> |
Happy Y2K patch! Happy new year (or the new millennium, depending on whether you start counting at 0 or 1).
/PHP_5_4/ext/standard/var.c
|
| 235386b |
|
26-Dec-1999 |
Zeev Suraski <zeev@php.net> |
Change ALLOC_ZVAL() semantics
/PHP_5_4/ext/standard/var.c
|
| 3bf1b04 |
|
24-Dec-1999 |
Andi Gutmans <andi@php.net> |
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
/PHP_5_4/ext/standard/var.c
|
| 80bab9d |
|
21-Dec-1999 |
Andrei Zmievski <andrei@php.net> |
We're using ZVAL's now.
/PHP_5_4/ext/standard/var.c
|
| a1ad287 |
|
18-Dec-1999 |
Zeev Suraski <zeev@php.net> |
- The tree compiles again
/PHP_5_4/ext/standard/var.c
|
| 3ee4e65 |
|
18-Dec-1999 |
Zeev Suraski <zeev@php.net> |
More php3_ annihilation
/PHP_5_4/ext/standard/var.c
|
| 0489895 |
|
09-Dec-1999 |
Thies C. Arntzen <thies@php.net> |
(unserialize) closed mem-leak
/PHP_5_4/ext/standard/var.c
|
| 276c0a3 |
|
08-Dec-1999 |
Thies C. Arntzen <thies@php.net> |
(unserialize) now cleans up better on failure!
/PHP_5_4/ext/standard/var.c
|
| 5b983c9 |
|
04-Dec-1999 |
Sascha Schumann <sas@php.net> |
Clean up php3.*\.h files. The files itself are renamed, and references in all .*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually.
/PHP_5_4/ext/standard/var.c
|
| c6b05b2 |
|
06-Nov-1999 |
Thies C. Arntzen <thies@php.net> |
(PHP var_dump, serialize) now use php.ini's precision size when displying/serializing doubles @- serialize() and var_dump() now honor the precision as set in php.ini @ for doubles. (Thies)
/PHP_5_4/ext/standard/var.c
|
| 3e307aa |
|
22-Oct-1999 |
Thies C. Arntzen <thies@php.net> |
unserialize no longer complaints about unserializing empty-strings (started that just a few days ago)
/PHP_5_4/ext/standard/var.c
|
| 41b87a2 |
|
20-Oct-1999 |
Thies C. Arntzen <thies@php.net> |
(PHP var_dump, serialize) fixed mem_leak.
/PHP_5_4/ext/standard/var.c
|
| 4f013f8 |
|
18-Oct-1999 |
Thies C. Arntzen <thies@php.net> |
@- unserialize() now gives a notice when passed invalid data. (Thies)
/PHP_5_4/ext/standard/var.c
|
| cf11347 |
|
18-Oct-1999 |
Thies C. Arntzen <thies@php.net> |
(PHP unserialize) - fixed mem-leak.
/PHP_5_4/ext/standard/var.c
|
| 54fed6c |
|
24-Sep-1999 |
Andrey Hristov <andrey@php.net> |
Extended var_dump to handle IS_RESOURCE somewhat.
/PHP_5_4/ext/standard/var.c
|
| f84ba1b |
|
20-Sep-1999 |
Andrey Hristov <andrey@php.net> |
- Upgraded var_dump() to take multiple arguments - php3api_ is changed to php_
/PHP_5_4/ext/standard/var.c
|
| 22d6f64 |
|
20-Sep-1999 |
Thies C. Arntzen <thies@php.net> |
new API for var_dump
/PHP_5_4/ext/standard/var.c
|
| 6ecd417 |
|
16-Sep-1999 |
Thies C. Arntzen <thies@php.net> |
php4 now deserialized php3 objects correctly! php3 will ignore objects serialized by php4 (that's the price we have to pay!) small fix in deserializing objects with static initializers (thanx boris)
/PHP_5_4/ext/standard/var.c
|
| de73bd0 |
|
15-Sep-1999 |
Thies C. Arntzen <thies@php.net> |
when unserializing classes: if the class is not known the standard class (no methods) will be used. if the class is known - the created object will functional again!
/PHP_5_4/ext/standard/var.c
|
| b287aa2 |
|
15-Sep-1999 |
Andrey Hristov <andrey@php.net> |
Fixed printf format.
/PHP_5_4/ext/standard/var.c
|
| e7ad3bb |
|
15-Sep-1999 |
Thies C. Arntzen <thies@php.net> |
use new API in var.c
/PHP_5_4/ext/standard/var.c
|
| 21a0c57 |
|
15-Sep-1999 |
Thies C. Arntzen <thies@php.net> |
i love id-strings
/PHP_5_4/ext/standard/var.c
|
| 3491633 |
|
15-Sep-1999 |
Thies C. Arntzen <thies@php.net> |
made serialize/unserialize work with classes! (also made the code "shorter") CHANGES: - the serialized string now also contains the class name (was not available in PHP3)! - when unserializing php will create a fully working object of that class again therby the class has to be defined when unserializing - else you get a warning!
/PHP_5_4/ext/standard/var.c
|
| d5bafda |
|
13-Sep-1999 |
Thies C. Arntzen <thies@php.net> |
ported oci8 to use new class API var_dump no longer tries to traverse avr->value.ht for objects but uses var->value.obj.properties instead
/PHP_5_4/ext/standard/var.c
|
| 3cb1eb0 |
|
02-Aug-1999 |
Zeev Suraski <zeev@php.net> |
Removed '3' from key functions in PHP (maintained compatibility through php3_compat.h)
/PHP_5_4/ext/standard/var.c
|
| c5724cb |
|
16-Jul-1999 |
Zeev Suraski <zeev@php.net> |
License update
/PHP_5_4/ext/standard/var.c
|
| c43c235 |
|
09-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Don't touch refcount and EA directly
/PHP_5_4/ext/standard/var.c
|
| 5f62c34 |
|
09-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Step 2: Rename is_ref to EA
/PHP_5_4/ext/standard/var.c
|
| fe4efa9 |
|
01-Jul-1999 |
Thies C. Arntzen <thies@php.net> |
changed boolean behaviour: var_dump(
/PHP_5_4/ext/standard/var.c
|
| 2e690ac |
|
01-Jul-1999 |
Sascha Schumann <sas@php.net> |
some additional consts
/PHP_5_4/ext/standard/var.c
|
| 336392e |
|
15-Jun-1999 |
Stig Bakken <ssb@php.net> |
* now using php4.ini instead of php3.ini * re-imported fopen-wrappers, fsock and string code from php3 NB! I have not tested all of the imported functions yet.
/PHP_5_4/ext/standard/var.c
|
| be14cca |
|
11-Jun-1999 |
Sascha Schumann <sas@php.net> |
it's obj.properties, not ht
/PHP_5_4/ext/standard/var.c
|
| 8c43c5f |
|
11-Jun-1999 |
Andrey Hristov <andrey@php.net> |
Fix up var.c a bit.
/PHP_5_4/ext/standard/var.c
|
| 83de88e |
|
10-Jun-1999 |
Sascha Schumann <sas@php.net> |
make serialize work unserialize does not work yet
/PHP_5_4/ext/standard/var.c
|
| 2bb01b6 |
|
10-Jun-1999 |
Andrey Hristov <andrey@php.net> |
Fixing serialize a bit.
/PHP_5_4/ext/standard/var.c
|
| dfce358 |
|
28-May-1999 |
Sascha Schumann <sas@php.net> |
that seems to fix it
/PHP_5_4/ext/standard/var.c
|
| 7401ef1 |
|
28-May-1999 |
Sascha Schumann <sas@php.net> |
Either I'm playing the EG(symbol_table) game wrong or var.c leaks memory when unserializing arrays/objects. Still testing
/PHP_5_4/ext/standard/var.c
|
| 9cace18 |
|
25-Apr-1999 |
Thies C. Arntzen <thies@php.net> |
serialize & unserialize working (with mem-leak)
/PHP_5_4/ext/standard/var.c
|
| 992e6a4 |
|
24-Apr-1999 |
Thies C. Arntzen <thies@php.net> |
made var_dump zend-aware.... <? $ar = array("hallo" => "tubu"); var_dump($ar); ?> works again!!! zeev, andi -> please review what i've done!!! (no i can start "debugging" other stuff, as i often use var_dump)
/PHP_5_4/ext/standard/var.c
|
| 6f7c0ed |
|
23-Apr-1999 |
Zeev Suraski <zeev@php.net> |
Remove tls.[ch]
/PHP_5_4/ext/standard/var.c
|
| 2c0ad3e |
|
22-Apr-1999 |
Stig Bakken <ssb@php.net> |
last bunch of extensions moving to ext/ fhttpd module taken out of functions, functions is ready to go. The only extensions I have tested are gd+freetype and odbc(solid). Please try compiling in your favourite extensions and let me know how it works.
/PHP_5_4/ext/standard/var.c
|
| 5e8c322 |
|
18-Apr-1999 |
Zeev Suraski <zeev@php.net> |
Make Win32 happy with the recent changes.
/PHP_5_4/ext/standard/var.c
|
| 257de2b |
|
17-Apr-1999 |
Stig Bakken <ssb@php.net> |
First commit of re-structuring phase one. We have started using automake in sub-directories and started to move extension code into ext/<name>. For now, I have moved the "standard" extension (which is quite a mix of everything right now) and the GD extension into their own subdirs in ext/. The configure script now also runs configure in the libzend directory automatically and makes sure php4 and libzend use the same config.cache file. To avoid running configure in libzend, use the --no-recursion option. "make" in php4 also builds libzend now. The Apache module doesn't compile right now, but a fix for that is coming up.
/PHP_5_4/ext/standard/var.c
|