PHP(外文名:PHP: Hypertext Preprocessor,中文名:“超文本预处理器”)是一种通用开源脚本语言。语法吸收了C语言、Java和Perl的特点,利于学习,使用广泛,主要适用于Web开发领域。PHP 独特的语法混合了C、Java、Perl以及PHP自创的语法。它可以比CGI或者Perl更快速地执行动态网页。
用PHP做出的动态页面与其他的编程语言相比,PHP是将程序嵌入到HTML(标准通用标记语言下的一个应用)文档中去执行,执行效率比完全生成HTML标记的CGI要高许多;PHP还可以执行编译后代码,编译可以达到加密和优化代码运行,使代码运行更快。
PHP 发布了三个更新版本,这三个版本主要都是安全方面的更新,详细改进记录如下:
Version 7.1.28
04 Apr 2019
- EXIF:
- Fixed bug #77753 (Heap-buffer-overflow in php_ifd_get32s).
- Fixed bug #77831 (Heap-buffer-overflow in exif_iif_add_value).
- SQLite3:
- Added sqlite3.defensive INI directive.
Version 7.3.4
04 Apr 2019
- Core:
- Fixed bug #77738 (Nullptr deref in zend_compile_expr).
- Fixed bug #77660 (Segmentation fault on break 2147483648).
- Fixed bug #77652 (Anonymous classes can lose their interface information).
- Fixed bug #77345 (Stack Overflow caused by circular reference in garbage collection).
- Fixed bug #76956 (Wrong value for 'syslog.filter' documented in php.ini).
- Apache2Handler:
- Fixed bug #77648 (BOM in sapi/apache2handler/php_functions.c).
- Bcmath:
- Fixed bug #77742 (bcpow() implementation related to gcc compiler optimization).
- CLI Server:
- Fixed bug #77722 (Incorrect IP set to $_SERVER['REMOTE_ADDR'] on the localhost).
- COM:
- Fixed bug #77578 (Crash when php unload).
- EXIF:
- Fixed bug #77753 (Heap-buffer-overflow in php_ifd_get32s).
- Fixed bug #77831 (Heap-buffer-overflow in exif_iif_add_value).
- FPM:
- Fixed bug #77677 (FPM fails to build on AIX due to missing WCOREDUMP).
- GD:
- Fixed bug #77700 (Writing truecolor images as GIF ignores interlace flag).
- MySQLi:
- Fixed bug #77597 (mysqli_fetch_field hangs scripts).
- Opcache:
- Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical successors).
- PCRE:
- Fixed bug #76127 (preg_split does not raise an error on invalid UTF-8).
- Phar:
- Fixed bug #77697 (Crash on Big_Endian platform).
- phpdbg:
- Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match actual aliases).
- sodium:
- Fixed bug #77646 (sign_detached() strings not terminated).
- SQLite3:
- Added sqlite3.defensive INI directive.
- Standard:
- Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper).
- Fixed bug #77669 (Crash in extract() when overwriting extracted array).
- Fixed bug #76717 (var_export() does not create a parsable value for PHP_INT_MIN).
- Fixed bug #77765 (FTP stream wrapper should set the directory as executable).
Version 7.2.17
- Core:
- Fixed bug #77738 (Nullptr deref in zend_compile_expr).
- Fixed bug #77660 (Segmentation fault on break 2147483648).
- Fixed bug #77652 (Anonymous classes can lose their interface information).
- Fixed bug #77676 (Unable to run tests when building shared extension on AIX).
- Bcmath:
- Fixed bug #77742 (bcpow() implementation related to gcc compiler optimization).
- COM:
- Fixed bug #77578 (Crash when php unload).
- Date:
- Fixed bug #50020 (DateInterval:createDateFromString() silently fails).
- Fixed bug #75113 (Added DatePeriod::getRecurrences() method).
- EXIF:
- Fixed bug #77753 (Heap-buffer-overflow in php_ifd_get32s).
- Fixed bug #77831 (Heap-buffer-overflow in exif_iif_add_value).
- FPM:
- Fixed bug #77677 (FPM fails to build on AIX due to missing WCOREDUMP).
- GD:
- Fixed bug #77700 (Writing truecolor images as GIF ignores interlace flag).
- MySQLi:
- Fixed bug #77597 (mysqli_fetch_field hangs scripts).
- Opcache:
- Fixed bug #77691 (Opcache passes wrong value for inline array push assignments).
- Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical successors).
- phpdbg:
- Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match actual aliases).
- sodium:
- Fixed bug #77646 (sign_detached() strings not terminated).
- SQLite3:
- Added sqlite3.defensive INI directive.
- Standard:
- Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper).
- Fixed bug #77669 (Crash in extract() when overwriting extracted array).
- Fixed bug #76717 (var_export() does not create a parsable value for PHP_INT_MIN).
- Fixed bug #77765 (FTP stream wrapper should set the directory as executable).
更新日志:https://www.php.net/ChangeLog-7.php
80%的人都看过的文章
- PHP 5.6.38、7.0.32、7.1.22和7.2.10发布
- PHP内容管理系统Joomla 4 即将发布
- PHP 7.3.0 RC6 发布,下个版本 7.3.0 (GA) 将于12月发布
- 2018年必会的5种编程语言
- 编程语言Go首发测试版Go 1.11 Beta 1
- 黑客最喜欢的9大处理数据的编程语言
- Stack Overflow调查:哪门编程语言最赚钱?
- PHP 7.3.8, 7.2.21 和 7.1.31 发布,修复安全问题
课后答案张九龄《望月怀远》阅读答案及全诗翻译赏析
望月怀远张九龄海上生明月,天涯共此时。情人怨遥夜,竟夕起相思。灭烛怜光满,披衣觉露滋。不堪盈手赠,还寝梦佳期。注释⑴怀远:怀念远方的亲人。⑵最前面两句:辽阔无边的大海上升起一轮明月,使人想起了远在天涯……
课后答案王安石《次韵唐公三首其三旅思》阅读答案
次韵唐公三首其三旅思王安石此身南北老,愁见问征途。地大蟠三楚,天低入五湖。看云心共远,步月影同孤。慷慨秋风起,悲歌不为鲈②。注:①张壤,字唐公,北宋嘉佑六年契丹国母生辰使,王安石友人。②《晋书&mid……
笔记心得各级干部学习执法为民心得体会
“各级干部都要牢固树立全心全意为人民服务的思想和真心实意对人民负责的精神,做到心里装着群众,凡事想着群众,工作依靠群众,一切为了群众。要坚持权为民所用,情为民所系,利为民所谋,为群众诚……
笔记心得寒假大学生社会实践心得体会
自从走进了大学,就业问题就似乎总是围绕在我们的身边,成了说不完的话题。在现今社会,招聘会上的大字报都总写着“有经验者优先”,可还在校园里面的我们这班学子社会经验又会拥有多少……
协议书济南市某美容院转让协议第2篇
__________美容院根据中华人民共和国国务院劳动法规和________市私营企业劳动管理实施办法,结合本美容院经营的具体所需今制订此劳动合同书。 双……
剧本劳模宣传短剧剧本《阿咪也想当劳模》
1、机械厂门卫处,日,外。 清早,机械厂班长李玉伟开着别克赛欧小汽车驶进厂区,门卫室内的保安一边按开电动门,一边朝李玉伟摆手。 李玉伟:(摇下车窗,笑着打招呼)小秦,早。 保安小秦:(笑着)……
教程灰雀说课稿
灰雀说课稿 灰雀说课稿(一): 《灰雀》说课稿 一、说教材 《灰雀》是义务教育课程标准实验教科书,小学语文第五册第二单元的一篇讲读课文。这篇课文记叙了列宁在莫斯科郊外养病期间爱护灰雀的故事。列……
课件“吴隐之字处默,濮阳鄄城人”阅读答案及原文
吴隐之字处默,濮阳鄄城人。美姿容,善谈论,博涉文史,以儒雅标名。弱冠而介立,有清操,虽儋石无储,不取非其道。事母孝谨,及其执丧,哀毁过礼。与太常韩康伯邻居,康伯母,贤明妇人也,每闻隐之哭声,辍餐投箸,……