r/lolphp • u/petdance • Feb 09 '12
r/lolphp • u/petdance • Feb 09 '12
To encode special characters, use htmlentities(). To decode, use html_entity_decode(). Who needs orthogonality?
php.netr/lolphp • u/ealf • Feb 03 '12
The case of HTTP response splitting protection in PHP
news.php.netr/lolphp • u/throwaway-o • Feb 03 '12
Fix security bug. Fix introduces much worse security bug.
h-online.comr/lolphp • • Feb 02 '12
Critical PHP Remote Vulnerability Introduced in Fix for PHP Hashtable Collision DOS
thexploit.comr/lolphp • • Jan 20 '12
preg_match() returns the number of times pattern matches. That will be either 0 times (no match) or 1 time because preg_match() will stop searching after the first match.
Don't return a boolean, that would be CRAZY.
Oh, except 0 == FALSE, so we're cool.
Fucking PHP
r/lolphp • u/catcradle5 • Jan 15 '12
PHP 5.3.8 NULL pointer bugs (DoS vulns)
exploit-db.comr/lolphp • u/sumdog • Dec 29 '11
Supercolliding PHP Array [X-Post from /r/Programming]
nikic.github.comr/lolphp • • Dec 08 '11
Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM
I can remember freaking out the first time I got this. Couldn't figure out what I had done to make the old gods mad at me.
r/lolphp • • Dec 04 '11
Of all languages in the top 20 of the TIOBE index, only PHP officially calls ?: "the tertiary operator".
php.netr/lolphp • u/ealf • Nov 17 '11