 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHP.net: PHP 5.3.5 and 5.2.17 Released!
by Chris Cornutt January 07, 2011 @ 07:10:29
On the main PHP site there's a new announcement about a critical update in a new version to both the PHP 5.2.x and 5.3.x series of releases to correct a problem that could cause a hang or crash from user input - 5.3.5 and 5.2.17.
The PHP development team would like to announce the immediate availability of PHP 5.3.5 and 5.2.17. This release resolves a critical issue, reported as PHP bug #53632 and CVE-2010-4645, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers. The problem is known to only affect x86 32-bit PHP processes, regardless of whether the system hosting PHP is 32-bit or 64-bit. You can test whether your system is affected by running this script from the command line.
All users are strongly encouraged to update their releases. While the problem only happens in certain circumstances, it can still be a huge problem since the data comes directly from the user. For more information about the issue see this post.
voice your opinion now!
release bugfix crash freeze patch critical issue 32bit x86
Andrea Giammarchi's Blog: PHP Serialization And Recursion Demystified
by Chris Cornutt September 09, 2009 @ 15:39:11
Andrea Giammarchi has posted a new item to his blog looking at freezing and unfreezing objects and variables in PHP apps. Specifically he points out a few gotchas to watch out for.
PHP has different in-core callbacks able to help us with daily deployment, debug, improvements. At the same time, PHP is loads of intrinsic "gotcha", too often hard to understand, hard to explain, or simply hard to manage. One common problem is about debug, caching, or freezing, and the way we would like to debug, cache, or freeze, variables.
He presents the problem - serializing variable information to "freeze" it and how recursion can cause problems down the line. He looks at the two different kinds of recursion (recursion and recursion by reference) and, after looking at a few possible solutions to fix things, eventually comes down to a way to remove the recursion "without losing it".
voice your opinion now!
recursion serialize tutorial freeze
Community News: PHP 5.3beta1 Announced
by Chris Cornutt January 29, 2009 @ 07:56:05
The first step towards a full, stable release of the next version of PHP - 5.3 - has officially been made - the first beta (PHP 5.3beta1) has been released and is now available for download.
The biggest change is dropping of OO functionality in closures as full
OO support for closures is planed for a later release than PHP 5.3.0.
See http://wiki.php.net/rfc/closures/removal-of-this. This release marks the begin of a feature freeze and bug fix only phase.
If in doubt whether your change is a bugfix please run it by Lukas and
me.
You can download the packages here:
voice your opinion now!
php5 beta download release object oriented closures feature freeze
Sebastian Bergmann's Blog: Freezing and Thawing PHP Objects
by Chris Cornutt December 01, 2008 @ 11:12:18
Sebastian Bergmann has posted details (and a patch) for freezing and unfreezing objects via the new setAccessible method included in the SPL in PHP 5.3.
One of the many new features that have been added for PHP 5.3 is the setAccessible() method of the ReflectionProperty class that is part of PHP's Reflection API. This method makes protected and private attributes (unfortunately, the class is called ReflectionProperty instead of ReflectionAttribute) of a class or object accessible for the ReflectionProperty::getValue() and ReflectionProperty::setValue() methods, thus making protected and private attributes "open" for full read and write access from the outside.
A bit of code shows how to "freeze" and "thaw" the objects out - creating an object, calling the freeze() method on it to protect it from use, then the thaw() method to bring it back out where it can be accessed. Stefan Priebsch helped to create this class and the patch.
voice your opinion now!
freeze thaw object php5 patch spl setaccessible
Lukas Smith's Blog: PHP 5.3 alpha1 release imminent
by Chris Cornutt July 28, 2008 @ 09:31:36
As was previously mentioned by Christopher Jones, the PHP 5.3 branch is now under a feature freeze. Lukas Smith has posted a few more details about the upcoming release.
Last thursday was the begin of the feature freeze phase. Well its not really a hard feature freeze in the sense that we still have plans for a few new features and tweaks, but it means the end of the "maintainers freedom" that usually rules PHP development more or less.
New features will have to go through either him or Johannes to be included and they are doing their best to get the alpha 1 release of this new version out by July 31st.
Lukas is also trying a more unconventional approach to bug fixes to try to get the major ones knocked out first - posting them as a comment to this blog post. So far, no comments on bugs have been added, but there are a good number to get through. To help narrow it down he's also put out a plea to developers out there to help validate current bugs to potentially knock off a few of the ones that can be marked bogus.
voice your opinion now!
php5 release alpha1 freeze feature bugs test
Christopher Jones' Blog: It's feature freeze time for PHP 5.3
by Chris Cornutt July 25, 2008 @ 09:31:10
In a new blog post Christopher Jones mentions the feature freeze that's happened for the PHP 5.3 series including the Oracle support through the OCI8 extension.
The volume of commits has recently increased in anticipation of today's feature freeze deadline. I expect the Alpha release time frame will also see high activity. Eventually, increased tightening of criteria for patch acceptance will bring us to Beta and then Production releases.
Features included in this most recent extension version include an allowance for external authentication, a change to let Reflection correctly show function/method arguments, an increase on the oci8.default_prefetch setting and correctly defining the SQLT_BDOUBLE and SQLT_BFLOAT constants.
Keep an eye out for a release on PECL with these new updates soon.
voice your opinion now!
php5 feature freeze oci8 driver extension pecl update enhance
|
Community Events
Don't see your event here? Let us know!
|