> On Fri, Apr 5, 2013 at 8:50 AM, Rasmus Schultz <ras...@mindplay.dk> wrote: > > See the "Structs Tutorial" at msdn for a brief summary of structs in C# - > > http://msdn.microsoft.com/en-us/library/aa288471(v=vs.71).aspx > > Looking at that code sample, yes - that is more or less exactly what I had in > mind. > > I don't know C very well, and I certainly don't know the PHP codebase > very well, but do you think it's feasible to internally piggyback structs on > arrays?
Are you asking me, or the list? If me: I don't know. I suspect it would be, but I think Joe Watkins nailed it in his recent email on this thread: "This seems like a crazy conversation to me, not only is it crazy, it's a waste of time; I don't see any of the people able to implement it actually implementing it, and I don't see a vote going in favour of the idea if there were an implementation." I'm not going to implement it. Will you be implementing it? I suspect not, as you said "I don't know C very well". I think it does look like a nice syntax extension, but I don't think it'll end up in PHP. I only waded in to correct someone who said that structs in C# don't have methods :-) Richard Bradley Tel : 020 7485 7500 ext 3230 | Fax : 020 7485 7575 softwire Sunday Times Best Small Companies 2012 - 6th in the UK Web : www.softwire.com | Addr : 325 Highgate Studios, 53-79 Highgate Road, London NW5 1TL Softwire Technology Limited. Registered in England no. 3824658. Registered Office : 13 Station Road, London N3 2SB -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php