Jump to content


Photo

please read this for your own php neads all changing soon


  • Please log in to reply
8 replies to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 October 2006 - 02:54 PM


Hi there all i was reading this site about php 6 and according to all the changes in php6 nearly every think is being thrown out or re codded.

for example the {} and [] are soon changing whale.


here the link for php 6 hope this helps.


http://www.php.net/~...ting-notes.html



what i wont to know is it that all my books got to be bined or can i still use them cheers.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 printf

printf
  • Staff Alumni
  • Advanced Member
  • 889 posts

Posted 06 October 2006 - 03:27 PM

Old books are still good, but major changes are coming and many of them will not even include backward compatibility, which I think is good thing, because I heard it discussed at many workshops as of late that there are so many functions that do very much the same thing, but because no unicode support was around, a copy cat function was made. So many functions are leaving like ereg, sure it still will be in PECL, but it will not be part of the core.

Which is good thing, because unicode support recommends moving to PCRE, because Perl has always been more unicode compliant, and much faster than any POSIX function. So like Wez and Derick have said, PHP 6 is the new way of doing things, I also like the fact that more C centered options / functions are being written in, like goto, it's no really need in PHP because PHP has enough control constructs already, but it does give the developer some more interesting options, regarding logical control.

All I can say, PHP 6, is all that was missing and what was promised in PHP 5, plus some extra stuff that will make development debugging really easy! Overall I think it's a very impressive statement by the PHP Team! But books are great, even old ones, for many of the older books explain things in a better way. I mean I am not putting new books down, but some of these authors really need some help in understanding that times change, so reinventing wheel sometimes needs to be done!


me!

#3 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 October 2006 - 03:31 PM

Are you part of the team or a friend anyway thank you.

Thank you for telling me all what it means on the page cheers mate.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#4 hostfreak

hostfreak
  • Members
  • PipPipPip
  • Advanced Member
  • 581 posts

Posted 06 October 2006 - 03:45 PM

Great, more to learn.

#5 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 06 October 2006 - 03:56 PM

i've looked through these a few weeks back, and to be honest it doesnt appear like much will change thats gonna have any major impacts. many of the comments in those minutes make it very clear that they dont want to 'break' too much and most of PHP4 stuff will still be fully compatible.

if you're relying on half the stuff they're getting rid of (HTTP_POST_VARS, register_globals, etc) then you really need to be avoiding these anyway, turning them off, and making your code work without them, as all they've really contributed to PHP is security issues.

If PHP6 is as slow to take off as PHP5 has been (from a hosting point of view), then I really hope it makes people move up from 4 to 5 at least. I've only upgraded myself over the last few weeks and with all the new stuff there, it really surprises me why the uptake has been slow. But writing stuff on PHP5 (notably OO stuff) and trying to take care of people still on 4 is a nightmare.

@hostfreak: not unless you NEED to learn the extras. I like to think of things like this as "more available if I need it" rather than "more to learn". For example, using PHP5 instead of 4 is no different to use AT ALL, unless you're doing OOP.
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#6 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 October 2006 - 04:01 PM

redbullmarky a quick quistion do see a reel speed inpact with php 5 not upgradded yet why i am asking cheers.

Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#7 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 06 October 2006 - 04:07 PM

tis a tricky one to answer as i honestly dont know. I tend to keep my scripts and sites all quite simple anyway, so even if there was a dramatic increase, it wouldnt be something i'd notice as a result. It's not slowed down, which is good enough for me, and from what I've read, the performance is miles better. But you'd probably only really notice it with something quite intensive.

TBH, I only upgraded mainly because of better support for OOP because it's something I'm getting to grips with and learning much more about.


"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#8 obsidian

obsidian
  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 06 October 2006 - 04:16 PM

Great, more to learn.


this is a constant state in programming. if you ever get to the point where you believe you have learned all there is to learn about a language, it's probably time for you to quit programming ;)
You can't win, you can't lose, you can't break even... you can't even get out of the game.

<?php
while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

#9 printf

printf
  • Staff Alumni
  • Advanced Member
  • 889 posts

Posted 06 October 2006 - 07:25 PM

i've looked through these a few weeks back, and to be honest it doesnt appear like much will change thats gonna have any major impacts. many of the comments in those minutes make it very clear that they dont want to 'break' too much and most of PHP4 stuff will still be fully compatible.

if you're relying on half the stuff they're getting rid of (HTTP_POST_VARS, register_globals, etc) then you really need to be avoiding these anyway, turning them off, and making your code work without them, as all they've really contributed to PHP is security issues.

If PHP6 is as slow to take off as PHP5 has been (from a hosting point of view), then I really hope it makes people move up from 4 to 5 at least. I've only upgraded myself over the last few weeks and with all the new stuff there, it really surprises me why the uptake has been slow. But writing stuff on PHP5 (notably OO stuff) and trying to take care of people still on 4 is a nightmare.

@hostfreak: not unless you NEED to learn the extras. I like to think of things like this as "more available if I need it" rather than "more to learn". For example, using PHP5 instead of 4 is no different to use AT ALL, unless you're doing OOP.


redbullmarky, I think your slow to take off, statement is very true, but PHP has never been marketed, and most host have a set  of bricked ISO distro(s), so I think the slowness has nothing to do with people just not upgrading, but because hosts and OS distributors don't upgrade. I know I did study using some personal resources over at Netcraft for a PC magazine 6 months ago and I found PHP 5 is used on more Windows servers than Linux servers, it was a big margin something like 3 to 1, but that is because Windows does not come with PHP installed, even 85% of the dedicated Windows Server based hosts I interviewed don't install PHP by default, so host and system administrators and personal users download these packages directly off the PHP site, if I remember it was some thing like 4 million plus PHP install packages downloaded last month alone.

Also like you said, there really isn't a need to upgrade, unless your trying out some new functionality, or you like helping make PHP better and do alot of bug testing. what ever the reason, PHP 6 is impressive, just for it unicode support, and believe me, it's very difficult to add cross system wide support, because of how each system does unicode differently!


me!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users