Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 723 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

PHP 4 or PHP5?

Thread title: PHP 4 or PHP5?
Closed Thread  
Page 2 of 3 < 1 2 3 >
    Thread tools Search this thread Display Modes  
03-07-2005, 09:54 PM
#11
mike.fro is offline mike.fro
mike.fro's Avatar
Status: I love this place
Join date: Mar 2005
Location: Burnsville
Expertise: Design
Software:
 
Posts: 674
iTrader: 5 / 100%
 

mike.fro is on a distinguished road

  Old

Originally Posted by seen.to
PHP 4 for me since most servers haven't taken on PHP 5 yet. 5 is backwards compatible so stuff will work in both but make something for 5 and try and run it on a PHP 4 server and you're buggered.
Yeah I agree. Although when my old host switched to PHP5 suddenly a lot of my scripts crashed and stoppped working. Later on the developers released patches and eventually problems were fixed. I then decided to buy a dedicated server so I can handle things by myself and my partner.

03-07-2005, 10:22 PM
#12
sunspark is offline sunspark
sunspark's Avatar
Status: I'm new around here
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 6
iTrader: 0 / 0%
 

sunspark is on a distinguished road

  Old

I keep on my local dev whatever my host runs. Currently, thats 4.3.10. As it updates, I'll update.

03-07-2005, 10:43 PM
#13
mike.fro is offline mike.fro
mike.fro's Avatar
Status: I love this place
Join date: Mar 2005
Location: Burnsville
Expertise: Design
Software:
 
Posts: 674
iTrader: 5 / 100%
 

mike.fro is on a distinguished road

  Old

Have you read much on PHP5 yet though? I suggest picking up a book or at least reading a few articles on PHP5 as your host might upgrade to PHP5 suddenly, Because my old host did it and it was no fun, a lot of apps crashed and I had to wait a while for some patches to be released.

03-07-2005, 10:58 PM
#14
sunspark is offline sunspark
sunspark's Avatar
Status: I'm new around here
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 6
iTrader: 0 / 0%
 

sunspark is on a distinguished road

  Old


Have you read much on PHP5 yet though?
Yes, I have indeed.

The biggest changes to PHP have been in the object oriented department, which I do not use exclusively.

I'm excited about the new functions it brings though, like str_ireplace().

03-07-2005, 11:00 PM
#15
mike.fro is offline mike.fro
mike.fro's Avatar
Status: I love this place
Join date: Mar 2005
Location: Burnsville
Expertise: Design
Software:
 
Posts: 674
iTrader: 5 / 100%
 

mike.fro is on a distinguished road

  Old

Yeah that is its big update (the object oriented part) I am starting to get into OOP a lot more, and using it a lot more in my apps. I am actually in the process of creating a nice/powerful mySQL database class which I will release to some developers. Expect a post from me soon about this.

03-12-2005, 02:11 PM
#16
bornalex is offline bornalex
Status: I'm new around here
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

bornalex is on a distinguished road

  Old  I prefer PHP4

PHP4 - I prefer it. May be I am conservetive, but I think it's more stable... Anyway, my hostingcompany provides me with PHP4. And I have no choice. But I'd rather sticik to PHP4.

03-12-2005, 07:09 PM
#17
patrickPaul is offline patrickPaul
Status:
Join date: Dec 2004
Location: California, US
Expertise:
Software:
 
Posts: 406
iTrader: 1 / 100%
 

patrickPaul is on a distinguished road

Send a message via AIM to patrickPaul Send a message via MSN to patrickPaul Send a message via Yahoo to patrickPaul

  Old

Originally Posted by mike.fro
Yeah I agree. Although when my old host switched to PHP5 suddenly a lot of my scripts crashed and stoppped working. Later on the developers released patches and eventually problems were fixed. I then decided to buy a dedicated server so I can handle things by myself and my partner.
Personally, I think any host that switches to PHP5 is really very stupid.

Most scripts are not ready for PHP5... I've done a lot of reading on it and have been doing a lot of practice with it I love the new OOP features.

And seriously guys, how come you haven't mentioned the big XML update? In PHP4 XML was a pain in the ARSE! But in PHP5 we have 4 XML wrappers which are better than they've even been.

There's also all the new iterators which are pretty freakin' awesome

Regards,
Patrick

04-06-2005, 09:56 PM
#18
dmsuperman is offline dmsuperman
Status: I'm new around here
Join date: Apr 2005
Location: A house
Expertise:
Software:
 
Posts: 11
iTrader: 0 / 0%
 

dmsuperman is on a distinguished road

Send a message via AIM to dmsuperman Send a message via MSN to dmsuperman Send a message via Yahoo to dmsuperman

  Old

4.3.10 currently on my host and my own computer.

04-07-2005, 12:14 AM
#19
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

The best situation that I have come across so far is that some hosts are still using PHP4 as default for all of their servers, but also provide the ability to use PHP5 either sitewide or per file/directory (eg, using .htaccess). That's the best compromise until the developers provide updates to their applications.

If I'm not mistaken cPanel has problems with PHP5 (or does it just not work at all?) which is the reason why site5.com haven't moved over to PHP5 just yet.

I'm absolutely loving the biggest additions to PHP5, enhanced XML and OOP, both of which are essential components in my everyday coding. XML in PHP4 was indeed a pain in the butt and OOP... well... wasn't too pretty. But things are now much improved (though not quite perfect yet).

Cheers,
Salathe

04-07-2005, 05:18 AM
#20
Travis is offline Travis
Status: Member
Join date: Jul 2004
Location:
Expertise:
Software:
 
Posts: 445
iTrader: 0 / 0%
 

Travis is on a distinguished road

  Old

I haven't read a single thing about the changes even though PHP 5 has been discussed for a while now. Better OOP sounds good, I will have to check it out.

Closed Thread  
Page 2 of 3 < 1 2 3 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed