¡@

Home 

php Programming Glossary: end1

How does similar_text work?

http://stackoverflow.com/questions/14136349/how-does-similar-text-work

q l l In PHP php_similar_str function for l 0 p l end1 q l end2 p l q l l Source proto int similar_text string str1.. char txt2 int len2 int pos1 int pos2 int max char p q char end1 char txt1 len1 char end2 char txt2 len2 int l max 0 for p char.. char end2 char txt2 len2 int l max 0 for p char txt1 p end1 p for q char txt2 q end2 q for l 0 p l end1 q l end2 p l q l..

php foreach, why using pass by reference of a array is fast?

http://stackoverflow.com/questions/7786580/php-foreach-why-using-pass-by-reference-of-a-array-is-fast

x array_fill 0 100000 'xxxxx' begin microtime true test1 x end1 microtime true test2 x end2 microtime true echo end1 begin ... x end1 microtime true test2 x end2 microtime true echo end1 begin . n 0.03320002555847 echo end2 end1 0.02147388458252 But.. true echo end1 begin . n 0.03320002555847 echo end2 end1 0.02147388458252 But this time using pass by reference is slow...