tars-extension
tars-extension copied to clipboard
tars打包解包的扩展
此次 PR 修复 #16 由于没有其他分支可以提交 PR,因此我只好提交到 master 相应修改可能无法兼容 PHP 8 以下版本,建议新增分支
服务迁移 php8,卡在这里了... 或者说有没有 不用 tars-extension 的方案,慢就慢点 :
```shell #8 963.3 Cloning into '/root/Tars/php/tars2php'... #8 968.9 In file included from /root/Tars/php/tars-extension/./include/php_tupapi.h:37, #8 968.9 from /root/Tars/php/tars-extension/tupapi.c:32: #8 968.9 /root/Tars/php/tars-extension/./include/php7_wrapper.h: In function 'my_zend_read_property': #8 968.9 /root/Tars/php/tars-extension/./include/php7_wrapper.h:79:42: warning: passing argument 2...
/Applications/MAMP/bin/php/php7.4.9/include/php/ext/tars-extension/tupapi.c:429:14: error: expected ';' after expression ulong num_key; ^ ; /Applications/MAMP/bin/php/php7.4.9/include/php/ext/tars-extension/tupapi.c:429:9: error: use of undeclared identifier 'ulong' ulong num_key; ^ /Applications/MAMP/bin/php/php7.4.9/include/php/ext/tars-extension/tupapi.c:429:15: error: use of undeclared identifier 'num_key' ulong num_key; ^...
扩展安装错误
该扩展在php7.4编译会出错。有没有支持php7.4的计划?