mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
This PR corrects misspellings identified by the check-spelling action. The misspellings have been reported at jsoref@b6ba3e2#commitcomment-48946465 The action reports that the changes in this PR would make it happy: jsoref@602417c Closes GH-6822.
10 lines
202 B
PHP
10 lines
202 B
PHP
--TEST--
|
|
"Reference Unpacking - Compile Error (const)" list()
|
|
--FILE--
|
|
<?php
|
|
const FOO = 10;
|
|
[&$f] = FOO;
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot assign reference to non referenceable value in %s on line %d
|