diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-16 21:49:20 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-09 10:47:43 +0200 |
commit | 9975986b7ef849c3a8e73a48748befbfdc50e416 (patch) | |
tree | b287480ec6e0d4853fa4e1f53d3627836b74d695 /UPGRADING | |
parent | c5b42be40e98f1626e2404af069af16cb6510ef3 (diff) | |
download | php-git-9975986b7ef849c3a8e73a48748befbfdc50e416.tar.gz |
Improve error messages mentioning parameters instead of arguments
Closes GH-5999
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,10 +135,10 @@ PHP 8.0 UPGRADE NOTES . Uncaught exceptions now go through "clean shutdown", which means that destructors will be called after an uncaught exception. . Compile time fatal error "Only variables can be passed by reference" has - been delayed until runtime and converted to "Cannot pass parameter by + been delayed until runtime and converted to "Argument cannot be passed by reference" exception. . Some "Only variables should be passed by reference" notices have been - converted to "Cannot pass parameter by reference" exception. + converted to "Argument cannot be passed by reference" exception. . The generated name for anonymous classes has changed. It will now include the name of the first parent or interface: |