Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 500497

Summary: Grammar for PHP tag doesn't support all cases
Product: [ECD] Orion Reporter: Michal Niewrzal <wywrzal>
Component: ClientAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 13.0   
Target Milestone: 13.0   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Michal Niewrzal CLA 2016-08-30 07:45:08 EDT
Created attachment 263843 [details]
screenshot

Actual regexp for beginning PHP tag is incomplete, it doesn't support inline echo tags without space after tag (see screenshot)

Example:
<body>
        <div class="container">
        	<!-- Not working -->
            <?=$this->section('content')?>
            <!-- Working -->
            <?= $this->section('content')?>
        </div>
</body>
Comment 1 Grant Gayed CLA 2016-08-30 15:14:59 EDT
Thanks for the report, fixed with commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=e84e1564380aecd1a63906b719c8495cfa560884 .