PDA

View Full Version : Php 5


gold_dragon
01-23-2004, 10:41 AM
I was wondering what anyone thought about it. It is going to have some new Class support, along with SQLite, which should be cool. It doesn't seem that they are updating the functions names very much. Naming conventions are still oddly changed throughout the language. Does anyone know when they are going to do something about this or have they already?

CFJohn
01-23-2004, 04:07 PM
If they change too many of the function names it would require a lot of people to change code for compatibility with PHP5. They already have a lot of deprecated functions that they have gotten rid of already but I think if you use an old function it generates an error saying that its deprecated.

The new class stuff should be cool though...

I'm just worried about the nice new bugs that we'll have to deal with...

php_brian
01-23-2004, 06:12 PM
PHP5 will be very neat. Functions names will remain the same for the life of PHP. PHP developed a coding standard within PHP that describes how functions are named. Check the PHP source for that.

PHP5 is available right now, if you didn't know. But it is obvisiouly not stable yet. They have released betas for developers to play with a test large applications with to test for bugs. Just about all of the features that they talk about will be bugless. They may have a few things but nothing major. (Hence why they have betas out)

One thing I am looking forward to is the SimpleXML ext. It will allow you manipulate XML through standards objects.

gold_dragon
01-23-2004, 07:20 PM
Originally posted by CFJohn
If they change too many of the function names it would require a lot of people to change code for compatibility with PHP5. They already have a lot of deprecated functions that they have gotten rid of already but I think if you use an old function it generates an error saying that its deprecated.

The new class stuff should be cool though...

I'm just worried about the nice new bugs that we'll have to deal with...
You guys have a pretty good service, are you going to run PHP 5 and allow SQLite?

JesusCyborg
01-24-2004, 08:52 AM
finally better class support than c++. we can start pretending we're java programmers, use the classes, and write some NOT messy code.

gold_dragon
01-24-2004, 08:57 AM
I don't think it is messy since... well, I'm kind of baised since I built a class and it sucked really badly. It was my fault. A class would make my site a lot better since the use of constructors and deconstructors will make some repetitive tasks faster.

gsoft
01-24-2004, 08:42 PM
I cant wait for the SimpleXML as well should be good to utilise XML better than the bulky stuff avaliable now.