http://www.php.net/~derick/meeting-notes.html
Changes include removal of register_globals, register_long_arrays and safe_mode, E_STRICT on by default, case-sensitive identifiers, and a lot of changes to OO.
_______________
Page: 1
| Author | Post |
|---|---|
|
#1 Thu Nov 24, 2005 6:45 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2215
Location: Belgium
|
Who thought PHP 5 was a big change to the scripting language, check out the results of the meeting for PHP 6 development:
http://www.php.net/~derick/meeting-notes.html Changes include removal of register_globals, register_long_arrays and safe_mode, E_STRICT on by default, case-sensitive identifiers, and a lot of changes to OO. _______________ |
|
#2 Fri Nov 25, 2005 10:20 pm
|
|
|
Member
Registered: Jul 2005
Posts: 7
Location: New Zealand
|
It is very likely that namespaces will be implemented. The mess that the 5.1.0 release has created prompted calls for namespaces in PHP 5.2.
|
|
#3 Mon Nov 28, 2005 9:26 am
|
|
|
Member
Registered: Nov 2005
Posts: 6
|
It's actually a good sign and direction if ya ask me but man is it a nightmare for programmers to get up to speed with just when they get used to a set amount or parameters.
|
|
#4 Tue Nov 29, 2005 8:14 pm
|
|
|
Member
Registered: Oct 2005
Posts: 9
Location: Edmonton, AB
|
These aren't so bad. We've been told for ages that register_globals is bad right? For long arrays, most documentation encourages $_GET/$_POST now too.
Oh, for strict variable typing, how I long for thee. |
|
#5 Tue Nov 29, 2005 9:21 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2215
Location: Belgium
|
Imo, register globals should have been removed since PHP 5.
_______________ |
|
#6 Sat Dec 03, 2005 8:16 am
|
|
|
Member
Registered: Jul 2005
Posts: 7
Location: New Zealand
|
I don't, loose types make the learning curve much less steep and PHP easier to use IMO. I don't see any really good reason to lose that other than to make purists feel that warm fuzzy feeling. |
|
#7 Sat Dec 03, 2005 11:50 am
|
|
|
Member
Registered: May 2004
Posts: 99
Location: Australia
|
All these big changes, yet they still refuse to adhere to their own function naming standards!
_______________ |
|
#8 Tue Dec 27, 2005 8:52 pm
|
|
|
Member
Registered: Oct 2005
Posts: 9
Location: Edmonton, AB
|
I find not being confident in what kind of data I'm working with, or not knowing how typecasting may work in a specific situation very uncomfortable. Often I'll diddle around in a function call making sure the caller isn't a moron before I just get the work done. That being said, PHP5 is supposed to have "Type Hinting" (which is just a nice way of saying strict typing). Thus you folks can have flexibility, and I can have confidence in input. In fact, for myself at least, this may lead to interesting hybrid approaches: in most cases go with strict typing, but even GoF's Design Patterns has some interesting approaches with loose typing that I'd be interested in exploring. |
Page: 1
UseBB Community is powered by UseBB 1 Forum Software