Miscellaneous

Miscellaneous things, that don’t fit in other categories, or just don’t plainly categorize easily :)

The danger of: foreach ($array as &$v)

This will be a short post, concerning one problem that can easily arise from the incorrect usage of PHP’s foreach cycle’s ability to pass each array item by reference instead of by value. I ran into this problem a little while ago and it caused me roughly about an hour of general wondering of why […]

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 3.00 out of 5)
Loading...

WordPress for now

I’ve discovered the internet :) I’m Kipras Mancevičius, a programmer (currently web developer) from Lithuania. Fancy intro. From now on this blog should be the place, where i will post random (or not so random) thoughts about common programming problems, and (hopefully) ways to solve them. I will also post stuff lying around the internet […]

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.25 out of 5)
Loading...