As requested, here is the justification for the additional keywords:
Error
objects can also be thrown for non-fatal errors. The geany keyword list already included the old standard Exception
so it makes sense to also include the new, specialized exceptions and errors (ie. ArgumentCountError
, ArithmeticError
, ErrorException
, etc.)assert
is now a language construct in PHP7. Language constructs like isset
, array
, and unset
were already included in the geany PHP keywords list so it makes sense to add this new one.__sleep
and __wakeup
were already included in the PHP keywords list, but the other magic methods like __construct
, __call
, etc. were missing. All magic methods should be included for consistency.callable
, traversable
, closure
, iterable
(PHP 7.1), etc.STDIN
, STDOUT
, and STDERR
. Other fundamental constants like TRUE
/FALSE
were already in the keyword list. I suggest including the stdio streams too.void
is a new return type in PHP 7.1.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.