扫码关注官方订阅号
请问:在php扩展中用zend_declare_class_constant_stringl定义的常量属性 怎么访问? 我用zend_read_static_property和zend_read_property都不行?
zend_declare_class_constant_stringl
zend_read_static_property
zend_read_property
光阴似箭催人老,日月如移越少年。
ZEND_API int zend_get_constant(const char *name, uint name_len, zval *result TSRMLS_DC); ZEND_API int zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC);
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
光阴似箭催人老,日月如移越少年。