php-go icon indicating copy to clipboard operation
php-go copied to clipboard

PHP 7.2.0 zend_ini 类型修改

Open sun8911879 opened this issue 8 years ago • 1 comments

github.com/kitech/php-go/zend

../../github.com/kitech/php-go/zend/zend_ini.go:123: cannot use C.uint(len(name)) (type C.uint) as type C.uint32_t in assignment ../../github.com/kitech/php-go/zend/zend_ini.go:124: cannot use C.uint(len(value)) (type C.uint) as type C.uint32_t in assignment ../../github.com/kitech/php-go/zend/zend_ini.go:128: cannot use C.uint(len(name) + 1) (type C.uint) as type C.uint32_t in assignment ../../github.com/kitech/php-go/zend/zend_ini.go:129: cannot use C.uint(len(value) + 1) (type C.uint) as type C.uint32_t in assignment PHP 7.2.0 类型不兼容 PHP 7.1.12 测试没有问题

sun8911879 avatar Dec 20 '17 07:12 sun8911879

modify github.com/kitech/php-go/zend/zend_ini.go and chang C.uint32_t to C.uint. 把里面的 C.uint32_t 替换成C.uint

panxl6 avatar Nov 04 '18 04:11 panxl6