Bug #27332

Problems with declare(ENCODING = 'utf-8'); in file header

Added by Tim Wagner about 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Could have
Category:
-
Target version:
Start date:
2011-06-09
Due date:
% Done:

100%

Estimated time:

Description

On MAC OS X 10.6.7 with default PHP installation (no Ports) every time you call command ./flow3_dev or ./flow3 it leads to the following error:

[09-Jun-2011 20:30:25] PHP Parse error: syntax error, unexpected '*', expecting ',' or ')' in /private/var/www/flow3/Packages/Framework/FLOW3/Scripts/flow3 on line 3

The same error occurs when requesting the welcome page on the browser.

After removing declare(ENCODING = 'utf-8'); from each files header FLOW3 works as expected.

Also available in: Atom PDF