FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Extension Namespaces
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
PHP Extension Namespaces [message #175755] Sun, 23 October 2011 13:57
Philipp Kraus is currently offline  Philipp Kraus
Messages: 14
Registered: December 2010
Karma:
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
[Message index]
 
Read Message
Previous Topic: Json result
Next Topic: Sessions and links
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 05:28:21 GMT 2024

Total time taken to generate the page: 0.05351 seconds