note 109007 modified in language.namespaces.nested by danbrown
| From: | danbrown@php.net | Date: | Wed, 13 Jun 2012 15:25:34 +0000 |
| Subject: | note 109007 modified in language.namespaces.nested by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-188569@lists.php.net to get a copy of this message | ||
You can not include variables in namespace
declare: <?php namespace
parsmizban\\$value1; //syntax error echo
"parsmiznan"; ?>
--was--
You can not include variables in namespace declare:
<?php
<?php
namespace parsmizban\$value1; //syntax error
echo "parsmiznan";
?>
http://php.net/manual/en/language.namespaces.nested.php