仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1553|回复: 19
打印 上一主题 下一主题

[学习教程] PHP网页设计PHP 4.06 正式版宣布,修改了很多BUG,更...

[复制链接]
若相依 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-2-4 00:21:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
学习数据库了,MYSQL可算是PHP的黄金搭档了,不过,虽然话是这么说,你也可能恨不得把MYSQL给生吞活剥了,因为这一行一列的东东简直让自己头晕目眩。   PHP 4.06 正式版宣布,修改了很多BUG,加倍不乱

Fixed memory fragmention problem which could lead to web server processes growing much more than they should. (Andi, Zend Engine)
修改了内存框架毛病,他将招致web办事器处置大大超越他应当的处置量

Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value when register_globals is on. (Andrei)
更改 $HTTP_SESSION_VARS['Foo'] 和 $Foo 在 register_globals 为 on 的时分为不异的参考值

Fixed disk_free_space() and disk_total_space() under FreeBSD. (Jon)
修改了在 FreeBSD 上面的 disk_free_sapce() 和 disk_total_space()函数毛病

Fixed readfile/passthru losing resources during connection abort (Sascha)
修改了 readfile/passthru 在毗连终止时代资本丧失的成绩

Fixed bug in the mcrypt extension that caused segfaults when using a key that is too large for the used algorithm, and a bug that caused mcrypt_generic() to segfault PHP (Derick)
修改了在mcrypt 扩大中利用过大的密匙停止运算时引发的段掉败毛病,和 mcrypt_generic()中一样引发段掉败的一个毛病

Fixed getopt so that it accepts command line arguments in the form -<opt><arg> and -<opt> <arg>. (Jmoore)
修改了 getopt 可以吸收表单外面的 -<opt><arg> 和 -<opt><arg> 的号令行参数

Fixed race in writing session files (Sascha)
修改了在写 session 文件时的毛病

Fixed a possible crash in the PHP CGI when no input file is specified (Zeev)
修改了 PHP CGI 在没有指定输出文件时能够呈现的破绽

Added is_callable() function that can be used to find out whether its argument is a valid callable construct. (Andrei)
增添了 is_callable() 函数用于判别它的参数是不是是一个可挪用的布局

Fixed a rare possible crash when generating extended information. (Dmitri Dmitrienko, Zend Engine)
修改了一个在发生扩大信息时十分能够呈现的破绽

Improved virtual() to support PHP-enabled URIs. (Zeev)
加强了 virtual() 用于撑持 PHP-Enabled 地址

Fixed undefined behavior when using floating point keys in array() expressions. (Zeev, Zend Engine)
修改了在 array() 表达式外面利用浮点数关头字呈现的不决义的行动

Fixed a possible crash in case of parse errors in include files or eval statements. (Zeev, Zend Engine)
修改了在包括文件(include)或 eval 语句外面因为解析毛病能够引发的破绽

Added --with-layout configure option. (Stig)
增添了 --with-layout 设置装备摆设参数

Improved interactive mode - supports function calls, and works in multithreaded builds. (Zeev, Zend Engine)
加强的交互形式-撑持多线程布局下的函数挪用和任务

Fixed a crash bug in interactive mode. (Zeev, Zend Engine)
修改了一个交互形式里的严重bug

Added pg_last_notice() function. (Rasmus from suggestion by Dirk@rackspace.com)
增添了 pg_last_notice()函数

Fixed a bug in preg_split() that would incorrectly limit the number of results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
修改了 preg_split() 在利用 PREG_SPLIT_NO_EMPTY 标记时呈现的毛病限制了局的数目

Added connection error support to mysql_error() and mysql_errno(). (Jason)
增添了对 mysql_error() 和 mysql_errno() 对毗连毛病的撑持

Added support to getimagesize to return dimensions of BMP and PSD files. (Derick)
getimagesize 函数增添了对 BMP 和 PSD 文件前往尺寸的撑持

