That would be brilliant.  I was actually just wondering the same thing last
night when I ran into a PHP parse error when trying to define the php
namespace in the format x.y.z.

Thanks,
  Trevor


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

> not available in php was referring to the thrift php lib, not the php
> language. Ticket Thrift-777 is for adding the namespace support into the php
> compiler and can hopefully get resolved shortly. I was planning on looking
> at this tomorrow when i have some time
>
> Jake
>
>
>
>
> On Jun 17, 2011, at 11:28 AM, Prajwal Tuladhar wrote:
>
> > 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