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 hugo@lysator.liu.se.
$a = "1d9"; echo $a; echo ++$a; echo ++$a;
=> 1d9 => 1e0 => 2
[98, 99, 100].sort();
[100, 98, 99]
[,,] == ","
true