我可以用PHP 4书学习PHP 5吗? [英] Can I learn PHP 5 with PHP 4 book?

查看:78
本文介绍了我可以用PHP 4书学习PHP 5吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想学习PHP,我知道我们是5版。朋友

让我使用他的2本书但是他们覆盖PHP 4.

开始学习这门语言还可以吗?或者我应该直接使用PHP 5

的书?


非常感谢


Patrick

解决方案

varois83写道:





我想学习PHP,我知道我们是5版。朋友

让我使用他的2本书,但是他们用的是PHP 4.这是否可以用于

开始学习这门语言?或者我应该直接使用PHP 5

的书?


非常感谢


Patrick



我建议你直接买一本PHP 5书。虽然PHP4中的所有内容都可以在PHP5中运行,但最好学习新功能

,例如PHP5中提供更好的OO支持。


-

==================

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================


varois83写道:





我想学PHP,我知道我们是第5版。朋友

让我使用他的2本书,但是他们用的是PHP 4.

开始学习这门语言还可以吗?或者我应该直接使用PHP 5

的书?


非常感谢


Patrick






不是真的,


PHP5与4相比有显着差异,尤其是

OOP类的使用,但是mysql和mysqli之间的差异并不是在PHP4书中显示的,只是因为mysqli只是用PHP5引入的。 />

Achim


AchimR写道:


varois83写道:


>嗨

我想学习PHP,我知道我们的版本是5.朋友
让我用2他的书,但他们涵盖PHP 4.
开始学习语言是否可以?或者我应该直接使用PHP 5
一本书吗?

非常感谢

Patrick






不是真的,


PHP5与4相比有显着差异,尤其是

OOP类使用,但是mysql和mysqli之间的区别并不是PHP4书中显示的
,只是因为mysqli只是用PHP5引入的。


Achim



mysqli是在PHP 4.1中引入的。


-

====== ============

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================


Hi

I would like to learn PHP and I know we are at version 5. A friend
let me use 2 of his books but they cover PHP 4. Is that ok for
starting to learn the language? Or should I go straight with a PHP 5
book ?

Thanks a lot

Patrick

解决方案

varois83 wrote:

Hi

I would like to learn PHP and I know we are at version 5. A friend
let me use 2 of his books but they cover PHP 4. Is that ok for
starting to learn the language? Or should I go straight with a PHP 5
book ?

Thanks a lot

Patrick

I''d recommend going straight for a PHP 5 book. While virtually
everything in PHP4 works in PHP5, it''s better to learn the new features
such as better OO support available in PHP5.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


varois83 wrote:

Hi

I would like to learn PHP and I know we are at version 5. A friend
let me use 2 of his books but they cover PHP 4. Is that ok for
starting to learn the language? Or should I go straight with a PHP 5
book ?

Thanks a lot

Patrick

Hi

Not really,

there are significant differences in PHP5 compared to 4, especially the
OOP class use, but also differences between mysql and mysqli are not
shown in a PHP4 book, simply as mysqli has only been introduced with PHP5.

Achim


AchimR wrote:

varois83 wrote:

>Hi

I would like to learn PHP and I know we are at version 5. A friend
let me use 2 of his books but they cover PHP 4. Is that ok for
starting to learn the language? Or should I go straight with a PHP 5
book ?

Thanks a lot

Patrick

Hi

Not really,

there are significant differences in PHP5 compared to 4, especially the
OOP class use, but also differences between mysql and mysqli are not
shown in a PHP4 book, simply as mysqli has only been introduced with PHP5.

Achim

mysqli was introduced in PHP 4.1.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


这篇关于我可以用PHP 4书学习PHP 5吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