Re: semicolon terminator for switch cases

From: Date: Thu, 26 Mar 2020 20:26:13 +0000
Subject: Re: semicolon terminator for switch cases
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-109357@lists.php.net to get a copy of this message
I agree with Tovilo. It is weird and confusing. Actually I never know that it was possible. And the ";" sounds like "it ends here", while ":" counds like "it does it ->". For me, "case 1;" will sounds like "skip case 1". Atenciosamente, David Rodrigues Em qui., 26 de mar. de 2020 às 17:14, Stanislav Malyshev < smalyshev@gmail.com> escreveu: > Hi! > > > Maybe something to deprecate in PHP 8.0. > > https://wiki.php.net/rfc/deprecations_php_8_0 > > Why? Whose life it'd make easier? > > -- > Stas Malyshev > smalyshev@gmail.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#109357) next »