diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-28 10:01:46 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-28 10:01:46 +0200 |
commit | c47011ba057f49aa548302f3647e5a4e4ffaff85 (patch) | |
tree | 56c78f334dc5007458a1a9e3aa105dede6e84355 /ext/standard/php_incomplete_class.h | |
parent | 1d0f55315e08d0fd7a9f9f4e7c4595e3f9d7a7f4 (diff) | |
download | php-git-c47011ba057f49aa548302f3647e5a4e4ffaff85.tar.gz |
Use zend_string when storing incomplete class name
No need to copy the string here...
Diffstat (limited to 'ext/standard/php_incomplete_class.h')
-rw-r--r-- | ext/standard/php_incomplete_class.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_incomplete_class.h b/ext/standard/php_incomplete_class.h index c2cda0d6f0..f36fd43cfc 100644 --- a/ext/standard/php_incomplete_class.h +++ b/ext/standard/php_incomplete_class.h @@ -51,7 +51,7 @@ extern "C" { PHPAPI void php_register_incomplete_class(void); PHPAPI zend_string *php_lookup_class_name(zend_object *object); -PHPAPI void php_store_class_name(zval *object, const char *name, size_t len); +PHPAPI void php_store_class_name(zval *object, zend_string *name); #ifdef __cplusplus }; |