Added heuristic to kill stale IRC connections, message scanner caching, and nickname escaping to IRCG, suppress option to ircg_msg(), and statistics to IRCG phpinfo() output. (Sascha)
增添了启示式删除陈腐的 IRC 毗连,信息扫描器缓存,呢称转化为 IRCG, irc_msg(0 限制参数和IRCG phpinfo()输入的统计

Added Japanese multibyte string functions support. (Rui)
增添了日语多字节字符串函数撑持

Added Mac OS X "\r" line ending support. (Andi, Zend Engine)
增添了对 Mac OS 体系的 \r 行停止标志的撑持

Fixed a bug regarding the $PHP_SELF being incorrectly registered when force-cgi-redirect was not enabled. (Sterling)
修改了在没有翻开 force-cgi-redirect 的情形下,注册 $PHP_SELF 呈现的毛病

pfpro extension now supports version 3 of the Verisign SDK. (John Donagher)
pfpro 扩大撑持 Version 3 的 Verisign SDK

Udm_Cat_List and Udm_Cat_Path functions has been added.
增添了 Udm_Cat_List 和 Udm_Cat_Path 函数

Added key_exists() to check if a given key or index exists in an array or object. (David Croft)
增添了 key_exists() 用来判别给定的关头字是不是存在于数组对象外面

Modify the cURL extension to compile only with the latest cURL release. Backwards compatibility with regards to the extension api has not been broken. (Sterling)
修正了 cURL 扩大模块,仅编译最新版的 cURL. 向后兼容的 扩大 API 没有去失落

Added the ability to use user-defined callbacks with cURL. (Sterling)
增添了 cURL 外面利用用户自界说回调函数的才能

Added the SSL_VERIFYPEER, CAINFO, MAXREDIRS, FILETIME, RANDOM_FILE, EGDSOCKET and CONNECTTIMEOUT options to curl_setopt(). (Sterling)
curl_setopt() 增添了很多的参数

Added support for persistent connections with cURL. (Sterling)
cURL 增添了对耐久毗连的撑持

Fixed a problem in cURL with file descriptors being allocated, but never closed. (Sterling)
修改了 cURL 外面文件描写符被分派,然而没有封闭的毛病

Fixed interactive mode (-a). It works again with the same limitations it has always had. (Andi, Zend Engine)
修改了交互形式.他在其一直具有的不异的限制下再次任务了

Improved memory manager to use less memory and provide better memory overflow detection abilities in debug mode. (Andi, Zend Engine)
在调试形式下,加强了内存办理才能,利用更少的内存,供应了更好的内存溢出检测才能

Fixed resource leaks when resources were being cast to numbers. (Zeev, Zend Engine)
修改了当资本转化为数字时呈现的资本破绽

Fixed foreach() to not crash when being sent an invalid argument. (Andi, Zend Engine)
修改了 foreach() 函数在没有供应正当的参数的情形下呈现的成绩

Fixed a bug in opendir() under Windows when trying to open a non-exisiting directory. (Andi)
修改了 opendir() 在 Windows 下翻开一个不存在的目次呈现的毛病

Fixed popen() and the exec family under Win32 (Unable to fork issue). (Daniel)
修改了 Win32 上面的 popen() 和 exec 类的毛病

Make the printf family of functions binary clean. (Rasmus)
改善了 printf 类函数正确处置二进制数据的才能

Fixed WDDX serialization to HTML-escape key/variable names so as not to break the XML packet. (Andrei)
修改了 WDDX 的 HTML 编码的 关头字/值 的序列化成绩,不再打断 XML 语法包

Made WDDX extension enabled by default. (Andrei)
WDDX 扩大改成默许撑持

Added -C command-line option to avoid chdir to the script's directory. (Stig)
增添了 -C 号令行参数,防止更改目次到剧本的目次

Fixed a bug with /e modifier in preg_replace(), that would not correctly replace two-digit references if single digit references were present before them. This fixed bug #10218. (Andrei)
修改了 preg_replace() 函数的 /e 润色符的一个毛病。他使得假如2个数字条今朝面有1个双数字的话,不克不及准确交换。

Added temporary LOB support in OCI8. (Patch by David Benson)
增添了 OCI8 对 一时 LOB 的撑持

Fixed crash in pathinfo()
修改了 pathinfo() 的毛病

OCI8 now supports binding of collections. (Patch by Andy Sautins )
OCI8 如今撑持搜集绑缚

Added GD 2.0.1 support for truecolor and alpha channels, plus some other gd functions, both old and new - see docs for more info. (Wez)
增添了 GD 2.0.1,撑持真黑色和 alpha 通道,增添了一些 gd 函数,包含新的和旧的

Added S/MIME sign/verify encrypt/decrypt functions to openssl extension, along with some other certificate manipulation and interrogation functions. See docs for more info. (Wez)
在 openssl 扩大中增添了 S/MIME sign/verify encrypt/decrypt 函数,和一些其它的认证处置和审查函数

printf argnum (parameter swapping) support. (Morten Poulsen, Rasmus)
printf 函数撑持参数个数(参数互换)

Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows). (Stig)
增添了 DIRECTORY_SEPARATOR(途径朋分符)常量,在 Unix 里是 / 在 Windows 里是 \

