php-go
php-go copied to clipboard
PHP 7.2.0 zend_ini 类型修改
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 测试没有问题
modify github.com/kitech/php-go/zend/zend_ini.go and chang C.uint32_t to C.uint.
把里面的 C.uint32_t 替换成C.uint。