|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-04 15:15 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 22:00:01 2025 UTC |
Description: ------------ This error is on Mac 10.6 has PHP 5.3.0 which is not shown in version selector. The code causes this error: Parse error: syntax error, unexpected T_VAR in /Users/willirl/Desktop/TEST Files/test.php on line 6 Reproduce code: --------------- <?php define('A_CONSTANT', 25); var $abc = A_CONSTANT; ?> Expected result: ---------------- No error. $abc set to 25.