RE: [PHP-DEV] What do we need strict scalar type hints for?

From: Date: Wed, 04 Feb 2015 09:13:23 +0000
Subject: RE: [PHP-DEV] What do we need strict scalar type hints for?
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-81789@lists.php.net to get a copy of this message
De : Dmitry Stogov [mailto:dmitry@zend.com] > The idea of that RFC was an ability to have zero-cost assert(). > >DbC is a much more bigger feature, it is interesting, but requires significant work. I agree. My suggestion was just to consider assertions as part of this future work (by using 'dbc' instead of 'assert' in naming, which will be cleaner when we implement the whole concept in the future). François

« previous php.internals (#81789) next »