|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-04-18 09:19 UTC] andrei at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 15:00:01 2025 UTC |
In my script I have: some_class { var $variable = new other_class_name; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function ... } I get this error: Parse error: parse error in class_file.php on line 9 (the underlined row) My script worked fine in PHP3. Is it erroreous syntax or error in engine? Thank you.