We’ve been paying close attention to new PHP releases, with a focus on the 5.3.x series release branch, but an important security update has been made to the 5.2.x branch. The new max_file_uploads PHP directive will prevent DOS (denial of service) attacks that happen by using file uploads to create temporary file exhaustion. This is [...]
Yes, that’s right, another PHP 5.2 version, and the fourth release candidate for PHP 5.3.1… the details are as follows:
PHP 5.3.1 RC4
Three bug fixes including one for mysqli and safe_mode_include_dir
Complete list
PHP 5.2.12 RC1
Added max_file_uploads as seen in PHP 5.3.1 RC3, which helps prevent DOS attacks occurring via temporary file exhaustion
Fixed Snow Leopard build error
Fixed make [...]
September 7, 2009 - 7:22 pm
Tags: cPanel, php 5.3.1, release candidate, WHM
Posted in PHP | 3 comments
This is just a notice to let everyone know that the first PHP 5.3.1 release candidate has been released. For those of you who use cPanel/WHM, this means that you are one step closer to having out-of-the-box PHP 5.3 support. On cPanel’s forums, a member of cPanel Quality Assurance said cPanel would most likely wait [...]
November 10, 2009 - 3:24 am
i wonder if somebody is working on the problem, that currently $this is not allowed inside of closure?
November 11, 2009 - 12:24 am
Can you give an example?
Good info on PHP closures: http://wiki.php.net/rfc/closures
November 12, 2009 - 5:30 am
@Chris Strosser
yes:
class test {
protected $f = 5;
function doSomething($array) {
array_walk($array, function($item) {
$item * $this->f;
});
}
}
$this in closure context was removed between some php beta and the php final. ok — for private/protected properties you could copy them and access them with “use”, but you can’t do this with private/protected class methods.
November 12, 2009 - 10:47 pm
@harald
Interesting… I was not aware. This is good for people to know. I wonder why they did this…