Added small change to php_odbc module, to check for failed SQLDisconnects and to close any outstanding transactions if the call fails, then disconnect again. (lurcher)
增添了 php_odbc 模块的小修改,反省 SQLDisconnect 掉败和在挪用掉败时封闭一切的激活的事务

Modified get_parent_class() and get_class_methods() to accept a class name as well as a class instance. (Andrei, Zend Engine)
更改了 get_parent_class() 和 get_class_method(0 函数,不但承受类的实例并且承受类的名字

Added support for UNC style paths. (\\server\share\file, //server/share/file). (Daniel, TSRM)
撑持 UNC 类型的途径

Added dbx module (database abstraction) to the repository. (Marc)
增添了 dbx 模块

Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls and even COM calls much faster. All ini settings are now prefixed by 'com.'. Now you need not provide a path to the file containing the typelib, you can also provide the GUID of the TypeLib - entry or an IID for preloading type - information. (phanto)
在能够的情形下,利用 ITypeInfo 取代 IDispath. 这使得 DCOM 挪用和 COM 事务挪用更快。一切的设置装备摆设都利用 com 前缀。你不用非得供应包括 typelib 的文件途径,你也能够供应 TypeLib 的GUID - 进口或一个事后装载的类型的IID信息

Rewrite of domxml. It's now mostly DOM Level 2 conform. (Uwe)
从头编写了 domxml,今朝大局部顺应 DOM Level 2

Added array_map() function that applies a callback to the elements of given arrays and returns the result. It can also be used with a null callback to transpose arrays. (Andrei)
增添了 array_)map() 函数。对给定的数组的元素指定一个回调函数,前往了局。也能够利用空的回调函数来变换数组

Added array_filter(), which allows filtering of array elements via the specified callback. (Andrei)
增添了 array_filter()函数,答应你经由过程特定的回调函数过滤失落一些数组元素

Fixed all relevant array functions to avoid moving the internal array pointer during operations. (Andrei)
修改了一切的相干数组函数,防止在操作时代挪动了外部输组指针

Added mysql_unbuffered_query(), which is useful for very large result sets. (Zeev)
增添了 mysql_unbuffered_query() 函数,用于十分大的了局集  即使你理解不了PHP,但是也必须先跟它混个脸熟,看,一遍遍的看,看的同时一边琢磨,一边按照它所教的打代码,即使你搞不清楚那些代码到底是干嘛的,但是起码你应该找找感觉。
沙发
发表于 2015-2-4 12:09:36 | 只看该作者
兴趣是最好的老师,百度是最好的词典。
老尸 该用户已被删除
板凳
发表于 2015-2-5 12:05:56 | 只看该作者
个人呢觉得,配wamp 最容易漏的一步就是忘了把$PHP$目录下的libmysql.dll拷贝到windows系统目录的system32目录下,还有重启apache。
变相怪杰 该用户已被删除
地板
发表于 2015-2-7 21:14:21 | 只看该作者
本文当是我的笔记啦,遇到的问题随时填充
不帅 该用户已被删除
5#
发表于 2015-2-9 03:59:02 | 只看该作者
首推的搜索引擎当然是Google大神,其次我比较喜欢 百度知道。不过搜出来的结果往往都是 大家copy来copy去的,运气的的概率很大。
精灵巫婆 该用户已被删除
6#
发表于 2015-2-26 20:59:58 | 只看该作者
我学习了一段时间后,我发现效果并不好(估计是我自身的问题)。因为一个人的精力总是有限的,同时学习这么多,会导致每个的学习时间都得不到保证。
第二个灵魂 该用户已被删除
7#
发表于 2015-3-6 19:34:51 | 只看该作者
有时候汉字的空格也能导致页面出错,所以在写代码的时候,要输入空格最好用引文模式。
深爱那片海 该用户已被删除
8#
发表于 2015-3-10 22:14:16 | 只看该作者
对于初学者来说不推荐去拿钱买的。当然如果一个网站你经常去用,而且里面的资料也比较有用,最好还是买个会员比较好,毕竟那些也是别人的工作成果。
金色的骷髅 该用户已被删除
9#
发表于 2015-3-10 23:58:04 | 只看该作者
当然这种网站的会员费就几十块钱。
因胸联盟 该用户已被删除
10#
发表于 2015-3-17 12:09:39 | 只看该作者
你很难利用原理去编写自己的代码。对于php来说,系统的学习我认为还是很重要的,当你有一定理解后,你可你针对某种效果研究,我想那时你不会只是复制代码的水平了。
海妖 该用户已被删除
11#
发表于 2015-3-21 09:36:36 | 只看该作者
最后介绍一个代码出错,但是老找不到错误方法,就是 go to wc (囧),出去换换气没准回来就找到错误啦。
蒙在股里 该用户已被删除
12#
发表于 2015-3-25 14:17:14 | 只看该作者
Apache不是非得用80或者8080端口的,我刚开始安得时候就是80端口老占用,就用了个 81端口,结果照常,就是输localhost的时候,应该输入为 localhost:81
冷月葬花魂 该用户已被删除
13#
发表于 2015-3-28 15:55:20 | 只看该作者
这些都是最基本最常用功能,我们这些菜鸟在系统学习后,可以先对这些功能深入研究。
简单生活 该用户已被删除
14#
发表于 2015-4-6 04:59:29 | 只看该作者
作为一个合格的coder 编码的规范是必须,命名方面我推崇“驼峰法”,另外就是自己写的代码最好要带注释,不然时间长了,就算是自己的代码估计看起来都费事,更不用说别人拉。
愤怒的大鸟 该用户已被删除
15#
发表于 2015-4-12 19:57:12 | 只看该作者
至于模板嘛,各位高人一直以来就是争论不休,我一只小菜鸟就不加入战团啦,咱们新手还是多学点东西的好。
分手快乐 该用户已被删除
16#
发表于 2015-4-14 07:47:59 | 只看该作者
要进行开发,搭建环境是首先需要做的事,windows下面我习惯把环境那个安装在C盘下面,因为我配的环境经常出现诡异事件,什么事都没做环境有的时候就不能用啦。
再见西城 该用户已被删除
17#
发表于 2015-4-17 01:51:56 | 只看该作者
说点我烦的低级错误吧,曾经有次插入mysql的时间 弄了300年结果老报错,其实mysql的时间是有限制的,大概是到203X年  具体的记不清啦,囧。
飘飘悠悠 该用户已被删除
18#
发表于 2015-5-6 18:09:33 | 只看该作者
做为1门年轻的语言,php一直很努力。
小魔女 该用户已被删除
19#
发表于 2015-6-12 22:41:10 | 只看该作者
不禁又想起那些说php是草根语言的人,为什么认得差距这么大呢。
admin 该用户已被删除
20#
发表于 2015-6-22 05:16:43 | 只看该作者
本文当是我的笔记啦,遇到的问题随时填充
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-5-13 12:23

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表