summaryrefslogtreecommitdiff
path: root/travis/setup-mysql.sh
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-24 16:36:25 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-25 16:31:45 +0200
commitf1848a4b3f807d21415c5a334b461d240b2a83af (patch)
tree9ab6c3a2da4518cdc8a06893890ea0ca8c174c42 /travis/setup-mysql.sh
parent4d8541debbc4f2387879a872b42604ed8b908f58 (diff)
downloadphp-git-f1848a4b3f807d21415c5a334b461d240b2a83af.tar.gz
Fix bug #78226: Don't call __set() on uninitialized typed properties
Assigning to an uninitialized typed property will no longer trigger a call to __set(). However, calls to __set() are still triggered if the property is explicitly unset(). This gives us both the behavior people generally expect, and still allows ORMs to do lazy initialization by unsetting properties. For PHP 8, we should fine a way to forbid unsetting of declared properties entirely, and provide a different way to achieve lazy initialization.
Diffstat (limited to 'travis/setup-mysql.sh')
0 files changed, 0 insertions, 0 deletions