PHP 7.0.8 正式发布了。
下载地址:http://php.net/distributions/php-7.0.8.tar.gz
改进日志如下:
23 Jun 2016 PHP 7.0.8 - Core: . Fixed bug #72221 (segfault, past-the-end access). (Lauri Kenttä) . Fixed bug #72218 (If host name cannot be resolved then PHP 7 crashes). (Esminis at esminis dot lt) - FPM: . Fixed bug #72308 (fastcgi_finish_request and logging environment variables). (Laruence) - GD: . Fixed bug #72337 (invalid dimensions can lead to crash) (Pierre) - Intl: . Fixed bug #64524 (Add intl.use_exceptions to php.ini-*). (Anatol) - PCRE: . Fixed bug #72143 (preg_replace uses int instead of size_t). (Joe) - PDO_pgsql: . Fixed bug #71573 (Segfault (core dumped) if paramno beyond bound). (Laruence) . Fixed bug #72294 (Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor). (Anatol) - Phpdbg: . Fixed bug #72284 (phpdbg fatal errors with coverage). (Bob) - Postgres: . Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free). (Laruence) . Fixed bug #72197 (pg_lo_create arbitrary read). (Anatol) - Standard: . Fixed bug #72369 (array_merge() produces references in PHP7). (Dmitry) . Fixed bug #72300 (ignore_user_abort(false) has no effect). (Laruence) . Fixed bug #72229 (Wrong reference when serialize/unserialize an object). (Laruence) . Fixed bug #72193 (dns_get_record returns array containing elements of type 'unknown'). (Laruence) . Fixed bug #72017 (range() with float step produces unexpected result). (Thomas Punt) - XML: . Fixed bug #72206 (xml_parser_create/xml_parser_free leaks mem). (Joe) - XMLRPC: . Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type). (Joe, Laruence) - Zip: . Fixed ug #72258 (ZipArchive converts filenames to unrecoverable form). (Anatol)
引用来自“ejzhang”的评论
官网下载还未更新引用来自“xiaokang9413”的评论
啥时候php可以做android开发http://my.oschina.net/eechen/blog/655689
这里可以看到鸟哥(Xinchen Hui)的工作状态哦:
https://git.php.net/?p=php-src.git;a=search;s=Xinchen+Hui;st=author
今晚回去编译最新的Android版PHP7打包到PHPDroid.APK(约5MB)给大家进行用.
http://my.oschina.net/eechen/blog/655689
我用的是用musl-cross-compilers交叉编译Android版PHP.
https://github.com/sabotage-linux/musl-cross
http://my.oschina.net/eechen/blog/679342
对于libc库,我主要进行了下面的调整:
/etc/resolv.conf: 指定DNS服务器(改为./resolv.conf)
/etc/hosts: 跳过DNS直接解析(改为./hosts)
/bin/sh: Shell位置(改为/system/bin/sh)
包含bcmath/zlib/curl/filter/gd/json/xml/mbstring/mcrypt/openssl/pcre/sqlite3/pdo等常用扩展.strip并xz后,仅为3.25MB,phpdroid.apk则为5.2MB.
引用来自“紫外線”的评论
PHP屁还是屁