<?php

const CONST_ARRAY =
[
    'key' => 'value'
];

isset(CONST_ARRAY['key']); // Fatal error: Cannot use isset() on the
result of an expression (you can use "null !== expression" instead)

?>

It is design, or a bug?

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to