Re:PHP 7.1.0 Released
by piaste on Friday December 02, 2016 @12:10PM
(#13090338)
> no-op if already defined
Why shouldn't it be a compile-time error, in the same way as your suggested `def foo;`?
I can't think of a legitimate reason for wanting to write an intentional no-op (at least at the level of PHP; obviously assembly etc. is a different ballpark entirely).
Why shouldn't it be a compile-time error, in the same way as your suggested `def foo;`?
I can't think of a legitimate reason for wanting to write an intentional no-op (at least at the level of PHP; obviously assembly etc. is a different ballpark entirely).