¡@

Home 

php Programming Glossary: aarray

Why is calling a function (such as strlen, count etc) on a referenced value so slow?

http://stackoverflow.com/questions/3117604/why-is-calling-a-function-such-as-strlen-count-etc-on-a-referenced-value-so-s

is passed by value. Example php function TestCount aArray aArray range 0 100000 fStartTime microtime true for iIter 0.. is passed by value. Example php function TestCount aArray aArray range 0 100000 fStartTime microtime true for iIter 0 iIter 1000.. microtime true for iIter 0 iIter 1000 iIter iCount count aArray fTaken microtime true fStartTime print took fTaken seconds n..