On Saturday 26 July 2008 13:57:45 Lukas Kahwe Smith wrote:
> 
> On 26.07.2008, at 13:02, Johannes Schlüter wrote:
> 
> > Again a general request to the developer and user community at large:
> > Please concentrate on finding&fixing bugs instead of functional  
> > changes
> > (including arginfo and parameter_parsing) and to make sure we have all
> > changes covered in the wiki [2] so they can be added to release notes
> > and the documentation.
> 
> 
> Speaking of which, just going through the open 5.3 bugs that have not  
> been assigned to a developer I see the following ones as looking to be  
> important to be dealt with:
> http://bugs.php.net/bug.php?id=45044 (relative paths not resolved  
> correctly)
> http://bugs.php.net/bug.php?id=43695 (Asynchronous socket connection  
> timing issue)
> http://bugs.php.net/bug.php?id=45384 (parse_ini_file will result in  
> parse error with no trailing newline)
> http://bugs.php.net/bug.php?id=45392 (ob_start()/ob_end_clean() and  
> memory_limit)
> http://bugs.php.net/bug.php?id=44842 (parse_ini_file keys that start/ 
> end with underscore)
> http://bugs.php.net/bug.php?id=45288 (set_include_path() functionality  
> broken)
> http://bugs.php.net/bug.php?id=45608 (closures don't work in static  
> methods)
> 
> The rest are either assigned or PDO bugs (again, we really really  
> really need someone that looks after PDO).
> 
> Of course there are also still tons of open 5.2 bugs [1] :(
> 
> regards,
> Lukas Kahwe Smith
> [EMAIL PROTECTED]
> 
> [1] 
http://bugs.php.net/search.php?cmd=display&status=Open&search_for=&php_os=&boolean=1&author_email=&bug_age=0&by=&order_by=id&direction=ASC&phpver=5.2&limit=30&assign=&begin=0
> -- 
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

Hi,

For "closures don't work in static methods" (45608), this is because a closure 
declared in a static method will always be called statically.

The example given in the report works if the closure is explicitly declared as 
static, but as shown by the bug report it may be better to implicitly inherit 
the ACC_STATIC flag of the declaring method. It seems that Christian planed 
to add this to his patch but it has never be included.

This could be as simple as this:
http://arnaud.lb.s3.amazonaws.com/closure_static.patch

For "relative paths not resolved correctly" (45044) I added a comment on the 
report about the cause of the bug, but I don't know what is the better way to 
fix that.

Regards,

Arnaud

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to