>
> I'm a bit concerned that there are two possible semantics for what (?int)
> does:



There is only one, if we align the semantics of explicit and implicit
casting: you wouldn't expect this:

    function test(?int $bar) { var_export($bar); }
    test("abc");

...to output 'null'?

--
Ben

Reply via email to