thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauro Maggi <mauro.ma...@immobiliare.it>
Subject Re: Thrift 0.9.2 - Generating code (and libraries) for PHP 5.2
Date Tue, 08 Sep 2015 10:32:50 GMT
I’m already using Thrift in modern php code, but we have huge php 5.2 codebases that cannot
be migrated.
Thank you for your directions to Nikic backporter, i’ll take a look.

Thanks,
Mauro


> Il giorno 08/set/2015, alle ore 11:17, Stig Bakken <stig@zedge.net> ha scritto:
> 
> No, it's not possible. If you are really, really not able to update your
> code to a non-deprecated version of PHP, I suggest you try out some tool to
> convert the Thrift-generated code to something without namespaces. This one
> seems to do that (but I haven't tried it myself):
> 
> https://github.com/nikic/PHP-Backporter
> 
> - Stig
> 
> 
> On Tue, Sep 8, 2015 at 10:40 AM, Mauro Maggi <mauro.maggi@immobiliare.it>
> wrote:
> 
>> Hi,
>> 
>> is it possible, as of thrift 0.9.2, to generate php code (and php
>> libraries) compatible with PHP 5.2 ?
>> At the moment, i see that php code and libraries are generated for PHP
>> 5.3+ (namespaces)
>> 
>> Thanks,
>> Mauro
> 
> 
> 
> 
> -- 
> Stig Bakken
> CTO, Zedge.net - free your phone!


Mime
View raw message