Skip to content

Commit

Permalink
Merge branch 'PHP-7.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jun 3, 2017
2 parents c947731 + 6af1d7a commit d162147
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ext/wddx/wddx.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,6 @@ static void php_wddx_serialize_object(wddx_packet *packet, zval *obj)
*/
if (call_user_function_ex(CG(function_table), obj, &fname, &retval, 0, 0, 1, NULL) == SUCCESS) {
if (!Z_ISUNDEF(retval) && (sleephash = HASH_OF(&retval))) {
PHP_CLASS_ATTRIBUTES;

PHP_SET_CLASS_ATTRIBUTES(obj);

php_wddx_add_chunk_static(packet, WDDX_STRUCT_S);
snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR);
php_wddx_add_chunk(packet, tmp_buf);
Expand Down

0 comments on commit d162147

Please sign in to comment.