History log of /PHP-5.4/ext/standard/var_unserializer.re (Results 76 – 100 of 103)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, RELEASE_0_1
# 56f8195f 19-Jul-2004 Andi Gutmans

- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have

- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.

show more ...


Revision tags: php-5.0.0RC4, php-5.0.0, php-4.3.8, php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1, RELEASE_0_1_1, php-5.0.0RC2, php-5.0.0RC2RC2, php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1
# bc0373b8 27-Mar-2004 Marcus Boerger

Portable solution for bug #27646 that works correct on Windows, too


Revision tags: php-4.3.5
# fdcff80c 23-Mar-2004 Marcus Boerger

- Allow negative infinity
- Register missing constants, they work anyway but cause an E_NOTICE
# generation by atof() should be portable enough (afaik)


# c64376bd 23-Mar-2004 Marcus Boerger

Bugfix #27646: Cannot serialize/unserialize non-finite numeric values


Revision tags: php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1, RELEASE_0_2_0, php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1, php-4.3.5RC2
# 3fd027c5 03-Feb-2004 Stanislav Malyshev

fix bug #27120 and bug #25975 - preserve is_ref when bound
objects are serialized


Revision tags: RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# ccfc46b0 08-Jan-2004 foobar

- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?


# 0cd13bf4 02-Jan-2004 Marcus Boerger

Bugfix #26762 unserialize() produces lowercase classnames


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1, php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7
# ba6c58ad 03-Sep-2003 foobar

- Fixed bug #25378 (Invalid data passed to unserialize() causes segfault)


Revision tags: php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5
# 53bbeedc 05-Aug-2003 Stanislav Malyshev

don't try to wakeup incomplete classes


Revision tags: BEFORE_ARG_INFO, php-4.3.3RC2
# 1379c46d 02-Jul-2003 Moriyoshi Koizumi

Fixed a leak that occurs with "R" reference variable specifier.


Revision tags: php-5.0.0b1
# a0ae6367 26-Jun-2003 Sterling Hughes

fix by ilia to fix crashes in the session extension when /tmp/sess_* files
previously existed. make test now passes fully with the session extension.


Revision tags: php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


# 57250484 02-Jun-2003 Sebastian Bergmann

Leftover.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4
# 3b2fa8bb 24-May-2003 Marcus Boerger

Fix namespace related problems


Revision tags: BEFORE_FD_REVERT
# 23071932 18-May-2003 Marcus Boerger

Fix unserialize


Revision tags: php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5
# b3199828 17-Apr-2003 foobar

add missing header


Revision tags: init, php-4.3.2RC1, php-4.3.1, PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 38ad0e91 24-Jan-2003 Ilia Alshanetsky

zend_error -> php_error_docref.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1, php-4.3.0pre2, RELEASE_1_0b1, php-4.3.0pre1, MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003, RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2, php-4.2.3RC1
# 47ae4068 19-Aug-2002 Sander Roobol

Made unserialize handle floats with an E notation - bug #18654
Patch by Christophe Sollet <csollet@coleebris.com>.
(I'll commit a new var_unserializer.c in a second)


# 05156fa3 18-Aug-2002 Stanislav Malyshev

ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!


Revision tags: dev
# 7645343c 04-Aug-2002 Shane Caraveo

need to export var_replace and var_destroy for win32


Revision tags: php-4.2.2, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, php-4.3.0dev, php5_5_0, RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2
# 2438488c 04-May-2002 Sascha Schumann

rval_temp was declared but never used


Revision tags: php-4.2.1RC1
# a57381e3 28-Apr-2002 Stanislav Malyshev

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

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).

show more ...


Revision tags: php-4.2.0, php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1
# 65c4e9e0 17-Mar-2002 Harald Radi

removed anoying warnings


Revision tags: help
# c8e7db98 12-Mar-2002 Andi Gutmans

- Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR


Revision tags: php-4.1.2, BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH, php-4.1.1, PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog, php-4.1.0, php-4.1.0RC5
# 99639f58 02-Dec-2001 Bernd Roemer

Allow unserializer_callback_func to be turned off.


12345