 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Johannes Schluter's Blog: Future of PHP 6
by Chris Cornutt March 12, 2010 @ 12:58:13
With the releases in the PHP 5.x series (5.3 and now a newly branched 5.4), people have been left wondering about PHP 6 and the promised Unicode support it will include. Development on that branch had all but stalled out and things weren't looking too good for the method of introducing full Unicode support to the language. Johannes Schluter has some good news, though - the effort has been restarted and a new approach has been decided on.
Yesterday the stagnation created by the situation has been resolved and it was decided that our trunk in svn will be based on 5.3 and we'll merge features from the old trunk and new features there so that 5.3 will be a true stable branch. The EOL for 5.2 has not yet been defined but I suggest you to really migrate over to 5.3, which usually can be done with very little work, as soon as possible.
Discussion are being made about which type of Unicode support will actually be introduced with a "string class" wrapper gathering some support behind it to provide an alternative to the current string handling.
voice your opinion now!
php6 future unicode support development
Johannes Schluter's Blog: Unicode identifiers
by Chris Cornutt July 24, 2009 @ 08:13:53
Johannes Schluter briefly touches on unicode in PHP6 in a new post to his blog and how being able to use it in identifiers can come in quite handy at times.
Consider you have an application tied to an environment with a special terminology, then translating this terms to English might be extremely confusing (especially as programmers often don't really know the correct terminology of that domain) and it's good to call the thing by it's name [...] The purpose of this were some bad news: That's nothing new. The relevant scanner rule hasn't changed since 4.0 - the only change is that PHP 6 doesn't treat it as random set of bytes anymore but knows about Unicode codepoints and interprets is as such.
After digging around a bit in some of the commit history of PHP, Johannes also found that the scanner rule (what parses the identifiers) hasn't changed since around 2000 and, apparently, won't be changing for PHP6 either.
voice your opinion now!
unicode identifier php6
Till's Blog: Nginx+PHP+FastCGI Testing your web application with bleeding edge PHP
by Chris Cornutt July 07, 2009 @ 13:51:34
Till has posted a guide for testing a web application with the latest and greatest versions of Ngnix and PHP (PHP6!) running as a FastCGI.
So, every once in a while I find myself in need of trying out newer, maybe, not-yet-released features in PHP. For example, recently, I wanted to test RoundCube PHP6 '" this is how I did it. On a side note, the same setup would also work for testing code with previous versions of PHP.
Everything's there - from the configure commands to the settings that'll need changing to the commands you'll need to use to get things started up right.
voice your opinion now!
php6 install tutorial fastcgi nginx
P
by Chris Cornutt June 29, 2009 @ 12:55:59
Padraic Brady recently made a post about the some of the "deception" that various publishing companies (he specifically mentions Wrox) have made when it comes to publishing books on PHP6. In his latest post he shares a response Wrox made to some of his comments.
In "The Art Of Deception Or Publishing PHP6 Books" I aired my unflattering opinions about publishers who have been selling "PHP 6" books. PHP 6, last I checked, was a bit like Leprechauns. [...] It's certainly not complete and stable, and its future feature list remains a bit flexible. You could see PHP 5.4 in 2011 before PHP 6 is finished...guessing here. As its developers would say - it'll be ready when it's ready. One day. Maybe.
He shares their response to his comments by looking at easy of the books covering PHP6 and two things they're doing to help the situation - pulling the Beginner book and a call for those wanting to make the books better to get involved.
voice your opinion now!
deception book php6 wrox
Padraic Brady's Blog: The Art Of Deception Or Publishing PHP6 Books
by Chris Cornutt June 25, 2009 @ 07:51:11
Padraic Brady has posted about the art of deception that several publishers have involved themselves in - already publishing books about PHP6.
I was strolling around a bookstore today, Easons on O'Connell Street here in Dublin, when I found myself staring at a bookshelf in near shock. Kid, I thought, you've been out of the loop for only two months and somehow those crazy people have managed to release PHP 6 right under your nose! [...] The more I stared at the three youthful faces grinning at me from the cover, the more I convinced myself this was a publishing error. No way was PHP6 going to be released without me noticing. Google Reader would have been on fire with that news. So what the hell was I looking at? I was apparently looking at a big fat lie.
He goes on to talk about PHP6 (aka the "long standing grail" of PHP) and how publishers, apparently misinformed as to the release date of the version, preempted its release and assumed that it would be out as soon as or before the book was. Obviously this was the wrong choice and now they're paying for it with the egg on their face.
Sure these PHP6 books have a lot of the PHP 5.3 features mentioned in them, but they're mashed up with other features that won't be ready until PHP6 actually arrives. Oddly enough, upon looking at the contents of most of the books, Padraic discovered something interesting - their content is less about PHP6 and more about the PHP 5.2 series that was current. Seems they're only really PHP6 in name.
voice your opinion now!
php6 publish book deception
Tibo Beijen's Blog: Explicit PHP6?
by Chris Cornutt June 12, 2009 @ 10:27:26
Tibo Beijen takes his own look at some of what PHP6 will have to offer and talks a bit about how it would have helped him in a current project:
I'm currently working on [a project] where I've been experimenting with 'domain objects' having 'scalar' or 'value' objects as properties (more on that later).
The talks specifically about two of the upcoming features - type hinting and the __cast magic method that allows you to correctly cast a variable into a different type. He illustrates with some code that handles and manipulates user data and handles exceptions on an incorrect type cast.
voice your opinion now!
typehint cast php6
Fabien Potencier's Blog: What for PHP6?
by Chris Cornutt June 08, 2009 @ 09:32:45
For those looking forward to PHP6 (a jump beyond the upcoming PHP 5.3) Fabien Potencier has pointed out a few things that will be coming out in this future release (based on these notes).
PHP 5.3 is just around the corner with a lot of great new features. However, even if I'm really excited about this new release, I won't make yet another PHP 5.3 feature list; I will rather look at the future of PHP. PHP core developers met at php|tek and discussed the future of PHP. And it is really great to see that they plan lots of wonderful features; let's set aside the Unicode stuff.
His list of things he's looking forward to include __cast, ArrayObject/ArrayAccess' wider acceptance, traits, C#-style properties and more.
voice your opinion now!
feature php6
PHPClasses.org: Upcoming PHP 5.3 features and beyond
by Chris Cornutt April 28, 2009 @ 07:56:34
This new post to the PHPClasses.org blog take a look at some of the new features that will be included in the PHP 5.3 release (coming soon to a web server near you!) by way of an interview with Lukas Smith.
his article presents an interview with core PHP developer Lukas Kahwe Smith that has pushed many of the new features of PHP 5.3 as release manager. Lukas talks about PHP 5.3 new features such as lambda functions, closures and PHAR support. He also explains what are traits, which for now it is a feature that was left out of PHP 5.3. He also talks about future PHP 5.x and PHP 6, as well how anybody can help in the development of PHP to make it come out faster.
They talk about the PHP.net wiki, briefly touch on the PHP 5.3 feature updates, performance/memory usage in the new version, Lambda functions, closures and PHAR and what's to come with PHP 6.
voice your opinion now!
lukassmith php5 upcoming php6 interview phar closures lambda memory usage
Arpad Ray's Blog: The adventure of PHP and the magic quotes
by Chris Cornutt December 17, 2008 @ 12:03:07
One of the things that's been hanging around PHP's neck since its early days is the magic_quotes setting that was introduces to try to make things easier. In this interesting post Arpad Ray takes a look at this setting and why its a bad thing for PHP to have around.
Like register_globals, it helped lower the barrier of entry to building a dynamic website by removing some of the complexity. However it certainly wasn't without sacrifice, problems with the implementation quickly appeared and continued to abound for the next ten years. Finally in PHP 5.2.2 we got an implementation which (as far as its intentions went) seemed to be bug free, but of course by then it was turned off by default and was already slated to be dropped in PHP 6.
He looks at a few reasons they're bad (not good enough for escaping, inconsistent, performance issues) and some methods - code snippets - on how to deal with it being turned on on your server.
voice your opinion now!
adventure magic quotes bad php5 php6 fix
|
Community Events
Don't see your event here? Let us know!
|