LolJS

This is a collection of nonsensical stuff in different programming languages. It's updated when I find something noteworthy. You can however send submissions to [email protected].

PHP

Output
$a = "1d9";
echo   $a;
echo ++$a;
echo ++$a;
Output
=> 1d9
=> 1e0
=> 2

JavaScript

Output
[98, 99, 100].sort();
Output
[100, 98, 99]
Output
[,,] == ","
Output
true