 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHP.net: PHP 4.4.9 Released!
by Chris Cornutt August 08, 2008 @ 07:58:18
The PHP group has officially announced the availability of the final release of the PHP4 series for the language - PHP 4.4.9.
The PHP development team would like to announce the immediate availability of PHP 4.4.9. It continues to improve the security and the stability of the 4.4 branch and all users are strongly encouraged to upgrade to it as soon as possible. This release wraps up all the outstanding patches for the PHP 4.4 series, and is therefore the last PHP 4.4 release.
Issues corrected by this release include an upgrade to the PCRE version, a crash bug in imageloadfont and the open_basedir handling in the curl extension. You can download this latest release from downloads page on the PHP.net website.
voice your opinion now!
php4 release endoflive final download security patch
Stefan Esser's Blog: Xdebug 2.0.3 - Stealth Patch
by Chris Cornutt August 04, 2008 @ 08:43:52
Stefan Esser has released a patch, pulled originally from the Suhosin project's functionality, that allows you to use a bit of stealth for run the Zend Debugger and XDebug at the same time.
Those asking usually can understand why running two debuggers at the same time will lead to problems, but they don't understand why problems should arise when only one is used at a time. They want to be able to load Zend Debugger and Xdebug with the same php.ini without the need to restart the whole server just to change the debugger.
You can grab the patch from his site and install it like normal. With the patch, your PHP install will handle the rest behind the scenes.
voice your opinion now!
zenddebugger xdebug patch stealth simultaneous download
Eran Galperin's Blog: Passing arrays to Zend_Controller_Router
by Chris Cornutt July 01, 2008 @ 09:31:52
Eran Galperin has posted a few hacks you can use for the Zend Framework's Router system to make passing arrays easy and integrated.
A big advantage to using the front controller in the Zend Framework is the ability to create nicely formatted urls. [...] The implementation of the default router in the Zend Framework (Zend_Controller_Router_Rewrite) does not allow for passing arrays in this manner though, since previously set keys get overwritten if they are declared more than once. This is somewhere between semi-annoying to very annoying, so lets get straight to hacking it into submission.
His patch only changes one line in the Zend_Controller_Router_Route_Module component - changing it from assigning to a conditional checking for the existence of an array and setting it appropriately.
voice your opinion now!
array zendframework zendcontrollerrouter router patch
Greg Beaver's Blog: PHP namespaces become much better (Derick take note)
by Chris Cornutt June 23, 2008 @ 11:19:27
Greg Beaver, noting some issues that Derick Rethans had pointed out about namespace support for upcoming PHP versions, has posted about a patch he submitted to solve the problem simply.
The issue Derick pointed out:
In PHP 5.3 this would alias the class Interval in the namespace PEAR::Date to the class Interval. For now, this code would work just fine. However, if PHP would introduce a class "Interval" at some point in the future (and PHP can do this as it owns the global namespace) then the above code would suddenly stop working.
Greg's patch makes it possible to "override" the internal class if need be, making it so that code currently working wouldn't break. All it takes is to "use" is like you normally would and and the magic happens behind the scenes.
voice your opinion now!
namespace override internal class instance patch php5
Lukas Smith's Blog: KISS my...
by Chris Cornutt June 10, 2008 @ 12:53:58
Lukas Smith recently posted about issues he's been coming across with the "KISS" mentality (and code) that the Zend Framework implements, specifically for the Zend_Feed component.
Now that I am actually using the Zend Framework on my first project, hitting bugs/limitations in Zend_Feed and therefore looking at the code, I must say I am seeing feature duplication with internal PHP features that does not quite fit in with the KISS principle.
He points out a few things that illustrate his point - the use of Zend_Http_Client instead of a strea context, passing XML contents into loadXML instead of just load. As a replacement, he's considered a Feed component from the eZ components system, but it hasn't been released (officially) yet. So, as an alternative, he's come up with a patch to fix a few things in the Zend_Feed component to make it a bit more KISS-friendly.
voice your opinion now!
kiss simple zendframework ezcomponents feed parse xml patch
PHPFreaks.com: Hardening PHP with Suhosin
by Chris Cornutt May 28, 2008 @ 08:47:22
PHPFreaks.com has a new tutorial posted that looks to help you protect you and your application with an even greater level of security by using the Suhosin patch.
Suhosin is a great and simple way of increasing your security without having a large impact on overall performance. In this tutorial I will cover the installation and configuration of Suhosin on both debian etch and centos 5. I may cover mod_security in a later tutorial.
They apt-get the packages needed for the patch in examples for two different distributions - Debian (etch) and CentOS. They also show how to set up some basic configuration to get the patch installed and working with your PHP installation.
voice your opinion now!
harden patch suhosin install tutorial debian centos
Mike Lively's Blog: Late Static Binding (LSB) forward_static_call()
by Chris Cornutt April 09, 2008 @ 11:24:19
On his blog, Mike Lively has posted a look at some of the work he's been doing on patches for the late static binding functionality to be included in PHP, including an example of the updates in action.
This weekend I wrapped up a few small tests and sent the patch in and it was subsequently pushed to php 5.3 and php 6.0. Now, this is not at all the way I wanted things to work, in all honesty I think the patch is pretty hokey but unfortunately nobody really spoke up in support of the changes I wanted to make to parent:: in regards to LSB.
His example shows how to override a static method and push that new method's execution to the parent class (in two ways - safe using forward_static_call and the not so safe calling itself with a parent:: override).
voice your opinion now!
latestaticbinding php5 php6 patch safe unsafe parent forwardstaticcall
|
Community Events
Don't see your event here? Let us know!
|