Re: [VOTE] ::class feature to resolve namespaced class names to scalars

From: Date: Thu, 13 Sep 2012 09:16:45 +0000
Subject: Re: [VOTE] ::class feature to resolve namespaced class names to scalars
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-62972@lists.php.net to get a copy of this message
Hi Dmitry, Am 13.09.2012 um 11:12 schrieb Dmitry Stogov <dmitry@zend.com>: > We already have isset(), empty(), unset() that are a special purpose functions handled by > compiler. [...] That’s exactly my point: these special purpose functions present themself to the user as usual functions and set a certain expectation. That’s why we now allow empty(func()). If something presents itself as a syntax element, there is no such expectation and the only valid software metric, WTFs per minute decreases slightly. cu, Lars

« previous php.internals (#62972) next »