On Thu, Jun 29, 2017 at 11:19 AM, li...@rhsoft.net <li...@rhsoft.net> wrote:
> in other languages like Visual Basic constants are fast, in PHP they are > slow, both in define and access > Two things here: 1. don't ever consider visual basic for any comparison of any sort: it's basically (ha!) the worst example of a programming language that I can think of before malborge 2. speed is not relevant in this scope: program correctness is. Final properties would allow switching value object representations from accessor (getter) based logic (extremely slow) to public property based (less overhead, also in writing). Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/