Hi,
recent change in namespace code introduced new bug, please consider:
<?php
namespace tests;
class t1 {
function abc(\stdClass $std = null) {
}
}
?>
triggers "Fatal error: Default value for parameters with a class type hint
can only be NULL"
where the same w/o namespace definition works as expected (no error).
http://sitten-polizei.de/php/zend-constants-lookup.diff might be a possible
fix for this.
- Timm
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php