Re: [PHP-DEV] Throwing an Error for require expressions in PHP7.x

2016-06-17 Thread Alexander Deruwe
On Fri, Jun 17, 2016 at 6:47 PM, Christoph Becker wrote: > > try { > require $fileName; > } catch (Error $e) { > echo "Oops, maybe deleted? " . $e; > } > functionDefinedInFileName(); If anyone chooses to write this kind of code, then let them figure out why their f

Re: AW: [PHP-DEV] Importing namespaced functions

2013-04-24 Thread Alexander Deruwe
On Wed, Apr 24, 2013 at 10:54 AM, Florian Anderiasch wrote: > Additionally, it's either semantically wrong to group unrelated > functions in "static tool classes", it's even a well-known antipattern. It also doesn't address a point made by Igor before: "It's distracting to have my vendor name