On Wed, 2006-07-19 at 03:58 +0200, Steph Fox wrote:
> John's right, because PHP::PHPDateTime would have to become acceptable 
> syntax. Not the _only available_ syntax, but an acceptable one.

Unless you're proposing that we automagically parse class names so that

$a = new PHP::DateTime();
$b = new PHP::PHPDateTime();

are really references to the same class (which I think is a horrible
idea) you'll either need:

<?php

import PHP;

$a = new PHPDateTime();

?>

which seems redundant or...

<?php

$a = new PHP::PHPDateTime();

?>

which is just wonky..

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

Reply via email to