Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3536 > unrolled thread
| Started by | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| First post | 2011-10-23 15:57 +0200 |
| Last post | 2011-10-23 15:57 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.php
PHP Extension Namespaces Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-23 15:57 +0200
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Date | 2011-10-23 15:57 +0200 |
| Subject | PHP Extension Namespaces |
| Message-ID | <j816h5$vr5$1@online.de> |
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
Back to top | Article view | comp.lang.php
csiph-web