Re: [PHP] porting C code to php

2009-07-06 Thread Paul M Foster
On Mon, Jul 06, 2009 at 05:24:32PM +0100, Steve Hanselman wrote: > Hi, > > I've some C code that processes files, I want to port this to PHP and am > trying to decide the best way to port the structs and unions over so as to > still be readable? > > The files are multi-line files with differin

[PHP] porting C code to php

2009-07-06 Thread Steve Hanselman
Hi, I've some C code that processes files, I want to port this to PHP and am trying to decide the best way to port the structs and unions over so as to still be readable? The files are multi-line files with differing layouts depending on the data contained within them, so at present unions of