Re: Reviving scalar type hints

From: Date: Tue, 17 Feb 2015 09:39:19 +0000
Subject: Re: Reviving scalar type hints
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-82937@lists.php.net to get a copy of this message
2015-02-17 0:58 GMT+01:00 Sara Golemon <pollita@php.net>: > On Mon, Feb 16, 2015 at 2:50 PM, François Laupretre <francois@php.net> > wrote: > > Straw poll: > 1) <?php strict; > 2) <?php-strict > 3) use strict; (psuedo-namespace) > 4) <?php // strict (I don't actually like HHVM's style, but if you do...) > 5) declare(strict=true); (As a top-level declare only) > 6) declare(strict=true); (exactly as in v0.3 -- maybe you liked it) > 7) your write-in vote here (i changed double 3 voting option in quote) +1 for all which can only be defined on the "first line" so: 1,2, 4, 5

« previous php.internals (#82937) next »