|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-02-22 17:14 UTC] s-m-k at gmx dot net
class foo {
$var bar = E_ALL & ~E_NOTICE;
}
Obviously a scalar value (assigning a single value works perfectly), but the following appears when it comes to execution:
Parse error: parse error, expecting "," or ";"
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 04:00:01 2025 UTC |
class foo { var $bar = E_ALL & ~E_NOTICE; } Obviously a scalar value (assigning a single value works perfectly), but the following appears when it comes to execution: Parse error: parse error, expecting "," or ";"