Namespaces are available from PHP 5.3.x

http://php.net/namespace

-- praj



On Fri, Jun 17, 2011 at 12:56 AM, Jake Farrell <[email protected]> wrote:

> There is a ticket open for this (Thrift-777), but namespaces are currently
> not available in php. This feature should be available shortly
>
> Jake
>
>
> On Jun 16, 2011, at 11:41 PM, King JKing wrote:
>
> > Dear all,
> >
> > I want to generate PHP client for Thrift Service.
> > For ex,
> >
> > namespace php comment
> > service CommentService{
> >     i32 addComment(),
> > }
> >
> > Thrift will generate class CommentService.
> >
> > I have question. Does Thrift allow gen PHP class include namespace? (In
> > above sample, Thrift will gen class comment_CommentService)
> >
> > Thank you in advance.
>
>

Reply via email to