Just noting that the instanceof type operator is not bolded like other keywords. I believe it was introduced in PHP 5.0. However, the goto keyword, introduced in PHP 5.3 is highlighted. So this would seem to be an oversight rather than the editor's lagging behind PHP versions.
I'm using the latest RapidPHP, 12.1.0.149
RapidPHP 2014 does not bold instanceof
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Re: RapidPHP 2014 does not bold instanceof
I noticed instanceof because I was using it for the first time, and when I saw it wasn't bolded I thought I'd typed it incorrectly. But just now for "fun" I copy-pasted the table of reserved keywords from http://php.net/manual/en/reserved.keywords.php into RapidPHP and see that declare and __CLASS__ are also not bolded.
There are lots of other keywords in the table that are only recognized as such when followed by parentheses, but those include things like array(), which RapidPHP has never bolded. So there's no real reason to start bolding them now, although some people including me might like it. I think it's nice for a C programmer to notice, for example, that exit() is not a call to a library routine that can be overriden.
There are lots of other keywords in the table that are only recognized as such when followed by parentheses, but those include things like array(), which RapidPHP has never bolded. So there's no real reason to start bolding them now, although some people including me might like it. I think it's nice for a C programmer to notice, for example, that exit() is not a call to a library routine that can be overriden.
Re: RapidPHP 2014 does not bold instanceof
We'll go through the keywords list again when making the next version and reconsider adding some of the missing ones, thanks.
Blumentals Software Programmer