Skip to content

Comment on Comparing the PHP 7 and Hack Type Systemsparent

Comments

Not syntactically legal, unless it's special-cased or we unusually make a lowercase constant for that purpose. declare() takes a constant value.

Well, it could've been this:

    declare(types="strict");
Alas, we are beyond feature-freeze now. Also, I quit PHP development.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.