Projects
home:rottame:vhosts-ng:php8-extensions
php8-igbinary
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
php8-igbinary.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri May 31 14:32:40 UTC 2024 - Angelo Grossini <angelo@intercom.it> + +- update to 3.2.15 + +------------------------------------------------------------------- Wed Aug 16 12:44:40 UTC 2023 - Angelo Grossini <rottame@intercom.it> - vhng versioning
View file
php8-igbinary.spec
Changed
@@ -19,7 +19,7 @@ %define pkg_name igbinary # Name: php8-%{pkg_name} -Version: 3.2.14 +Version: 3.2.15 Release: 1 Summary: Replacement for the Standard PHP Serializer # need to ask authors to clarify. There's 'New BSD' in package description,
View file
igbinary-3.2.14.tgz/igbinary-3.2.14/NEWS
Deleted
@@ -1,321 +0,0 @@ -3.2.13 2023-02-02 -======= - -* Speed up unserialization of typed properties by reducing hash table collisions when looking up property reference info. - -3.2.12 2022-11-07 -======= - -* Fix symbol error seen in php 8.2.0 loading zend_class_unserialize_deny, due to failing to load a header defining a macro. - -3.2.11 2022-11-06 -======= -* Fix a bug that could prevent objects/arrays with reference cycles from being properly garbage collected. -* Fix bugs in unserializing PHP references to values found in php 7.4 typed properties (#363) - -3.2.10 2022-11-06 -======= - -* Add a macro that callers can use to check if igbinary will accept the header for data being unserialized. -* Fix bug preventing the unserialization of data containing representations of strings larger than 4GB. - -3.2.9 2022-10-17 -======= - -* Fix invalid release artifact name in job to build dlls for https://github.com/igbinary/igbinary - -3.2.8 2022-10-17 -======= - -* Fix invalid release artifact name in job to build dlls for https://github.com/igbinary/igbinary - -3.2.8 2022-10-16 -======= - -* Reduce excessive inlining to reduce shared library size. -* Miscellaneous optimizations. -* Set up CI job to build dlls on https://github.com/igbinary/igbinary - at the moment, the infrastructure used by the Windows for php team has been broken for months. - -3.2.7 2022-01-12 -======= - -* Update test expectations for php 8.2.0-dev. Add `#AllowDynamicProperties` Attribute to some tests to avoid notices. -* In php 8.1+, make igbinary_unserialize check to see if an equivalent interned string already exists when unserializing object property names, array keys, and class names - and use that instead of creating a brand new string. - (This deliberately doesn't create a new interned string if one doesn't already exist.) - (Before this change, igbinary would deduplicate strings when serializing, but would not check if strings were interned by PHP itself when unserializing) -* Avoid debug build assertion failure for `HT_ASSERT_RC1` the same way as PHP's unserialize - this is a case where ostensibly there are no other references to the array being unserialized. - -3.2.6 2021-08-11 -======= - -* Fix igbinary version found in Reflection. - -3.2.5 2021-08-07 -======= - -* Fix change in behavior introduced in 3.2.2RC1 when unserializing arrays - the internal array pointer (for `next()`, `key()`, etc) pointed past the end of the array in php 7.0-7.2. - -3.2.4 2021-07-24 -======= - -* Forbid serializing classes that deny serialization/unserialization (anonymous classes, CURLFile, etc.) even when subclasses implement '__serialize' and '__unserialize' - -3.2.3 2021-06-09 -======= - -* Fix build for php 8.1 after changes to enum internals. -* Update tests to suppress deprecations in php 8.1 and support run-tests.php changes in php 8.1 -* Don't emit a notice when unserialize_callback_func causes igbinary_unserialize to throw https://bugs.php.net/bug.php?id=81118 - -3.2.2 2021-04-18 -======= - -* Eliminate impossible/redundant checks. -* Add a new type code for serialization and unserialization of PHP strings that are larger than 4GB. -* Add additional checks for overflow when serializing extremely large data structures. - (e.g. serializing more than 2**32 strings or 2**32 objects/references/arrays) -* Support serializing and unserializing php 8.1 enums (can only be unserialized in php 8.1+) - -3.2.2RC1 2021-01-11 -======= - -* Update php version check to allow igbinary to be statically built in PHP 8.0+ -* Fix bug in out of memory error handling in __sleep, slightly speed up serializing with __sleep. -* Continue serializing remaining properties if a missing property name is returned from __sleep. -* Speed up serializing by optimizing for the case where there is no memory manager override. - When there is a memory manager override, only use that for allocating the string to return. - (benchmarks/serialize-scalar-int.b.php showed a speedup from 0.22 to 0.18 seconds for repeated serialization of a single scalar, - and from 0.186 to 0.180 seconds for benchmarks/serialize-stringarray.b.php for an array of strings) -* Speed up unserializing arrays in php 7.2-8.0 by adding optimized code for finding the hash bucket of - a string/integer key of an array, or creating a placeholder if it does not already exist. - -3.2.1 2020-12-27 -======= -* Fix crash when unserializing if __serialize was defined but __unserialize was undefined in php 8.0+ (due to typo). - -3.2.0 2020-12-26 -======= - -* Use PHP's shared empty array instance when unserializing empty arrays in php 7.3+. - (helps slightly with memory usage when repeatedly unserializing, - when removing elements from arrays before unserializing them, - or when serializing values including an empty array that was unserialized) -* Emit a deprecation notice when serializing resources. - PHP itself is converting many resources to objects that throw an Error on serialization attempts. - Continue to represent resources as null in the serialized data. -* Fix memory management bug when unserializing invalid data (duplicate properties in objects (e.g. from `__sleep`) or duplicate fields in arrays (impossible for valid data)). -* Speed up calls to `__serialize`/`__unserialize` in php 8.0+. -* Fix error messages for unserialize_callback_func: make messages properly refer to the autoload function. -* Optimize unserializing alternative names for private/protected properties that were previously public. - -3.1.6 2020-10-08 -======= - -* Fix build failure with older C standard (e.g. building on CentOS 6). -* Otherwise, identical to 3.1.6RC1. - -3.1.6RC1 2020-10-07 -======= - -* Fix igbinary_serialize incorrectly deduplicating arrays/objects/references when they were garbage collected/freed during serialization. - -3.1.5 2020-09-02 -======= - -* Update unit test expectation to match behavior in php 8 due to changes in php's handling of cyclic references in arrays. -* Support API changes in php 8.0.0beta3. - -3.1.4 2020-07-05 -======= - -* Fix unserialization of PHP references to internal/user-defined classes using PHP 7.4's `__unserialize` (e.g. `ArrayObject`) - -3.1.3 2020-07-04 -======= - -* Properly serialize reference groups of size 1 (these can be created by array_walk_recursive and other functions). - Note that this does not fix the general case where values not being serialized are in the same reference group as a value being serialized. -* PHP 8.0 compatibility fixes. - -3.1.2 2020-01-16 -======= - -* Speed up object, array, reference, and string serialization. -* Speed up unserializing integers between 0 and 65535 (as values and array keys). -* Speed up unserializing objects with declared properties. - -3.1.1 2020-01-16 -======= - -* Fix bug causing incorrect serialization for 1 in 2**32 strings on 64-bit php installations when string hashes collide. - (https://github.com/igbinary/igbinary/issues/260) - -3.1.1a1 2020-01-11 -======= - -* Throw when an uninitialized php 7.4 typed property is included in the result of __sleep(), - instead of emitting a notice and attempting to represent the unset/uninitialized value as null (#258). - See https://bugs.php.net/bug.php?id=79002 - - Uninitialized properties without types (from __sleep) continue to cause igbinary to emit notices and are represented as null. - -3.1.0 2019-12-27 -======= - -* Same as 3.1.0b4. - -3.1.0b4 2019-12-20 -======= - -* Don't call __destruct for objects where deferred __unserialize calls were not started (e.g. due to Serializable::unserialize throwing). - -3.1.0b3 2019-12-10 -======= - -* Skip over object properties that are uninitialized or unset when serializing, instead of serializing them as null. - This is done to avoid Errors when unserializing their values for php 7.4 typed properties. - -3.1.0b2 2019-12-09 -======= - -* Fix crashes related to unserializing instances of classes with php 7.4 typed properties. - -3.1.0b1 2019-12-08 -======= - -* Support php 7.4's __serialize/__unserialize the same way serialize()/unserialize() does. - This deliberately only supports __serialize/__unserialize in php 7.4, to making switching to/from serialize()/unserialize() as straightforward as possible. - -3.0.1 2019-03-20 -======= - -* Fix version check when statically building igbinary inside of the php-src folder. - -3.0.0 2019-02-17 -======= - -* Identical to 3.0.0a2 -
View file
igbinary-3.2.14.tgz/igbinary-3.2.14/src/php7/igbinary.c
Deleted
@@ -1,3600 +0,0 @@ -/* - +----------------------------------------------------------------------+ - | See COPYING file for further copyright information | - +----------------------------------------------------------------------+ - | Author: Oleg Grenrus <oleg.grenrus@dynamoid.com> | - | See CREDITS for contributors | - +----------------------------------------------------------------------+ -*/ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#ifdef PHP_WIN32 -# include "ig_win32.h" -#endif - -#include "php.h" -#include "php_ini.h" -#include "Zend/zend_alloc.h" -#include "Zend/zend_exceptions.h" -#include "Zend/zend_interfaces.h" -#include "Zend/zend_compile.h" /* ZEND_ACC_NOT_SERIALIZABLE */ -#include "ext/standard/info.h" -#include "ext/standard/php_var.h" - -#if PHP_VERSION_ID >= 80100 -#include "Zend/zend_enum.h" -#endif - -#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) -# include "ext/session/php_session.h" -#endif - -#include "ext/standard/php_incomplete_class.h" - -#if PHP_VERSION_ID < 70400 -#define zend_get_properties_for(struc, purpose) Z_OBJPROP_P((struc)) - -#define zend_release_properties(ht) do {} while (0) -#endif - -#if PHP_VERSION_ID < 70300 -#define zend_string_efree(s) zend_string_release((s)) -#define GC_ADDREF(p) (++GC_REFCOUNT((p))) -#endif - -#if defined(HAVE_APCU_SUPPORT) -# include "ext/apcu/apc_serializer.h" -#endif /* HAVE_APCU_SUPPORT */ - -#include "php_igbinary.h" - -#include "igbinary.h" -#include "igbinary_macros.h" - -#include <assert.h> -#include <ctype.h> - -#ifndef PHP_WIN32 -# include <inttypes.h> -# include <stdbool.h> -# include <stdint.h> -#endif - -#include <stddef.h> -#include "hash.h" -#include "hash_ptr.h" -#include "zend_alloc.h" -#include "igbinary_zend_hash.h" - -#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) -/** Session serializer function prototypes. */ -PS_SERIALIZER_FUNCS(igbinary); -#endif /* HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) */ - -#if defined(HAVE_APCU_SUPPORT) -/** Apc serializer function prototypes */ -static int APC_SERIALIZER_NAME(igbinary) (APC_SERIALIZER_ARGS); -static int APC_UNSERIALIZER_NAME(igbinary) (APC_UNSERIALIZER_ARGS); -#endif - -static zend_always_inline HashTable *HASH_OF_OBJECT(zval *p) { - ZEND_ASSERT(Z_TYPE_P(p) == IS_OBJECT); - return Z_OBJ_HT_P(p)->get_properties( -#if PHP_VERSION_ID >= 80000 - Z_OBJ_P(p) -#else - p -#endif - ); -} - -#if PHP_VERSION_ID < 70300 -#define zend_string_release_ex(s, persistent) zend_string_release((s)) - -static zend_always_inline void zval_ptr_dtor_str(zval *zval_ptr) -{ - if (Z_REFCOUNTED_P(zval_ptr) && !Z_DELREF_P(zval_ptr)) { - ZEND_ASSERT(Z_TYPE_P(zval_ptr) == IS_STRING); - ZEND_ASSERT(!ZSTR_IS_INTERNED(Z_STR_P(zval_ptr))); - ZEND_ASSERT(!(GC_FLAGS(Z_STR_P(zval_ptr)) & IS_STR_PERSISTENT)); - efree(Z_STR_P(zval_ptr)); - } -} -#endif - -#define RETURN_1_IF_NON_ZERO(cmd) \ - if (UNEXPECTED((cmd) != 0)) { \ - return 1; \ - } - -#ifdef ZEND_ACC_NOT_SERIALIZABLE -# define IGBINARY_IS_NOT_SERIALIZABLE(ce) UNEXPECTED((ce)->ce_flags & (ZEND_ACC_NOT_SERIALIZABLE | ZEND_ACC_ANON_CLASS)) -# define IGBINARY_IS_NOT_UNSERIALIZABLE(ce) IGBINARY_IS_NOT_SERIALIZABLE(ce) -#elif PHP_VERSION_ID >= 70400 -# define IGBINARY_IS_NOT_SERIALIZABLE(ce) UNEXPECTED((ce)->serialize == zend_class_serialize_deny) -# define IGBINARY_IS_NOT_UNSERIALIZABLE(ce) UNEXPECTED((ce)->unserialize == zend_class_unserialize_deny) -#else -// Because '__serialize' is not available prior to 7.4, this check is redundant. -# define IGBINARY_IS_NOT_SERIALIZABLE(ce) (0) -# define IGBINARY_IS_NOT_UNSERIALIZABLE(ce) (0) -#endif - - -/* {{{ Types */ -enum igbinary_type { - /* 00 */ igbinary_type_null, /**< Null. */ - - /* 01 */ igbinary_type_ref8, /**< Array reference. */ - /* 02 */ igbinary_type_ref16, /**< Array reference. */ - /* 03 */ igbinary_type_ref32, /**< Array reference. */ - - /* 04 */ igbinary_type_bool_false, /**< Boolean true. */ - /* 05 */ igbinary_type_bool_true, /**< Boolean false. */ - - /* 06 */ igbinary_type_long8p, /**< Long 8bit positive. */ - /* 07 */ igbinary_type_long8n, /**< Long 8bit negative. */ - /* 08 */ igbinary_type_long16p, /**< Long 16bit positive. */ - /* 09 */ igbinary_type_long16n, /**< Long 16bit negative. */ - /* 0a */ igbinary_type_long32p, /**< Long 32bit positive. */ - /* 0b */ igbinary_type_long32n, /**< Long 32bit negative. */ - - /* 0c */ igbinary_type_double, /**< Double. */ - - /* 0d */ igbinary_type_string_empty, /**< Empty string. */ - - /* 0e */ igbinary_type_string_id8, /**< String id. */ - /* 0f */ igbinary_type_string_id16, /**< String id. */ - /* 10 */ igbinary_type_string_id32, /**< String id. */ - - /* 11 */ igbinary_type_string8, /**< String. */ - /* 12 */ igbinary_type_string16, /**< String. */ - /* 13 */ igbinary_type_string32, /**< String. */ - - /* 14 */ igbinary_type_array8, /**< Array. */ - /* 15 */ igbinary_type_array16, /**< Array. */ - /* 16 */ igbinary_type_array32, /**< Array. */ - - /* 17 */ igbinary_type_object8, /**< Object. */ - /* 18 */ igbinary_type_object16, /**< Object. */ - /* 19 */ igbinary_type_object32, /**< Object. */ - - /* 1a */ igbinary_type_object_id8, /**< Object class name string id. */ - /* 1b */ igbinary_type_object_id16, /**< Object class name string id. */ - /* 1c */ igbinary_type_object_id32, /**< Object class name string id. */ - - /* 1d */ igbinary_type_object_ser8, /**< Object serialized data. */ - /* 1e */ igbinary_type_object_ser16, /**< Object serialized data. */ - /* 1f */ igbinary_type_object_ser32, /**< Object serialized data. */ - - /* 20 */ igbinary_type_long64p, /**< Long 64bit positive. */ - /* 21 */ igbinary_type_long64n, /**< Long 64bit negative. */ - - /* 22 */ igbinary_type_objref8, /**< Object reference. */ - /* 23 */ igbinary_type_objref16, /**< Object reference. */ - /* 24 */ igbinary_type_objref32, /**< Object reference. */ - - /* 25 */ igbinary_type_ref, /**< Simple reference */ - /* 26 */ igbinary_type_string64, /**< String larger than 4GB (originally, php strings had a limit of 32-bit lengths). */ - /* 27 */ igbinary_type_enum_case, /**< PHP 8.1 Enum case. */ -}; - -/* Defers calls to zval_ptr_dtor for values that are refcounted. */ -struct deferred_dtor_tracker { - zval *zvals; /**< refcounted objects and arrays to call dtor on after unserializing. See i_zval_ptr_dtor */ - size_t count; /**< count of refcounted in array for calls to dtor */ - size_t capacity; /**< capacity of refcounted in array for calls to dtor */ -}; - -/** Serializer data. - * @author Oleg Grenrus <oleg.grenrus@dynamoid.com> - */ -struct igbinary_serialize_data { - uint8_t *buffer; /**< Buffer. */ - size_t buffer_size; /**< Buffer size. */ - size_t buffer_capacity; /**< Buffer capacity. */ - bool scalar; /**< Serializing scalar. */ - bool compact_strings; /**< Check for duplicate strings. */
View file
igbinary-3.2.14.tgz/igbinary-3.2.14/src/php7/igbinary.h
Deleted
@@ -1,95 +0,0 @@ -/* - +----------------------------------------------------------------------+ - | See COPYING file for further copyright information | - +----------------------------------------------------------------------+ - | Author: Oleg Grenrus <oleg.grenrus@dynamoid.com> | - | See CREDITS for contributors | - +----------------------------------------------------------------------+ -*/ - -#ifndef IGBINARY_H -#define IGBINARY_H -#include <stdint.h> - -/* Forward declarations. */ -struct zval; - -/* Constants and constant macros */ -/** Binary protocol version of igbinary. */ -#define IGBINARY_FORMAT_VERSION 0x00000002 - -#define PHP_IGBINARY_VERSION "3.2.14" - -/* Macros */ - -#ifdef PHP_WIN32 -# if defined(IGBINARY_EXPORTS) || (!defined(COMPILE_DL_IGBINARY)) -# define IGBINARY_API __declspec(dllexport) -# elif defined(COMPILE_DL_IGBINARY) -# define IGBINARY_API __declspec(dllimport) -# else -# define IGBINARY_API /* nothing special */ -# endif -#elif defined(__GNUC__) && __GNUC__ >= 4 -# define IGBINARY_API __attribute__ ((visibility("default"))) -#else -# define IGBINARY_API /* nothing special */ -#endif - -/** Struct that contains pointers to memory allocation and deallocation functions. - * @see igbinary_serialize_data - */ -struct igbinary_memory_manager { - void *(*alloc)(size_t size, void *context); - void *(*realloc)(void *ptr, size_t new_size, void *context); - void (*free)(void *ptr, void *context); - void *context; -}; - -/** Serialize zval. - * Return buffer is allocated by this function with emalloc. - * @paramout ret Return buffer - * @paramout ret_len Size of return buffer - * @paramin z Variable to be serialized - * @return 0 on success, 1 elsewhere. - */ -IGBINARY_API int igbinary_serialize(uint8_t **ret, size_t *ret_len, zval *z); - -/** Serialize zval. - * Return buffer is allocated by this function with emalloc. - * @paramout ret Return buffer - * @paramout ret_len Size of return buffer - * @paramin z Variable to be serialized - * @paramin memory_manager Pointer to the structure that contains memory allocation functions. - * @return 0 on success, 1 elsewhere. - */ -IGBINARY_API int igbinary_serialize_ex(uint8_t **ret, size_t *ret_len, zval *z, struct igbinary_memory_manager *memory_manager); - -/** Unserialize to zval. - * @paramin buf Buffer with serialized data. - * @paramin buf_len Buffer length. - * @paramout z Unserialized zval - * @return 0 on success, 1 elsewhere. - */ -IGBINARY_API int igbinary_unserialize(const uint8_t *buf, size_t buf_len, zval *z); - -static zend_always_inline int _igbinary_has_valid_header(const uint8_t *buf, size_t buf_len) { - if (buf_len < 5) { - /* Must have 4 header bytes and at least one byte of data */ - return 0; - } - /* Unserialize 32bit value the same way on big-endian and little-endian architectures. - * This compiles to a load+optional bswap when compiler optimizations are enabled. */ - const uint32_t ret = - ((uint32_t)(buf0) << 24) | - ((uint32_t)(buf1) << 16) | - ((uint32_t)(buf2) << 8) | - ((uint32_t)(buf3)); - return ret == 1 || ret == 2; -} -/** This is defined as a macro and a static C function - * to allow callers to use the macro from newer igbinary versions even with older igbinary installations. */ -#define igbinary_has_valid_header(buf, buf_len) _igbinary_has_valid_header((buf), (buf_len)) - - -#endif /* IGBINARY_H */
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/COPYING
Changed
(renamed from igbinary-3.2.14/COPYING)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/CREDITS
Changed
(renamed from igbinary-3.2.14/CREDITS)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/NEWS
Added
@@ -0,0 +1,330 @@ +3.2.15 2023-12-02 +======= +* Properly fix crash in igbinary_unserialize_object_enum_case with opcache protected memory and non-constant value. (#380) + +3.2.14 2023-02-06 +======= +* Fix build error in PHP 8.3-dev +* Fix test expectation errors in php 8.3-dev due to change to php's TypeErrors. + +3.2.13 2023-02-02 +======= + +* Speed up unserialization of typed properties by reducing hash table collisions when looking up property reference info. + +3.2.12 2022-11-07 +======= + +* Fix symbol error seen in php 8.2.0 loading zend_class_unserialize_deny, due to failing to load a header defining a macro. + +3.2.11 2022-11-06 +======= +* Fix a bug that could prevent objects/arrays with reference cycles from being properly garbage collected. +* Fix bugs in unserializing PHP references to values found in php 7.4 typed properties (#363) + +3.2.10 2022-11-06 +======= + +* Add a macro that callers can use to check if igbinary will accept the header for data being unserialized. +* Fix bug preventing the unserialization of data containing representations of strings larger than 4GB. + +3.2.9 2022-10-17 +======= + +* Fix invalid release artifact name in job to build dlls for https://github.com/igbinary/igbinary + +3.2.8 2022-10-17 +======= + +* Fix invalid release artifact name in job to build dlls for https://github.com/igbinary/igbinary + +3.2.8 2022-10-16 +======= + +* Reduce excessive inlining to reduce shared library size. +* Miscellaneous optimizations. +* Set up CI job to build dlls on https://github.com/igbinary/igbinary - at the moment, the infrastructure used by the Windows for php team has been broken for months. + +3.2.7 2022-01-12 +======= + +* Update test expectations for php 8.2.0-dev. Add `#AllowDynamicProperties` Attribute to some tests to avoid notices. +* In php 8.1+, make igbinary_unserialize check to see if an equivalent interned string already exists when unserializing object property names, array keys, and class names + and use that instead of creating a brand new string. + (This deliberately doesn't create a new interned string if one doesn't already exist.) + (Before this change, igbinary would deduplicate strings when serializing, but would not check if strings were interned by PHP itself when unserializing) +* Avoid debug build assertion failure for `HT_ASSERT_RC1` the same way as PHP's unserialize - this is a case where ostensibly there are no other references to the array being unserialized. + +3.2.6 2021-08-11 +======= + +* Fix igbinary version found in Reflection. + +3.2.5 2021-08-07 +======= + +* Fix change in behavior introduced in 3.2.2RC1 when unserializing arrays - the internal array pointer (for `next()`, `key()`, etc) pointed past the end of the array in php 7.0-7.2. + +3.2.4 2021-07-24 +======= + +* Forbid serializing classes that deny serialization/unserialization (anonymous classes, CURLFile, etc.) even when subclasses implement '__serialize' and '__unserialize' + +3.2.3 2021-06-09 +======= + +* Fix build for php 8.1 after changes to enum internals. +* Update tests to suppress deprecations in php 8.1 and support run-tests.php changes in php 8.1 +* Don't emit a notice when unserialize_callback_func causes igbinary_unserialize to throw https://bugs.php.net/bug.php?id=81118 + +3.2.2 2021-04-18 +======= + +* Eliminate impossible/redundant checks. +* Add a new type code for serialization and unserialization of PHP strings that are larger than 4GB. +* Add additional checks for overflow when serializing extremely large data structures. + (e.g. serializing more than 2**32 strings or 2**32 objects/references/arrays) +* Support serializing and unserializing php 8.1 enums (can only be unserialized in php 8.1+) + +3.2.2RC1 2021-01-11 +======= + +* Update php version check to allow igbinary to be statically built in PHP 8.0+ +* Fix bug in out of memory error handling in __sleep, slightly speed up serializing with __sleep. +* Continue serializing remaining properties if a missing property name is returned from __sleep. +* Speed up serializing by optimizing for the case where there is no memory manager override. + When there is a memory manager override, only use that for allocating the string to return. + (benchmarks/serialize-scalar-int.b.php showed a speedup from 0.22 to 0.18 seconds for repeated serialization of a single scalar, + and from 0.186 to 0.180 seconds for benchmarks/serialize-stringarray.b.php for an array of strings) +* Speed up unserializing arrays in php 7.2-8.0 by adding optimized code for finding the hash bucket of + a string/integer key of an array, or creating a placeholder if it does not already exist. + +3.2.1 2020-12-27 +======= +* Fix crash when unserializing if __serialize was defined but __unserialize was undefined in php 8.0+ (due to typo). + +3.2.0 2020-12-26 +======= + +* Use PHP's shared empty array instance when unserializing empty arrays in php 7.3+. + (helps slightly with memory usage when repeatedly unserializing, + when removing elements from arrays before unserializing them, + or when serializing values including an empty array that was unserialized) +* Emit a deprecation notice when serializing resources. + PHP itself is converting many resources to objects that throw an Error on serialization attempts. + Continue to represent resources as null in the serialized data. +* Fix memory management bug when unserializing invalid data (duplicate properties in objects (e.g. from `__sleep`) or duplicate fields in arrays (impossible for valid data)). +* Speed up calls to `__serialize`/`__unserialize` in php 8.0+. +* Fix error messages for unserialize_callback_func: make messages properly refer to the autoload function. +* Optimize unserializing alternative names for private/protected properties that were previously public. + +3.1.6 2020-10-08 +======= + +* Fix build failure with older C standard (e.g. building on CentOS 6). +* Otherwise, identical to 3.1.6RC1. + +3.1.6RC1 2020-10-07 +======= + +* Fix igbinary_serialize incorrectly deduplicating arrays/objects/references when they were garbage collected/freed during serialization. + +3.1.5 2020-09-02 +======= + +* Update unit test expectation to match behavior in php 8 due to changes in php's handling of cyclic references in arrays. +* Support API changes in php 8.0.0beta3. + +3.1.4 2020-07-05 +======= + +* Fix unserialization of PHP references to internal/user-defined classes using PHP 7.4's `__unserialize` (e.g. `ArrayObject`) + +3.1.3 2020-07-04 +======= + +* Properly serialize reference groups of size 1 (these can be created by array_walk_recursive and other functions). + Note that this does not fix the general case where values not being serialized are in the same reference group as a value being serialized. +* PHP 8.0 compatibility fixes. + +3.1.2 2020-01-16 +======= + +* Speed up object, array, reference, and string serialization. +* Speed up unserializing integers between 0 and 65535 (as values and array keys). +* Speed up unserializing objects with declared properties. + +3.1.1 2020-01-16 +======= + +* Fix bug causing incorrect serialization for 1 in 2**32 strings on 64-bit php installations when string hashes collide. + (https://github.com/igbinary/igbinary/issues/260) + +3.1.1a1 2020-01-11 +======= + +* Throw when an uninitialized php 7.4 typed property is included in the result of __sleep(), + instead of emitting a notice and attempting to represent the unset/uninitialized value as null (#258). + See https://bugs.php.net/bug.php?id=79002 + + Uninitialized properties without types (from __sleep) continue to cause igbinary to emit notices and are represented as null. + +3.1.0 2019-12-27 +======= + +* Same as 3.1.0b4. + +3.1.0b4 2019-12-20 +======= + +* Don't call __destruct for objects where deferred __unserialize calls were not started (e.g. due to Serializable::unserialize throwing). + +3.1.0b3 2019-12-10 +======= + +* Skip over object properties that are uninitialized or unset when serializing, instead of serializing them as null. + This is done to avoid Errors when unserializing their values for php 7.4 typed properties. + +3.1.0b2 2019-12-09 +======= + +* Fix crashes related to unserializing instances of classes with php 7.4 typed properties. + +3.1.0b1 2019-12-08 +======= + +* Support php 7.4's __serialize/__unserialize the same way serialize()/unserialize() does. + This deliberately only supports __serialize/__unserialize in php 7.4, to making switching to/from serialize()/unserialize() as straightforward as possible. + +3.0.1 2019-03-20
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/README.md
Changed
(renamed from igbinary-3.2.14/README.md)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/TECH_NOTES.md
Changed
(renamed from igbinary-3.2.14/TECH_NOTES.md)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/config.m4
Changed
(renamed from igbinary-3.2.14/config.m4)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/config.w32
Changed
(renamed from igbinary-3.2.14/config.w32)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/igbinary.h
Changed
(renamed from igbinary-3.2.14/igbinary.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/igbinary.php
Changed
(renamed from igbinary-3.2.14/igbinary.php)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/igbinary.php.ini
Changed
(renamed from igbinary-3.2.14/igbinary.php.ini)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/igbinary.spec
Changed
(renamed from igbinary-3.2.14/igbinary.spec)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/php_igbinary.h
Changed
(renamed from igbinary-3.2.14/php_igbinary.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/hash.h
Changed
(renamed from igbinary-3.2.14/src/php7/hash.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/hash_ptr.h
Changed
(renamed from igbinary-3.2.14/src/php7/hash_ptr.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/hash_si.c
Changed
(renamed from igbinary-3.2.14/src/php7/hash_si.c)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/hash_si_ptr.c
Changed
(renamed from igbinary-3.2.14/src/php7/hash_si_ptr.c)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/ig_win32.h
Changed
(renamed from igbinary-3.2.14/src/php7/ig_win32.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/igbinary.c
Added
@@ -0,0 +1,3600 @@ +/* + +----------------------------------------------------------------------+ + | See COPYING file for further copyright information | + +----------------------------------------------------------------------+ + | Author: Oleg Grenrus <oleg.grenrus@dynamoid.com> | + | See CREDITS for contributors | + +----------------------------------------------------------------------+ +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef PHP_WIN32 +# include "ig_win32.h" +#endif + +#include "php.h" +#include "php_ini.h" +#include "Zend/zend_alloc.h" +#include "Zend/zend_exceptions.h" +#include "Zend/zend_interfaces.h" +#include "Zend/zend_compile.h" /* ZEND_ACC_NOT_SERIALIZABLE */ +#include "ext/standard/info.h" +#include "ext/standard/php_var.h" + +#if PHP_VERSION_ID >= 80100 +#include "Zend/zend_enum.h" +#endif + +#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) +# include "ext/session/php_session.h" +#endif + +#include "ext/standard/php_incomplete_class.h" + +#if PHP_VERSION_ID < 70400 +#define zend_get_properties_for(struc, purpose) Z_OBJPROP_P((struc)) + +#define zend_release_properties(ht) do {} while (0) +#endif + +#if PHP_VERSION_ID < 70300 +#define zend_string_efree(s) zend_string_release((s)) +#define GC_ADDREF(p) (++GC_REFCOUNT((p))) +#endif + +#if defined(HAVE_APCU_SUPPORT) +# include "ext/apcu/apc_serializer.h" +#endif /* HAVE_APCU_SUPPORT */ + +#include "php_igbinary.h" + +#include "igbinary.h" +#include "igbinary_macros.h" + +#include <assert.h> +#include <ctype.h> + +#ifndef PHP_WIN32 +# include <inttypes.h> +# include <stdbool.h> +# include <stdint.h> +#endif + +#include <stddef.h> +#include "hash.h" +#include "hash_ptr.h" +#include "zend_alloc.h" +#include "igbinary_zend_hash.h" + +#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) +/** Session serializer function prototypes. */ +PS_SERIALIZER_FUNCS(igbinary); +#endif /* HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) */ + +#if defined(HAVE_APCU_SUPPORT) +/** Apc serializer function prototypes */ +static int APC_SERIALIZER_NAME(igbinary) (APC_SERIALIZER_ARGS); +static int APC_UNSERIALIZER_NAME(igbinary) (APC_UNSERIALIZER_ARGS); +#endif + +static zend_always_inline HashTable *HASH_OF_OBJECT(zval *p) { + ZEND_ASSERT(Z_TYPE_P(p) == IS_OBJECT); + return Z_OBJ_HT_P(p)->get_properties( +#if PHP_VERSION_ID >= 80000 + Z_OBJ_P(p) +#else + p +#endif + ); +} + +#if PHP_VERSION_ID < 70300 +#define zend_string_release_ex(s, persistent) zend_string_release((s)) + +static zend_always_inline void zval_ptr_dtor_str(zval *zval_ptr) +{ + if (Z_REFCOUNTED_P(zval_ptr) && !Z_DELREF_P(zval_ptr)) { + ZEND_ASSERT(Z_TYPE_P(zval_ptr) == IS_STRING); + ZEND_ASSERT(!ZSTR_IS_INTERNED(Z_STR_P(zval_ptr))); + ZEND_ASSERT(!(GC_FLAGS(Z_STR_P(zval_ptr)) & IS_STR_PERSISTENT)); + efree(Z_STR_P(zval_ptr)); + } +} +#endif + +#define RETURN_1_IF_NON_ZERO(cmd) \ + if (UNEXPECTED((cmd) != 0)) { \ + return 1; \ + } + +#ifdef ZEND_ACC_NOT_SERIALIZABLE +# define IGBINARY_IS_NOT_SERIALIZABLE(ce) UNEXPECTED((ce)->ce_flags & (ZEND_ACC_NOT_SERIALIZABLE | ZEND_ACC_ANON_CLASS)) +# define IGBINARY_IS_NOT_UNSERIALIZABLE(ce) IGBINARY_IS_NOT_SERIALIZABLE(ce) +#elif PHP_VERSION_ID >= 70400 +# define IGBINARY_IS_NOT_SERIALIZABLE(ce) UNEXPECTED((ce)->serialize == zend_class_serialize_deny) +# define IGBINARY_IS_NOT_UNSERIALIZABLE(ce) UNEXPECTED((ce)->unserialize == zend_class_unserialize_deny) +#else +// Because '__serialize' is not available prior to 7.4, this check is redundant. +# define IGBINARY_IS_NOT_SERIALIZABLE(ce) (0) +# define IGBINARY_IS_NOT_UNSERIALIZABLE(ce) (0) +#endif + + +/* {{{ Types */ +enum igbinary_type { + /* 00 */ igbinary_type_null, /**< Null. */ + + /* 01 */ igbinary_type_ref8, /**< Array reference. */ + /* 02 */ igbinary_type_ref16, /**< Array reference. */ + /* 03 */ igbinary_type_ref32, /**< Array reference. */ + + /* 04 */ igbinary_type_bool_false, /**< Boolean true. */ + /* 05 */ igbinary_type_bool_true, /**< Boolean false. */ + + /* 06 */ igbinary_type_long8p, /**< Long 8bit positive. */ + /* 07 */ igbinary_type_long8n, /**< Long 8bit negative. */ + /* 08 */ igbinary_type_long16p, /**< Long 16bit positive. */ + /* 09 */ igbinary_type_long16n, /**< Long 16bit negative. */ + /* 0a */ igbinary_type_long32p, /**< Long 32bit positive. */ + /* 0b */ igbinary_type_long32n, /**< Long 32bit negative. */ + + /* 0c */ igbinary_type_double, /**< Double. */ + + /* 0d */ igbinary_type_string_empty, /**< Empty string. */ + + /* 0e */ igbinary_type_string_id8, /**< String id. */ + /* 0f */ igbinary_type_string_id16, /**< String id. */ + /* 10 */ igbinary_type_string_id32, /**< String id. */ + + /* 11 */ igbinary_type_string8, /**< String. */ + /* 12 */ igbinary_type_string16, /**< String. */ + /* 13 */ igbinary_type_string32, /**< String. */ + + /* 14 */ igbinary_type_array8, /**< Array. */ + /* 15 */ igbinary_type_array16, /**< Array. */ + /* 16 */ igbinary_type_array32, /**< Array. */ + + /* 17 */ igbinary_type_object8, /**< Object. */ + /* 18 */ igbinary_type_object16, /**< Object. */ + /* 19 */ igbinary_type_object32, /**< Object. */ + + /* 1a */ igbinary_type_object_id8, /**< Object class name string id. */ + /* 1b */ igbinary_type_object_id16, /**< Object class name string id. */ + /* 1c */ igbinary_type_object_id32, /**< Object class name string id. */ + + /* 1d */ igbinary_type_object_ser8, /**< Object serialized data. */ + /* 1e */ igbinary_type_object_ser16, /**< Object serialized data. */ + /* 1f */ igbinary_type_object_ser32, /**< Object serialized data. */ + + /* 20 */ igbinary_type_long64p, /**< Long 64bit positive. */ + /* 21 */ igbinary_type_long64n, /**< Long 64bit negative. */ + + /* 22 */ igbinary_type_objref8, /**< Object reference. */ + /* 23 */ igbinary_type_objref16, /**< Object reference. */ + /* 24 */ igbinary_type_objref32, /**< Object reference. */ + + /* 25 */ igbinary_type_ref, /**< Simple reference */ + /* 26 */ igbinary_type_string64, /**< String larger than 4GB (originally, php strings had a limit of 32-bit lengths). */ + /* 27 */ igbinary_type_enum_case, /**< PHP 8.1 Enum case. */ +}; + +/* Defers calls to zval_ptr_dtor for values that are refcounted. */ +struct deferred_dtor_tracker { + zval *zvals; /**< refcounted objects and arrays to call dtor on after unserializing. See i_zval_ptr_dtor */ + size_t count; /**< count of refcounted in array for calls to dtor */ + size_t capacity; /**< capacity of refcounted in array for calls to dtor */ +}; + +/** Serializer data. + * @author Oleg Grenrus <oleg.grenrus@dynamoid.com> + */ +struct igbinary_serialize_data { + uint8_t *buffer; /**< Buffer. */ + size_t buffer_size; /**< Buffer size. */ + size_t buffer_capacity; /**< Buffer capacity. */ + bool scalar; /**< Serializing scalar. */ + bool compact_strings; /**< Check for duplicate strings. */
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/igbinary.h
Added
@@ -0,0 +1,95 @@ +/* + +----------------------------------------------------------------------+ + | See COPYING file for further copyright information | + +----------------------------------------------------------------------+ + | Author: Oleg Grenrus <oleg.grenrus@dynamoid.com> | + | See CREDITS for contributors | + +----------------------------------------------------------------------+ +*/ + +#ifndef IGBINARY_H +#define IGBINARY_H +#include <stdint.h> + +/* Forward declarations. */ +struct zval; + +/* Constants and constant macros */ +/** Binary protocol version of igbinary. */ +#define IGBINARY_FORMAT_VERSION 0x00000002 + +#define PHP_IGBINARY_VERSION "3.2.15" + +/* Macros */ + +#ifdef PHP_WIN32 +# if defined(IGBINARY_EXPORTS) || (!defined(COMPILE_DL_IGBINARY)) +# define IGBINARY_API __declspec(dllexport) +# elif defined(COMPILE_DL_IGBINARY) +# define IGBINARY_API __declspec(dllimport) +# else +# define IGBINARY_API /* nothing special */ +# endif +#elif defined(__GNUC__) && __GNUC__ >= 4 +# define IGBINARY_API __attribute__ ((visibility("default"))) +#else +# define IGBINARY_API /* nothing special */ +#endif + +/** Struct that contains pointers to memory allocation and deallocation functions. + * @see igbinary_serialize_data + */ +struct igbinary_memory_manager { + void *(*alloc)(size_t size, void *context); + void *(*realloc)(void *ptr, size_t new_size, void *context); + void (*free)(void *ptr, void *context); + void *context; +}; + +/** Serialize zval. + * Return buffer is allocated by this function with emalloc. + * @paramout ret Return buffer + * @paramout ret_len Size of return buffer + * @paramin z Variable to be serialized + * @return 0 on success, 1 elsewhere. + */ +IGBINARY_API int igbinary_serialize(uint8_t **ret, size_t *ret_len, zval *z); + +/** Serialize zval. + * Return buffer is allocated by this function with emalloc. + * @paramout ret Return buffer + * @paramout ret_len Size of return buffer + * @paramin z Variable to be serialized + * @paramin memory_manager Pointer to the structure that contains memory allocation functions. + * @return 0 on success, 1 elsewhere. + */ +IGBINARY_API int igbinary_serialize_ex(uint8_t **ret, size_t *ret_len, zval *z, struct igbinary_memory_manager *memory_manager); + +/** Unserialize to zval. + * @paramin buf Buffer with serialized data. + * @paramin buf_len Buffer length. + * @paramout z Unserialized zval + * @return 0 on success, 1 elsewhere. + */ +IGBINARY_API int igbinary_unserialize(const uint8_t *buf, size_t buf_len, zval *z); + +static zend_always_inline int _igbinary_has_valid_header(const uint8_t *buf, size_t buf_len) { + if (buf_len < 5) { + /* Must have 4 header bytes and at least one byte of data */ + return 0; + } + /* Unserialize 32bit value the same way on big-endian and little-endian architectures. + * This compiles to a load+optional bswap when compiler optimizations are enabled. */ + const uint32_t ret = + ((uint32_t)(buf0) << 24) | + ((uint32_t)(buf1) << 16) | + ((uint32_t)(buf2) << 8) | + ((uint32_t)(buf3)); + return ret == 1 || ret == 2; +} +/** This is defined as a macro and a static C function + * to allow callers to use the macro from newer igbinary versions even with older igbinary installations. */ +#define igbinary_has_valid_header(buf, buf_len) _igbinary_has_valid_header((buf), (buf_len)) + + +#endif /* IGBINARY_H */
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/igbinary_bswap.h
Changed
(renamed from igbinary-3.2.14/src/php7/igbinary_bswap.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/igbinary_macros.h
Changed
(renamed from igbinary-3.2.14/src/php7/igbinary_macros.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/igbinary_zend_hash.h
Changed
(renamed from igbinary-3.2.14/src/php7/igbinary_zend_hash.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/src/php7/php_igbinary.h
Changed
(renamed from igbinary-3.2.14/src/php7/php_igbinary.h)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tags.sh
Changed
(renamed from igbinary-3.2.14/tags.sh)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_001.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_001.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_002.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_002.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_003.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_003.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_004.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_004.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_005.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_005.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_006.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_006.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_007.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_007.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_008.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_008.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_009.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_009.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_010.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_010.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_011.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_011.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_012.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_012.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_013.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_013.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_013_php8.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_013_php8.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_014.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_014.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_014_php8.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_014_php8.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_015.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_015.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_016.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_016.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_016_php8.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_016_php8.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_017.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_017.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_018.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_018.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_019.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_019.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_020.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_020.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_021.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_021.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/__serialize_022.phpt
Changed
(renamed from igbinary-3.2.14/tests/__serialize_022.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_001.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_001.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_002.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_002.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_003.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_003.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_004.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_004.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_005.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_005.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_006.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_006.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_007.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_007.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_008.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_008.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_009.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_009.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_009b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_009b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_009b_php8.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_009b_php8.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_010.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_010.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_012.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_012.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_013.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_013.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_014.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_014.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_015.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_015.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_015b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_015b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_015c.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_015c.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_016.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_016.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_017.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_017.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_018.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_018.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_019.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_019.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_020.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_020.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_021.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_021.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_022.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_022.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_022_php82.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_022_php82.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_023.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_023.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_024.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_024.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_025.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_025.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_025b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_025b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_026.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_026.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_026_php8.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_026_php8.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_026b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_026b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_026b_php8.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_026b_php8.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_027.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_027.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_028.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_028.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_029.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_029.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_030_php7.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_030_php7.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_030_php72.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_030_php72.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_031.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_031.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_032.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_032.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_033.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_033.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_034.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_034.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_040.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_040.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_041.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_041.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_043.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_043.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_044.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_044.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_045b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_045b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_045c.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_045c.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_046.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_046.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_046b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_046b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_046c.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_046c.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_046d.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_046d.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_047.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_047.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_048.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_048.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_048b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_048b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_049.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_049.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_049b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_049b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_050.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_050.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_051.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_051.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_052.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_052.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_053.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_053.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_054.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_054.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_055.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_055.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_057.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_057.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_058.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_058.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_058b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_058b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_059.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_059.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_060.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_060.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_061.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_061.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_062.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_062.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_063_php7.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_063_php7.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_063_php72.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_063_php72.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_064.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_064.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_065.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_065.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_066.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_066.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_067.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_067.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_068.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_068.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_069.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_069.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_070.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_070.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_071.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_071.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_071_php8.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_071_php8.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_072.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_072.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_073.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_073.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_074.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_074.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_075.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_075.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_076.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_076.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_077.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_077.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_078.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_078.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_079.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_079.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_080.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_080.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_081.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_081.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_082.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_082.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_082_php74.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_082_php74.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_083.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_083.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_084.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_084.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_084b.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_084b.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_085.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_085.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_086.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_086.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_087.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_087.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_088.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_088.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_089.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_089.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_089_32bit.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_089_32bit.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_090.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_090.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_091.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_091.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_092.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_092.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_093.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_093.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_094.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_094.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_095.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_095.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_096.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_096.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_097.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_097.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_098.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_098.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_099.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_099.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_bug54662.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_bug54662.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_bug72134.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_bug72134.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_enums_1.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_enums_1.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_enums_2.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_enums_2.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_enums_3.phpt
Added
@@ -0,0 +1,20 @@ +--TEST-- +Test unserializing valid enums inferring value +--SKIPIF-- +<?php if (PHP_VERSION_ID < 80100) { echo "skip enums requires php 8.1"; } ?> +--FILE-- +<?php +enum X: string { + const Y = 'a'; + case X = self::Y . 'b'; +} +$value = urldecode('%00%00%00%02%17%01X%27%0E%00'); +var_dump(igbinary_unserialize($value)); +$ser = igbinary_serialize(X::X); +echo urlencode($ser), "\n"; +var_dump(X::X->value); +?> +--EXPECT-- +enum(X::X) +%00%00%00%02%17%01X%27%0E%00 +string(2) "ab"
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_enums_3_php83.phpt
Added
@@ -0,0 +1,22 @@ +--TEST-- +Test unserializing valid enums inferring value +--SKIPIF-- +<?php if (PHP_VERSION_ID < 80300) { echo "skip non-compile time constant in enums requires php 8.3"; } ?> +--FILE-- +<?php + +enum X: string { + case X = X; +} +$x = 'X'; +define('X', "dynamic$x"); +$value = urldecode('%00%00%00%02%17%01X%27%0E%00'); +var_dump(igbinary_unserialize($value)); +$ser = igbinary_serialize(X::X); +echo urlencode($ser), "\n"; +var_dump(X::X->value); +?> +--EXPECT-- +enum(X::X) +%00%00%00%02%17%01X%27%0E%00 +string(8) "dynamicX"
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/igbinary_unserialize_v1_compatible.phpt
Changed
(renamed from igbinary-3.2.14/tests/igbinary_unserialize_v1_compatible.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/php82_suppress_dynamic_properties_warning.inc
Changed
(renamed from igbinary-3.2.14/tests/php82_suppress_dynamic_properties_warning.inc)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/sleep_mangled_name_clash.phpt
Changed
(renamed from igbinary-3.2.14/tests/sleep_mangled_name_clash.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/typed_property_ref_assignment_failure.phpt
Changed
(renamed from igbinary-3.2.14/tests/typed_property_ref_assignment_failure.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/typed_property_ref_overwrite.phpt
Changed
(renamed from igbinary-3.2.14/tests/typed_property_ref_overwrite.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/typed_property_ref_overwrite2.phpt
Changed
(renamed from igbinary-3.2.14/tests/typed_property_ref_overwrite2.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/typed_property_refs.phpt
Changed
(renamed from igbinary-3.2.14/tests/typed_property_refs.phpt)
View file
igbinary-3.2.15.tgz/igbinary-3.2.15/tests/typed_property_refs_php74.phpt
Changed
(renamed from igbinary-3.2.14/tests/typed_property_refs_php74.phpt)
View file
igbinary-3.2.14.tgz/package.xml -> igbinary-3.2.15.tgz/package.xml
Changed
@@ -31,10 +31,10 @@ <email>tandre@php.net</email> <active>yes</active> </lead> - <date>2023-02-26</date> - <time>14:16:55</time> + <date>2023-12-02</date> + <time>17:09:57</time> <version> - <release>3.2.14</release> + <release>3.2.15</release> <api>1.4.0</api> </version> <stability> @@ -43,8 +43,7 @@ </stability> <license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license> <notes> -* Fix build error in PHP 8.3-dev -* Fix test expectation errors in php 8.3-dev due to change to php's TypeErrors. +* Fix crash in igbinary_unserialize_object_enum_case with opcache protected memory and non-constant value. </notes> <contents> <dir name="/"> @@ -190,6 +189,8 @@ <file md5sum="14f0abcb3d40c256a9bfe6ac6f5e827f" name="tests/igbinary_bug72134.phpt" role="test" /> <file md5sum="8f793177f481a6e27f4a17df0539c2b0" name="tests/igbinary_enums_1.phpt" role="test" /> <file md5sum="b1f3f8f2dc5800af868b1a12d9bb00db" name="tests/igbinary_enums_2.phpt" role="test" /> + <file md5sum="2c2105d0fc803e2a1cd72ac2020a5fbf" name="tests/igbinary_enums_3.phpt" role="test" /> + <file md5sum="d4420d0fc2edc75b7e6f52875cbb45d8" name="tests/igbinary_enums_3_php83.phpt" role="test" /> <file md5sum="765b9fac671dd1b63a0f85e892942f0e" name="tests/igbinary_unserialize_v1_compatible.phpt" role="test" /> <file md5sum="fbdf87520aaf2752cb324a5bf77c0135" name="tests/php82_suppress_dynamic_properties_warning.inc" role="test" /> <file md5sum="3fd6014f0eb7f4f03b7e87e7097a5cdf" name="tests/sleep_mangled_name_clash.phpt" role="test" /> @@ -206,8 +207,8 @@ <file md5sum="040cbb823aeb4f3aa9d50095b731ce18" name="src/php7/hash_ptr.h" role="src" /> <file md5sum="235f0c49ed0cd5eb82ec5d94a9047eeb" name="src/php7/hash_si.c" role="src" /> <file md5sum="02dfee8362f6cd60c8782542d32a52d4" name="src/php7/hash_si_ptr.c" role="src" /> - <file md5sum="06bb39fd038d848d80108e3aa9de1c5c" name="src/php7/igbinary.c" role="src" /> - <file md5sum="1390bd622daa562bbe64499ac16c55b5" name="src/php7/igbinary.h" role="src" /> + <file md5sum="84853e21e300a5a0ed12db6051431a9c" name="src/php7/igbinary.c" role="src" /> + <file md5sum="0cd5674c8758ae51e84cd865555f7eaa" name="src/php7/igbinary.h" role="src" /> <file md5sum="121a1addcb6bf59294641b3b02740354" name="src/php7/igbinary_bswap.h" role="src" /> <file md5sum="4fd17c9f79b2c2e7d1d141a20710a680" name="src/php7/igbinary_macros.h" role="src" /> <file md5sum="d0728438589d9a7181bfabfe97636a3b" name="src/php7/igbinary_zend_hash.h" role="src" /> @@ -221,7 +222,7 @@ <file md5sum="940c2a19feb9b8f3970813d20b0d34a7" name="CREDITS" role="doc" /> <file md5sum="ff25239bff014c5104eeb0eeb6250ec3" name="README.md" role="doc" /> <file md5sum="e06f45513317d140d28e5e4cf56c7ff7" name="TECH_NOTES.md" role="doc" /> - <file md5sum="69cbee6a3f8a54925aa9398483f6e2c2" name="NEWS" role="doc" /> + <file md5sum="0da9351fafc3898a5e2bbea8d6ff5cec" name="NEWS" role="doc" /> </dir> </contents> <dependencies> @@ -238,6 +239,23 @@ <extsrcrelease /> <changelog> <release> + <date>2023-02-26</date> + <time>16:00:00</time> + <version> + <release>3.2.14</release> + <api>1.4.0</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license> + <notes> +* Fix build error in PHP 8.3-dev +* Fix test expectation errors in php 8.3-dev due to change to php's TypeErrors. + </notes> + </release> + <release> <date>2023-02-02</date> <time>16:00:00</time> <version>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.