Home »
Imported messages »
comp.lang.php »
PHP Extension Namespaces
PHP Extension Namespaces [message #175755] |
Sun, 23 October 2011 13:57 |
Philipp Kraus
Messages: 14 Registered: December 2010
Karma: 0
|
Junior Member |
|
|
Hello,
I would like to create a PHP extension with C++. The basic functional
works fine. My C++ classes are organized within namespaces.
So each C++ class sould be got a equal PHP class. In this case I would
like to translate the C++ namespaces to a PHP
namespace eg:
C++:
namespace myspace {
class myclass {}
}
should be create in PHP:
<?
namespace myspace;
class myclass {}
?>
(How) Can I create a namespace in a extension?
Thanks
Phil
|
|
|
Goto Forum:
Current Time: Sun Nov 24 23:47:50 GMT 2024
Total time taken to generate the page: 0.02513 seconds