note 77539 rejected from language.variables.scope by nlopess

From: Date: Mon, 03 Sep 2007 11:59:23 +0000
Subject: note 77539 rejected from language.variables.scope by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130126@lists.php.net to get a copy of this message
Note Submitter: zls0424 at gmail dot com ---- Why is this an error for static variables? <?php $a = 'test'.'test'; static $b = 'test'.'test'; ?> It will report "Parse error: syntax error, unexpected '.', expecting ',' or ';' in test.php on line 3“

« previous php.notes (#130126) next »