A php namespace called default

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2010-06-16T08:05:17Z Indexed on 2010/06/16 8:12 UTC
Read the original article Hit count: 129

Filed under:
|
<?php
namespace default

gives me an unexpecected T_DEFAULT, is there any way of working around this? Can I escape the reserved word somehow?

My system uses the name of the current module in my site for the namespace so it would be nice to be able to use any string as a namespace.

© Stack Overflow or respective owner

Related posts about namespaces

Related posts about php5.3