[dev] Interesting esoteric PHP internals fact

Michael M Slusarz slusarz at horde.org
Mon Mar 22 18:07:18 UTC 2010


Not sure if this is accurate or not, but word has it that every PHP  
value takes 68 bytes of memory on a 32-bit system, 96 bytes on a  
64-bit system.

See:  
http://blog.paulbiggar.com/archive/a-rant-about-php-compilers-in-general-and-hiphop-in-particular/#bit

Useful to think about when handling large amount of data.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list