Azure / azure-sdk-for-php

Microsoft Azure SDK for PHP
http://azure.microsoft.com/en-us/develop/php/
Apache License 2.0
415 stars 273 forks source link

targeting php 5.2 shows error for namespace and use keyword #22

Closed deepakverma closed 12 years ago

deepakverma commented 12 years ago

Open the php project in ide and target it to use php 5.2 Actual: Shows errors for namepsace, use keywords.

As per the following spec we were planning to target php 5.2. Did this change? http://sharepoint/sites/fxt/AzureSDK/_layouts/WordViewer.aspx?id=/sites/fxt/AzureSDK/PHP%20SDK/PHP%20Coding%20Guidelines.docx&Source=http%3A%2F%2Fsharepoint%2Fsites%2Ffxt%2FAzureSDK%2FSitePages%2FHome%2Easpx&DefaultItemOpen=1&DefaultItemOpen=1

As per the php documentation these keywords are supported in (PHP 5 >= 5.3.0) http://www.php.net/manual/en/language.namespaces.importing.php

ogail commented 12 years ago

We are targeting PEAR2 packaging which requires having namespace keyword. Anton can verify this.

ogail commented 12 years ago

We've decided to use 5.3+