projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
redo PHP 8 compatibility
[m6w6/ext-pq]
/
src
/
php_pqconn.c
diff --git
a/src/php_pqconn.c
b/src/php_pqconn.c
index da07ff339a7e1b89dfe9d9f97be983a897e2e592..fd5ec64b8f60084e2010836188ffcca484a1f666 100644
(file)
--- a/
src/php_pqconn.c
+++ b/
src/php_pqconn.c
@@
-515,9
+515,9
@@
static ZEND_RESULT_CODE php_pqconn_update_socket(zval *zobj, php_pqconn_object_t
retval = FAILURE;
}
#if PHP_VERSION_ID >= 80000
retval = FAILURE;
}
#if PHP_VERSION_ID >= 80000
- zend_
get_std_object_handlers()->
write_property(Z_OBJ_P(zobj), Z_STR(zmember), &zsocket, NULL);
+ zend_
std_
write_property(Z_OBJ_P(zobj), Z_STR(zmember), &zsocket, NULL);
#else
#else
- zend_
get_std_object_handlers()->
write_property(zobj, &zmember, &zsocket, NULL);
+ zend_
std_
write_property(zobj, &zmember, &zsocket, NULL);
#endif
zval_ptr_dtor(&zsocket);
zval_ptr_dtor(&zmember);
#endif
zval_ptr_dtor(&zsocket);
zval_ptr_dtor(&zmember);