On 29 July 2010 13:57, Felipe Pena <felipe...@gmail.com> wrote:
> My suggestion (I guess already told it in some mail...) is to
> identify the native php type just when it's lowercased (case-sensitive).

Alternatively, one could use the full qualified name to refer to the
class name, e.g.

function expectsScalar(string $str) {}
function expectsObject(\string $obj) {}

-JD

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

Reply via email to