Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add comments for the fix | Stanislav Malyshev | 2002-04-29 | 1 | -0/+2 |
| | |||||
* | Fix here too | Stanislav Malyshev | 2002-04-29 | 1 | -1/+1 |
| | |||||
* | Yet another serialization fix - for incomplete class | Stanislav Malyshev | 2002-04-29 | 1 | -2/+4 |
| | |||||
* | Fix couple of nasty serializer bugs: | Stanislav Malyshev | 2002-04-28 | 1 | -7/+14 |
| | | | | | | | | | | | | | 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). | ||||
* | simplify and improve speed of smart_str_print_long. | Sascha Schumann | 2002-04-21 | 1 | -5/+7 |
| | | | | | also add a variant for unsigned numbers. | ||||
* | fix #12793 - serialize will now spit a notice if the return value of __sleep is | Thies C. Arntzen | 2002-03-19 | 1 | -2/+13 |
| | | | | | bogus. | ||||
* | it's late; no more commits from me tonight... | Wez Furlong | 2002-03-15 | 1 | -1/+1 |
| | |||||
* | should have diffed first... | Wez Furlong | 2002-03-15 | 1 | -2/+2 |
| | |||||
* | fix for ZE2 compile | Wez Furlong | 2002-03-15 | 1 | -3/+3 |
| | |||||
* | - Fix bug #16078 | Derick Rethans | 2002-03-14 | 1 | -6/+29 |
| | |||||
* | fix buglet | Wez Furlong | 2002-03-14 | 1 | -3/+2 |
| | |||||
* | Fixed var_dump() crash when there is recursion. | Yasuo Ohgaki | 2002-03-14 | 1 | -0/+19 |
| | | | | | # Since I said it's easy to fix :) | ||||
* | Added ob_get_status() to get array of buffers and it's status. | Yasuo Ohgaki | 2002-03-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | (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) | ||||
* | - Make it a boolean | Derick Rethans | 2002-02-28 | 1 | -3/+3 |
| | |||||
* | - Fix the fix.. no need to escape " in single quotes | Derick Rethans | 2002-02-24 | 1 | -1/+1 |
| | |||||
* | - Add slashes around string output | Derick Rethans | 2002-02-24 | 1 | -1/+5 |
| | |||||
* | Renamed zval_debug_dump() to debug_zval_dump() | Jason Greene | 2002-02-10 | 1 | -6/+6 |
| | |||||
* | @Added zval_debug_dump which works similar to var_dump yet displays extra | Jason Greene | 2002-02-10 | 1 | -0/+98 |
| | | | | | internal information such as refcounts, and the true type names (Jason) | ||||
* | - TSRMLS here and there, it's all about the Windows flair | Derick Rethans | 2001-12-15 | 1 | -3/+3 |
| | |||||
* | - Added a second parameter to var_export which makes the function return | Derick Rethans | 2001-12-15 | 1 | -14/+15 |
| | | | | | the variable representation in a string. | ||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 |
| | |||||
* | - Remove debug code | Derick Rethans | 2001-12-08 | 1 | -5/+1 |
| | |||||
* | - Added var_export, which shows a representation of a variable, much like | Derick Rethans | 2001-12-08 | 1 | -0/+95 |
| | | | | | | | 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) | ||||
* | improve last patch: | Thies C. Arntzen | 2001-12-01 | 1 | -15/+14 |
| | | | | | | non existant object variables are now serialized as NULL, this saves us from buffering the serialized data. | ||||
* | serialized data would be incoorect if __sleep() returned a variable-name | Thies C. Arntzen | 2001-12-01 | 1 | -8/+15 |
| | | | | | | which is non-existant in the object. submitted by: Bernd Roemer <berndr@bonn.edu> | ||||
* | Rewrite of unserializer which should be more maintainable and extensible. | Sascha Schumann | 2001-11-10 | 1 | -243/+1 |
| | | | | | | | Changes pass `make test´ and a couple of custom tests. Enjoy. | ||||
* | Back-substitute for Z_* macro's. If it breaks some extension (the script ↵ | Jeroen van Wolffelaar | 2001-09-25 | 1 | -10/+10 |
| | | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know. | ||||
* | - Don't wrap lines... this is annoying while coding. | Derick Rethans | 2001-09-09 | 1 | -2/+2 |
| | |||||
* | API update | Zeev Suraski | 2001-08-21 | 1 | -1/+1 |
| | |||||
* | Cleanup of var_dump() with correct macro's, k&r indent, and removal of a | Sterling Hughes | 2001-08-17 | 1 | -45/+43 |
| | | | | | pair of unnecessary { } | ||||
* | - This code looks OK so remove FIXME comment | Andi Gutmans | 2001-08-14 | 1 | -1/+0 |
| | |||||
* | Whitespace | Zeev Suraski | 2001-08-11 | 1 | -9/+10 |
| | |||||
* | we can no longer register internal-classes once the script is started. | Thies C. Arntzen | 2001-08-06 | 1 | -1/+1 |
| | | | | | therefore the "incomplete class" is now registered at MINIT time. | ||||
* | more tsrm cleanup | Sascha Schumann | 2001-08-05 | 1 | -11/+6 |
| | |||||
* | more tsrm cleanup -- output.c is not doing any fetches anymore | Sascha Schumann | 2001-08-05 | 1 | -4/+5 |
| | |||||
* | fix serialize: | Thies C. Arntzen | 2001-08-04 | 1 | -13/+12 |
| | | | | | | | | - 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:-) | ||||
* | Eliminate TSRMLS_FETCH() call. | Sebastian Bergmann | 2001-08-04 | 1 | -4/+3 |
| | |||||
* | Fix Win32 (and maybe other ZTS) builds. | Sebastian Bergmann | 2001-08-04 | 1 | -0/+1 |
| | |||||
* | Clean up the serializer by modularizing some of its code. That also | Sascha Schumann | 2001-08-04 | 1 | -106/+125 |
| | | | | | | enables us to serialize hash indices without creating zvals for them. Due to its nature, this patch also includes some whitespace changes. | ||||
* | Do the nul'ifiying of php_var_serialize's result at the right place | Sascha Schumann | 2001-08-03 | 1 | -7/+12 |
| | |||||
* | NUL-terminate string | Sascha Schumann | 2001-08-03 | 1 | -0/+1 |
| | |||||
* | Convert serializer to smart_str.. avoids lots of sprintf's and | Sascha Schumann | 2001-08-03 | 1 | -60/+50 |
| | | | | | copying of data. | ||||
* | Zend compatibility patch | Zeev Suraski | 2001-07-30 | 1 | -2/+2 |
| | |||||
* | More TSRMLS_FETCH annihilation (Zend compatibility patch) | Zeev Suraski | 2001-07-30 | 1 | -1/+3 |
| | |||||
* | - More object macros | Andi Gutmans | 2001-07-29 | 1 | -8/+6 |
| | |||||
* | Redesigned thread safety mechanism - nua nua | Zeev Suraski | 2001-07-28 | 1 | -6/+1 |
| | |||||
* | - Get rid of ELS_*(), and use TSRMLS_*() instead. | Zeev Suraski | 2001-07-27 | 1 | -3/+3 |
| | | | | | | | - 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... | ||||
* | Update cast | Zeev Suraski | 2001-07-15 | 1 | -1/+1 |
| | |||||
* | Improved interactive mode - it is now available in all builds, without any ↵ | Zeev Suraski | 2001-07-15 | 1 | -3/+2 |
| | | | | significant slowdown | ||||
* | More correct pseudo-fix | Stanislav Malyshev | 2001-07-11 | 1 | -2/+1 |
| | | | | | | # This is not really a fix. This thing is still broken. I will think on # how to really fix it. Any suggestion is *welcome*. |