Commit Graph

18 Commits

Author SHA1 Message Date
Sander Roobol
bed405cce4 Sync with var_unserializer.re 2002-08-19 20:02:59 +00:00
Stanislav Malyshev
2282ac6074 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-19 10:58:18 +00:00
Sascha Schumann
cd64450cd7 Touch file 2002-08-06 00:07:05 +00:00
Shane Caraveo
7645343c4a need to export var_replace and var_destroy for win32 2002-08-04 23:45:38 +00:00
Sascha Schumann
01c980980c update 2002-05-04 17:17:54 +00:00
Sascha Schumann
6f57419453 Touch file 2002-04-30 13:47:16 +00:00
Stanislav Malyshev
a57381e3bd 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).
2002-04-28 16:56:33 +00:00
Sascha Schumann
d74666a648 touch file 2002-03-18 08:22:33 +00:00
Harald Radi
65c4e9e0fd removed anoying warnings 2002-03-17 16:45:56 +00:00
Andi Gutmans
c8e7db984c - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR 2002-03-12 20:18:01 +00:00
Derick Rethans
8d4656dcf6 - Remove CVS things 2002-03-07 15:51:29 +00:00
Sascha Schumann
c12dc3851b touch file 2002-03-07 15:44:10 +00:00
Sascha Schumann
ab38ad27a5 increase timestamp, because make tries to regenerate this file without any reason 2001-12-05 21:45:33 +00:00
Bernd Roemer
99639f5812 Allow unserializer_callback_func to be turned off. 2001-12-02 17:31:11 +00:00
foobar
ef64e8336f Updated file since .re changed. 2001-11-26 22:46:15 +00:00
Derick Rethans
06cdf297a8 - Adding a callback mechanism to the unserializer. (patch by Bernd
Roemer <berndr@bonn.edu>)
#- An explainatory e-mail will be send to php-dev
2001-11-26 21:04:21 +00:00
Sascha Schumann
9f3362933a Fix two incidents which have been reported about the new unserializer.
#1: forgot to handle negative numbers
#2: added zval_ptr_dtor which was not in the original code which
    might lead to crash

PR: #14082
2001-11-16 16:34:14 +00:00
Sascha Schumann
f341f630d3 Rewrite of unserializer which should be more maintainable and extensible.
Changes pass `make test´ and a couple of custom tests.

Enjoy.
2001-11-10 21:18:34 +00:00