Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Suggested Hosts
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Spokane, WA
Name: David Lewis
Contact:

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Highway of Life » Thu Jan 28, 2010 6:05 am

Exactly. :)

Code: Select all

$my_animal = new animal();
$my_animal->species = 'Kitty';

$your_animal = $my_animal;
$your_animal->species = 'Doggie';

echo $my_animal->species;
// 'Kitty' PHP4
// 'Doggie' PHP5    
Because in PHP5, $your_animal is now an object identifier to the animal object, but in PHP4, it duplicated the object since the variable contained the object as a value. To duplicate the object in PHP5, i.e. to achieve the same effect as PHP4 had, you would use the clone keyword.

Code: Select all

$my_animal = new animal();
$my_animal->species = 'Kitty';

$your_animal = clone $my_animal;
$your_animal->species = 'Doggie';

echo $my_animal->species;
// 'Kitty'    
In PHP4, to point to the same object, you would pass it as a reference and use the & operator:

Code: Select all

$my_animal = new animal();
$my_animal->species = 'Kitty';

$your_animal =& $my_animal;
$your_animal->species = 'Doggie';

echo $my_animal->species;
// 'Doggie'    
EDIT: Ack, Brainy, you're too fast... :P
Hostile?

EDIT2: Edited for clarity. (References, Pointers and Object identifiers)
Last edited by Highway of Life on Thu Jan 28, 2010 9:51 am, edited 3 times in total.
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.

ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by ckwalsh » Thu Jan 28, 2010 6:09 am

Highway of Life wrote:EDIT: Ack, Brainy, you're too fast... :P
Hostile?
Not at the moment (and actually it probably won't get there), but certainly not important/needed.
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.

User avatar
Sorb
Registered User
Posts: 4
Joined: Thu Nov 13, 2008 5:05 pm

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Sorb » Thu Jan 28, 2010 8:15 am

Unfortunately only PHP 5.1.6 is packaged with Red Hat Enterprise Linux Server release 5.4. So if RHEL 6.0 isn't out and everyone has updated to that in 6-9 months then we are going to be in trouble if you drop the support for phpBB 3.0 so soon... :(

User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29247
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Marshalrusty » Thu Jan 28, 2010 8:37 am

Sorb wrote:Unfortunately only PHP 5.1.6 is packaged with Red Hat Enterprise Linux Server release 5.4. So if RHEL 6.0 isn't out and everyone has updated to that in 6-9 months then we are going to be in trouble if you drop the support for phpBB 3.0 so soon... :(
phpBB 3.1 discontinues support for PHP < 5.2
Also, 6-9 months after phpBB 3.1 is released, which won't be for at least 6-9 months from now. So the second half of 2011 is the earliest support would be dropped for 3.0.
Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by ChriZathens » Thu Jan 28, 2010 10:24 am

I would prefer that php<5.0.0 would stop being supported
You were previously also supporting php 4. So, IMHO, you should just drop php 4.x.x support, not also a few versions of php 5... :(
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

Desdenova
Registered User
Posts: 646
Joined: Sat Feb 23, 2008 7:25 pm

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Desdenova » Thu Jan 28, 2010 1:53 pm

Sorb wrote:Unfortunately only PHP 5.1.6 is packaged with Red Hat Enterprise Linux Server release 5.4. So if RHEL 6.0 isn't out and everyone has updated to that in 6-9 months then we are going to be in trouble if you drop the support for phpBB 3.0 so soon... :(
It's not hard to compile and install PHP yourself, you know. :)

User avatar
Ger
Recognised Extension Developer
Posts: 1853
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Ger » Thu Jan 28, 2010 2:29 pm

Desdenova wrote:It's not hard to compile and install PHP yourself, you know. :)
Well, you can't expect users to install PHP on their server, can you? ;)

Besides that, it's a good decision to drop the support for <5.2. Don't let phpBB slow down because of antique servers! :)
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

Desdenova
Registered User
Posts: 646
Joined: Sat Feb 23, 2008 7:25 pm

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Desdenova » Thu Jan 28, 2010 2:56 pm

Ger wrote:
Desdenova wrote:It's not hard to compile and install PHP yourself, you know. :)
Well, you can't expect users to install PHP on their server, can you? ;)
If you're in full control of a VPS or even an entire server, you should be able to do it, mainly as PHP compiles and installs much like any other *nix program. :P

User avatar
Sorb
Registered User
Posts: 4
Joined: Thu Nov 13, 2008 5:05 pm

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Sorb » Thu Jan 28, 2010 5:04 pm

Desdenova wrote: If you're in full control of a VPS or even an entire server, you should be able to do it, mainly as PHP compiles and installs much like any other *nix program. :P
Well it's not really recommended to install a different PHP version from the one provided with RHEL on a production system I think... Also it's a chore to keep it updated manually even if there are only like four or five point releases in a year. I got better things to do.
9 months plus 9 months sounds more reasonable so please don't rush things :)

User avatar
damsprivate
Registered User
Posts: 461
Joined: Sun Aug 17, 2008 10:39 pm
Location: indonesia
Contact:

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by damsprivate » Thu Jan 28, 2010 5:51 pm

agree :D 5.3.1 :)
binus university 2009 .
"did u know that 17 august ( when i join this forum ) is at Indonesia independence day ? "

