¡@

Home 

php Programming Glossary: mib

memory_get_peak_usage() with “real usage”

http://stackoverflow.com/questions/15745385/memory-get-peak-usage-with-real-usage

echo not real . memory_get_peak_usage false 1024 1024 . MiB n echo real . memory_get_peak_usage true 1024 1024 . MiB n n.. . MiB n echo real . memory_get_peak_usage true 1024 1024 . MiB n n x . str_repeat ' ' 1024 25 store 25kb more to string Output.. store 25kb more to string Output not real 0.73469543457031 MiB real 0.75 MiB not real 0.75910949707031 MiB real 1 MiB ... not..