Tag Archives: php

My own database abstraction class

Back in 2006 July, I decided that all other database classes are not worth it, and created my own one, incorporating best features from MySQL and PHP world. It resulted in this brilliant code, which I showed to few colleagues, … Continue reading

Posted in mysql | Tagged , , , , | 10 Comments

php easter egg

This has been floating around for a while, but I could not resist. PHP have added an easter egg, append ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 to PHP-managed URL and you’ll get something what we got on Wikipedia. Different versions have different eggs. Try it … Continue reading

Posted in wikitech | Tagged | 2 Comments

profiling web applications

I’ve experimented a bit with wikipedia’s existing profiling framework lately, and extracted some of bits from that. The way we do it now is having our internal profiler written in PHP, and wfProfileIn() / wfProfileOut() function calls around the code. … Continue reading

Posted in mysql, wikitech | Tagged , ,

php4: not supported, use php5

Tim wrote to PHP internals list, asking: is there any intention to backport this simple but important bugfix to PHP 4? Many PHP users are still using PHP 4, and it’s not a very well advertised fact that it does … Continue reading

Posted in wikitech | Tagged , | 1 Comment