- PHP -


Piles of bug fixes, lots of improvements, bunch of changes and updates, fistful of additions and optimisations characterise the 5.2.0 release of PHP. Personally, I find the PCRE 6.7 upgrade quite nifty, for it eliminates some recursion issues I and countless others have experienced in the past. To name a few of the bug fixes that I am personally familiar with:

  • strcspn() no longer halts on NUL characters in strings
  • xml_parse_into_struct() treats Unicode characters properly
  • sscanf() arbitrary code execution fixed
  • Class names in error messages are no longer converted to lowercase

Take a look at the Changelog and download PHP while you’re at it! ;)

PHP is full of surprises and quirks. Some can be useful if carefully exploited, but some aren’t. Attached is a short list of some of my greatest issues with PHP.

phpIssues.pdf

Lesa meira af „PHP issues„

This one’s for the geeks out there. It is a short poem written in PHP, by Martin Alterisio. He describes it thus:

A sad poem of an algorithm where solitude brought excessive use of cpu cycles and memory allocation for redundant data (it copied over and over again the same image till all memory was filled with it)

Lesa meira af „Sad PHP poem„

Þá er ég búinn að uppfæra PHP á Vanaheim í nýjustu útgáfuna, 5.1.2. Fullt af lagfæringum og ýmsar betrumbætur þar. Þá bætti ég við CURL stuðningi, en einhvern veginn gleymdist það síðast þegar ég stillti PHP. Þá lækkaði ég hvíldartímann fyrir fopen() úr 60 sekúndum í 15, sem gerir það að verkum að óþarfa tafir við sókn upplýsinga frá öðrum netveitum (s. s. last.fm fyrir boxið „Í spilaranum„) eiga ekki að valda eins mikilli töf á birtingu vefdagbókarinnar.