Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 01-17-2009, 04:33 PM Learning PHP6
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 310
Name: Jason Eyermann
Location: england bristol
Trades: 0
I want to learn a new book on PHP to catch up on some of the changes.

I saw a book on Amazon called - PHP 6 and MySQL 5 for Dynamic Web Sites.
My server uses php5 and i'm guessing they're going to be using php5 for some time yet.

Would I be able to use the code learnt from such a book on my server?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
 
Register now for full access!
Old 01-17-2009, 04:38 PM Re: Learning PHP6
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
PHP 6 has never been released, so I don't know what that book is trying to teach.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 01-17-2009, 05:05 PM Re: Learning PHP6
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
PHP 6 has never been released, so I don't know what that book is trying to teach.
Actually PHP6 is currently in development and most of the changes have already been documented.

PHP 6 and MySQL 5 for Dynamic Web Sites - Good book, I learnt from PHP 4 and MySQL 4 for Dynamic Web Sites. It's a cook book and it's the best one out there.

Most web hosts will not upgrade to PHP6 until about 3 months after it's out (to iron out all the bugs). I suggest you wait for it to become more main stream...or just google "changes to php6"
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 01-17-2009, 05:24 PM Re: Learning PHP6
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
I know its under development, and it has been since about 2005, but the speculation I've read says that it will take hosts a LOT longer than 3 months to upgrade.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 01-17-2009, 07:23 PM Re: Learning PHP6
amw_drizz's Avatar
Ultra Talker

Posts: 340
Name: Jon
Location: New York
Trades: 0
it took my host almost a year after php 5 was released till they upgraded to it.
__________________
AMW_Drizz
Dev Machine:: Apache 2.2.6 PHP 5.2.6 MySQL 5.1
amw_drizz is offline
Reply With Quote
View Public Profile Visit amw_drizz's homepage!
 
Old 01-17-2009, 07:33 PM Re: Learning PHP6
Brian07002's Avatar
Defies a Status

Posts: 2,138
Name: ...
Location: ...
Trades: 0
I guess it wouldn't hurt to start on learning php 6, but don't think that will be the only book you will ever need. That won't be the case. And also, don't be dissapointed if you don't learn much, if anything new at all, as this book is new on the market, before the scripting language php 6 has even been released, so consider this book a Beta version of the real thing.
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 01-17-2009, 07:48 PM Re: Learning PHP6
NullPointer's Avatar
Will Code for Food

Posts: 2,781
Name: Matt
Location: Irvine, CA
Trades: 0
The biggest change I'm aware of in PHP6 is the inclusion of namespaces so learning PHP5 vs PHP6 probably isn't that different. It might even be more appropriate at this point to start with PHP6 considering features that I don't think anyone should be using to begin with will be removed (magic quotes, register globals).

For anyone concerned with their php5 code not working in php6 watch at for short tags ( <% ) and ereg, both are being removed (to the best of my knowledge)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 01-19-2009, 08:03 PM Re: Learning PHP6
VirtuosiMedia's Avatar
Web Design Made Simple

Posts: 1,228
Trades: 0
I had thought, perhaps mistakenly, that the namespaces were being introduced in 5.3. What I would love is a consistent naming schema for functions.
__________________
Want new web resources every day? - Follow me on
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 01-19-2009, 08:28 PM Re: Learning PHP6
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
What I would love is a consistent naming schema for functions.
You mean you would like it to look like it hasn't been written by a committee?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-19-2009, 08:29 PM Re: Learning PHP6
NullPointer's Avatar
Will Code for Food

Posts: 2,781
Name: Matt
Location: Irvine, CA
Trades: 0
Quote:
Originally Posted by VirtuosiMedia View Post
I had thought, perhaps mistakenly, that the namespaces were being introduced in 5.3. What I would love is a consistent naming schema for functions.
I checked PHP.net and that's true. Every list of PHP6 changes I've seen however, cites namespaces as one of them. According to wikipedia 5.3 will include first-order functions, closures, and anonymous functions
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 01-19-2009, 09:09 PM Re: Learning PHP6
VirtuosiMedia's Avatar
Web Design Made Simple

Posts: 1,228
Trades: 0
Quote:
Originally Posted by chrishirst View Post
You mean you would like it to look like it hasn't been written by a committee?
Developer 1: We shouldn't use any separators when naming our functions.
Developer 2: We should use underscores to name our functions.
Developer 3: We should use Hebrew for our error reporting.
Developer 4: We should use English for our error reporting.
Developer 5: Register globals is a good thing.
Developer 6: Register globals is a bad thing.
Developer 7: Input should be escaped automagically.
Developer 8: Input shouldn't be escaped automagically.

Committee: You're right...
__________________
Want new web resources every day? - Follow me on
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 01-21-2009, 07:19 PM Re: Learning PHP6
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 310
Name: Jason Eyermann
Location: england bristol
Trades: 0
Well if you go on Amazon type PHP under books and then sort them by newest publication date, The first 20-25 are about PHP 6. For some reason there are no new books out for php 5. (going back over a year, just php 6).

The book I mentioned in my first post on this thread has lots of good reviews so i'll probably get that one. Thanks for all the feed back.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Old 01-21-2009, 07:40 PM Re: Learning PHP6
NullPointer's Avatar
Will Code for Food

Posts: 2,781
Name: Matt
Location: Irvine, CA
Trades: 0
Well the concepts being introduced in PHP6 are not a secret, and all of them are features that are already implimented in other languages so I don't see any reason why you would write a book about PHP5 when PHP6 will be out soon enough.

Just don't plan on using those features until PHP6 is out, and if you are trying to put together a portable app don't plan on using them even after it is out (unless you want to code two versions).
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Reply     « Reply to Learning PHP6
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.91719 seconds with 12 queries