History log of /PHP-7.2/ext/standard/var.c (Results 276 – 300 of 417)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 91a78e29 29-Apr-2002 Stanislav Malyshev

Fix here too


# aa10ac9a 29-Apr-2002 Stanislav Malyshev

Yet another serialization fix - for incomplete class


# 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
# d30fc27e 21-Apr-2002 Sascha Schumann

simplify and improve speed of smart_str_print_long.

also add a variant for unsigned numbers.


Revision tags: php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1
# 3550d75d 19-Mar-2002 Thies C. Arntzen

fix #12793 - serialize will now spit a notice if the return value of __sleep is
bogus.


# 1cc6a8e9 15-Mar-2002 Wez Furlong

it's late; no more commits from me tonight...


# 0454ad4d 15-Mar-2002 Wez Furlong

should have diffed first...


# ae9db4e4 15-Mar-2002 Wez Furlong

fix for ZE2 compile


# 7935e737 14-Mar-2002 Derick Rethans

- Fix bug #16078


# 93ad2057 14-Mar-2002 Wez Furlong

fix buglet


# dcd86d15 14-Mar-2002 Yasuo Ohgaki

Fixed var_dump() crash when there is recursion.
# Since I said it's easy to fix :)


Revision tags: help
# 82a8d372 01-Mar-2002 Yasuo Ohgaki

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 m

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)

show more ...


# 27c46480 28-Feb-2002 Derick Rethans

- Make it a boolean


Revision tags: php-4.1.2
# b5a0fd24 24-Feb-2002 Derick Rethans

- Fix the fix.. no need to escape " in single quotes


# a4946ca3 24-Feb-2002 Derick Rethans

- Add slashes around string output


# 150d3392 10-Feb-2002 Jason Greene

Renamed zval_debug_dump() to debug_zval_dump()


# 91ac18bc 10-Feb-2002 Jason Greene

@Added zval_debug_dump which works similar to var_dump yet displays extra
internal information such as refcounts, and the true type names (Jason)


Revision tags: BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH, php-4.1.1
# f5f4a5cf 15-Dec-2001 Derick Rethans

- TSRMLS here and there, it's all about the Windows flair


# 143df7de 15-Dec-2001 Derick Rethans

- Added a second parameter to var_export which makes the function return
the variable representation in a string.


Revision tags: PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.


Revision tags: php-4.1.0
# a7b9d559 08-Dec-2001 Derick Rethans

- Remove debug code


# 3cb1db98 08-Dec-2001 Derick Rethans

- 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 vari

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

show more ...


Revision tags: php-4.1.0RC5
# 0fd809a7 01-Dec-2001 Thies C. Arntzen

improve last patch:
non existant object variables are now serialized as NULL, this saves us from
buffering the serialized data.


# 7ff5198c 01-Dec-2001 Thies C. Arntzen

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>


Revision tags: php-4.1.0RC4, php-4.1.0RC3, php-4.1.0RC2
# f341f630 10-Nov-2001 Sascha Schumann

Rewrite of unserializer which should be more maintainable and extensible.

Changes pass `make test´ and a couple of custom tests.

Enjoy.


1...<<11121314151617