News for hackers. Stuff that matters.
Re:How big are PHP arrays (and values) really? by jronkone on Friday December 16, 2011 @05:07AM (#3360220)
I don't see how unions could save space, care to explain?
Re:How big are PHP arrays (and values) really? by legooolas on Friday December 16, 2011 @05:08AM (#3360221)
If you have multiple items of which you're only going to store one at a time but want them in the same "structure" then you use a union. (i.e. temporally disjoint)