User avatar
Ger
Recognised Extension Developer
Posts: 1853
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Ger » Thu Jan 28, 2010 7:38 pm

Desdenova wrote:If you're in full control of a VPS or even an entire server
How many are really in control of a VPS or an entire server? I guess most people have shared hosting. Installing and running a forum is something completely different than running and configuring a server. You simply can't expect the average forum administrator to do that.

But that's all a bit off topic. Probably in 1½ year every out-of-the-box server packages are >5.2.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
sevenalive
Translator
Posts: 437
Joined: Thu Feb 07, 2008 4:45 am
Location: Tempe, AZ
Name: Robert

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by sevenalive » Thu Jan 28, 2010 9:30 pm

I think they should require 5.3. It supports powerful Lambda expressions which simplify code and increase efficiency. I know 5.3 just got released, when 3.1 gets released, all hosts should be updated, if not move to a different host.

http://php.net/releases/5_3_0.php
Last edited by sevenalive on Thu Jan 28, 2010 11:55 pm, edited 3 times in total.

ToonArmy
Former Team Member
Posts: 4608
Joined: Sat Mar 06, 2004 5:29 pm
Location: Worcestershire, UK
Name: Chris Smith
Contact:

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by ToonArmy » Thu Jan 28, 2010 11:11 pm

sevenalive wrote:[...] but in 2012 (the expected final release of 3.1) [...]
And where did you learn that?
Chris SmithBlogGitHub
Image
In a foreign field he lay. Lonely soldier unknown grave. On his dying words he prays. Tell the world of Paschendale.

User avatar
sevenalive
Translator
Posts: 437
Joined: Thu Feb 07, 2008 4:45 am
Location: Tempe, AZ
Name: Robert

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by sevenalive » Thu Jan 28, 2010 11:20 pm

Projected would be a better word. I been following the 3.1 repos, taking the development time in 3.0 in consideration, taking in the fact that most of 3.0 code would be a starting point on 3.1, i say 2012 would be a likely release year. It's not like 2.0 to 3.0 which for the most part was a ground up rewrite, 3.1 development should be faster looking at the current dev team and goals in mind.

This also influenced my decision
Marshalrusty wrote: Also, 6-9 months after phpBB 3.1 is released, which won't be for at least 6-9 months from now. So the second half of 2011 is the earliest support would be dropped for 3.0.

User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29247
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

Re: Discuss: phpBB 3.1 discontinues support for PHP < 5.2

Post by Marshalrusty » Thu Jan 28, 2010 11:37 pm

So you read "6-9 months from now" as 2012?
Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs

Locked

Return to “phpBB Discussion”