Merge branch 'PHP-7.3'

* PHP-7.3:
  Use zend_empty_array
This commit is contained in:
Christoph M. Becker 2018-11-26 15:35:30 +01:00
commit 7cad44be11
3 changed files with 1 additions and 7 deletions

View File

@ -293,8 +293,6 @@ PHP_MINIT_FUNCTION(com_dotnet)
{
zend_class_entry ce, *tmp;
zend_hash_init(&com_dotnet_object_properties, 0, NULL, NULL, 0);
php_com_wrapper_minit(INIT_FUNC_ARGS_PASSTHRU);
php_com_persist_minit(INIT_FUNC_ARGS_PASSTHRU);

View File

@ -27,8 +27,6 @@
#include "php_com_dotnet_internal.h"
#include "Zend/zend_exceptions.h"
const HashTable com_dotnet_object_properties;
static zval *com_property_read(zval *object, zval *member, int type, void **cahce_slot, zval *rv)
{
php_com_dotnet_object *obj;
@ -231,7 +229,7 @@ static HashTable *com_properties_get(zval *object)
* infinite recursion when the hash is displayed via var_dump().
* Perhaps it is best to leave it un-implemented.
*/
return &com_dotnet_object_properties;
return &zend_empty_array;
}
static void function_dtor(zval *zv)

View File

@ -29,8 +29,6 @@
#include "zend_ts_hash.h"
extern const HashTable com_dotnet_object_properties;
typedef struct _php_com_dotnet_object {
zend_object zo;