{"action":"closed","issue":{"url":"https://api.github.com/repos/Codiad/Codiad/issues/747","labels_url":"https://api.github.com/repos/Codiad/Codiad/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/Codiad/Codiad/issues/747/comments","events_url":"https://api.github.com/repos/Codiad/Codiad/issues/747/events","html_url":"https://github.com/Codiad/Codiad/issues/747","id":52339306,"number":747,"title":"Syntax error with php Nowdoc","user":{"login":"pandiloko","id":10230449,"avatar_url":"https://avatars.githubusercontent.com/u/10230449?v=3","gravatar_id":"","url":"https://api.github.com/users/pandiloko","html_url":"https://github.com/pandiloko","followers_url":"https://api.github.com/users/pandiloko/followers","following_url":"https://api.github.com/users/pandiloko/following{/other_user}","gists_url":"https://api.github.com/users/pandiloko/gists{/gist_id}","starred_url":"https://api.github.com/users/pandiloko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandiloko/subscriptions","organizations_url":"https://api.github.com/users/pandiloko/orgs","repos_url":"https://api.github.com/users/pandiloko/repos","events_url":"https://api.github.com/users/pandiloko/events{/privacy}","received_events_url":"https://api.github.com/users/pandiloko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codiad/Codiad/labels/Ace","name":"Ace","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-18T09:00:43Z","updated_at":"2015-03-20T08:15:00Z","closed_at":"2015-03-20T08:15:00Z","body":"The following code shows a syntax error in Codiad:\r\n```php\r\necho <<<'EOT'\r\n<p>html or javascript or any desired output</p>\r\nEOT;\r\n```\r\nFurthermore, ```echo <<< 'EOT'``` or ```echo <<< EOT``` (note extra space) are also valid but text is not colored as string, which I think is actually really nice bug/feature as I find easier to read code when it's not all green colored. \r\n\r\nNote: [nowdocs] (http://php.net/manual/en/language.types.string.php#language.types.string.syntax.nowdoc)"}}