News Feed
Jobs Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Evert Pot's Blog:
Taking advantage of PHP namespaces with older code
February 01, 2011 @ 10:10:35

Evert Pot has a quick post about a suggestion mentioned at PHPBenelux related to using namespaces with older code.

If you're running PHP 5.3 and you have to use pesky old code that uses long class prefixes (yea, so, pretty much all PHP code out there), you can still make use of namespace features to shorten them.

He includes a quick example that shows the shift from using the traditional Zend_Controller_Action_Helper_AutoComplete_Abstract to an aliasing with the use/as to just reference it as AutoComplete.

0 comments voice your opinion now!
namespace old code zendframework use keyword


Hasin Hayder's Blog:
International PHP-Magazine - Is it dead?
January 28, 2008 @ 08:59:00

Hasin Hayder asks a question in his latest blog post that some in the PHP community have been wondering for a while now - is the International PHP Magazine dead?

I am a subscriber of International PHP Magazine for years. I bought the subscription looking at the back issues. They were sexy, resourceful and yup, very good. But I think these guys don't care about the magazine anymore. It became just a funny stuff for them. All the readers/subscribers and viewers doesn't bring any value to them. Look what they are doing actually...

He points out six things that the magazine and its staff are doing including RoR articles in an issue, content on the site that's way out of date and the smaller size of recent issues. Comments to the post point out that there has been issues released but that the magazine is published by a non-technical company that just might be pushing this particular publication aside.

0 comments voice your opinion now!
international magzine dead issue content old


Adam Trachtenburg's Blog:
Did you know about PHP's old_function?
April 06, 2006 @ 06:50:04

You can file this one under the "bygone days of PHP/FI" category, but Adam Trachtenburg has posted about the old_function hack he uncovered.

I was reviewing Upgrading to PHP 5 today and I came across this lovely section in Appendix B, which I had completely forgotten about.

I must say, I used PHP/FI, but I never resorted to the old_function hack to ease my PHP 3 migration issues.

If you'd like to check out an old manual entry for this one, look here. It allowed you to declare a function using the syntax for PHP/FI2 even though you were in PHP 3.

0 comments voice your opinion now!
old syntax old_function php/fi2 old syntax old_function php/fi2



Community Events











Don't see your event here?
Let us know!


package hhvm framework language install component performance application hack release unittest security podcast example composer introduction database project facebook symfony2

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework