php.sugar
php.sugar copied to clipboard
Official Espresso php.sugar
The string offset operator is not properly recognized. For eg, in the following code: ``` private function status_is_error($status) { $status_class = $status{0}; $error = ($status_class == "4" || $status_class ==...
In case of placing a PHP block as a HTML attribute value, the closing php delimiter ist'n caputed and thus labled incorret. Instead it is just labled as part of...
These are the one's I have noted so far that are not recognized as php functions in both the predictive text and in the syntax highlighting: isset empty I will...
This is still an issue in 1.0b6. Closed issue: #5
The following keywords are not correctly recognized. They come under the class keyword.constant.other which also contains unidentified tokens. - var - global The conditional operator is also not recognized as...
post here: http://wiki.macrabbit.com/forums/viewthread/561/ http://client.bearditch.com/_snaps/7b536d75ff4423a8211660828ce493f4.png Notice the embedded php in the paragraph that has a commented function. The inline comment messes up the theme coloring and the Navigator panel as well....
Have you forgotten the magic method __callStatic introduced in PHP 5.3. I added this in line 564, file. /Syntaxes/PHP.xml and it works perfectly.
Stick this line into a php file: $output = 'All of the Earth\'s people.'; Expected result: everything after the first quote should be orange (except for the p tags, which...
Given this code: ``` echo 'Select the people whose favorites you\'d like to see.'; ``` The apostrophe in "you'd", although backslash escaped, is closing the string (leaving everything else afterward...
It would be nice if the escape key closed the PHP documentation viewer.