|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-08-03 14:51 UTC] andi at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 02:00:01 2025 UTC |
The following script produces a parse error in PHP 4b2 : class foo { var $bar = "foobar$"; } I fully understand that the problem comes from the $ sign, and escaping it with a \ solves the problem, but this syntax worked with PHP 3, and simply doing $bar = "foobar$"; in the global scope works too.