Skip to main content

Timeline for ETAOIN SHRDLU golf

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Oct 24, 2017 at 15:38 comment added Titus echo join(array_keys($f)); can save one byte
Jul 7, 2014 at 20:47 comment added fluffy Insofar as anything in PHP makes sense. Holy moly.
Jul 3, 2014 at 13:44 comment added Abraham Ah, thanks. Makes sense now.
Jul 3, 2014 at 13:42 comment added Aurel Bílý In PHP ~ is the bitwise NOT operator, and you can apply it to strings as well, in which case it works on every character. Furthermore, PHP is happy to parse strings of text as string literals given that there are no special characters in them (e.g. operators, $ for variables, semicolon, parantheses ...). So, writing ~‹§æ“Ö¢‹ö (the bitwise inverted version) instead of "#[A-z]#e" saves one byte, as it does not have to be quoted.
Jul 3, 2014 at 13:33 comment added Abraham How do the special characters in preg_filter() work?
Jul 3, 2014 at 13:07 history answered Aurel Bílý CC BY-SA 3.0