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). 

this is tested with currently newest snap: 2008.11.09 23:30 (UTC)

I haven't filed bug report for this yet i'll do it if required.

TIA for quick fix ;-)
Marcin Kurzyna




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

Reply via email to