3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i <= 255; $i++) var_dump(chr($i XOR 128) !== chr($i), bin2hex(chr($i)), bin2hex(chr($i XOR 128)));
based on mAacM
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
bool(true) string(2) "00" string(2) "01" bool(true) string(2) "01" string(2) "00" bool(true) string(2) "02" string(2) "00" bool(true) string(2) "03" string(2) "00" bool(true) string(2) "04" string(2) "00" bool(true) string(2) "05" string(2) "00" bool(true) string(2) "06" string(2) "00" bool(true) string(2) "07" string(2) "00" bool(true) string(2) "08" string(2) "00" bool(true) string(2) "09" string(2) "00" bool(true) string(2) "0a" string(2) "00" bool(true) string(2) "0b" string(2) "00" bool(true) string(2) "0c" string(2) "00" bool(true) string(2) "0d" string(2) "00" bool(true) string(2) "0e" string(2) "00" bool(true) string(2) "0f" string(2) "00" bool(true) string(2) "10" string(2) "00" bool(true) string(2) "11" string(2) "00" bool(true) string(2) "12" string(2) "00" bool(true) string(2) "13" string(2) "00" bool(true) string(2) "14" string(2) "00" bool(true) string(2) "15" string(2) "00" bool(true) string(2) "16" string(2) "00" bool(true) string(2) "17" string(2) "00" bool(true) string(2) "18" string(2) "00" bool(true) string(2) "19" string(2) "00" bool(true) string(2) "1a" string(2) "00" bool(true) string(2) "1b" string(2) "00" bool(true) string(2) "1c" string(2) "00" bool(true) string(2) "1d" string(2) "00" bool(true) string(2) "1e" string(2) "00" bool(true) string(2) "1f" string(2) "00" bool(true) string(2) "20" string(2) "00" bool(true) string(2) "21" string(2) "00" bool(true) string(2) "22" string(2) "00" bool(true) string(2) "23" string(2) "00" bool(true) string(2) "24" string(2) "00" bool(true) string(2) "25" string(2) "00" bool(true) string(2) "26" string(2) "00" bool(true) string(2) "27" string(2) "00" bool(true) string(2) "28" string(2) "00" bool(true) string(2) "29" string(2) "00" bool(true) string(2) "2a" string(2) "00" bool(true) string(2) "2b" string(2) "00" bool(true) string(2) "2c" string(2) "00" bool(true) string(2) "2d" string(2) "00" bool(true) string(2) "2e" string(2) "00" bool(true) string(2) "2f" string(2) "00" bool(true) string(2) "30" string(2) "00" bool(true) string(2) "31" string(2) "00" bool(true) string(2) "32" string(2) "00" bool(true) string(2) "33" string(2) "00" bool(true) string(2) "34" string(2) "00" bool(true) string(2) "35" string(2) "00" bool(true) string(2) "36" string(2) "00" bool(true) string(2) "37" string(2) "00" bool(true) string(2) "38" string(2) "00" bool(true) string(2) "39" string(2) "00" bool(true) string(2) "3a" string(2) "00" bool(true) string(2) "3b" string(2) "00" bool(true) string(2) "3c" string(2) "00" bool(true) string(2) "3d" string(2) "00" bool(true) string(2) "3e" string(2) "00" bool(true) string(2) "3f" string(2) "00" bool(true) string(2) "40" string(2) "00" bool(true) string(2) "41" string(2) "00" bool(true) string(2) "42" string(2) "00" bool(true) string(2) "43" string(2) "00" bool(true) string(2) "44" string(2) "00" bool(true) string(2) "45" string(2) "00" bool(true) string(2) "46" string(2) "00" bool(true) string(2) "47" string(2) "00" bool(true) string(2) "48" string(2) "00" bool(true) string(2) "49" string(2) "00" bool(true) string(2) "4a" string(2) "00" bool(true) string(2) "4b" string(2) "00" bool(true) string(2) "4c" string(2) "00" bool(true) string(2) "4d" string(2) "00" bool(true) string(2) "4e" string(2) "00" bool(true) string(2) "4f" string(2) "00" bool(true) string(2) "50" string(2) "00" bool(true) string(2) "51" string(2) "00" bool(true) string(2) "52" string(2) "00" bool(true) string(2) "53" string(2) "00" bool(true) string(2) "54" string(2) "00" bool(true) string(2) "55" string(2) "00" bool(true) string(2) "56" string(2) "00" bool(true) string(2) "57" string(2) "00" bool(true) string(2) "58" string(2) "00" bool(true) string(2) "59" string(2) "00" bool(true) string(2) "5a" string(2) "00" bool(true) string(2) "5b" string(2) "00" bool(true) string(2) "5c" string(2) "00" bool(true) string(2) "5d" string(2) "00" bool(true) string(2) "5e" string(2) "00" bool(true) string(2) "5f" string(2) "00" bool(true) string(2) "60" string(2) "00" bool(true) string(2) "61" string(2) "00" bool(true) string(2) "62" string(2) "00" bool(true) string(2) "63" string(2) "00" bool(true) string(2) "64" string(2) "00" bool(true) string(2) "65" string(2) "00" bool(true) string(2) "66" string(2) "00" bool(true) string(2) "67" string(2) "00" bool(true) string(2) "68" string(2) "00" bool(true) string(2) "69" string(2) "00" bool(true) string(2) "6a" string(2) "00" bool(true) string(2) "6b" string(2) "00" bool(true) string(2) "6c" string(2) "00" bool(true) string(2) "6d" string(2) "00" bool(true) string(2) "6e" string(2) "00" bool(true) string(2) "6f" string(2) "00" bool(true) string(2) "70" string(2) "00" bool(true) string(2) "71" string(2) "00" bool(true) string(2) "72" string(2) "00" bool(true) string(2) "73" string(2) "00" bool(true) string(2) "74" string(2) "00" bool(true) string(2) "75" string(2) "00" bool(true) string(2) "76" string(2) "00" bool(true) string(2) "77" string(2) "00" bool(true) string(2) "78" string(2) "00" bool(true) string(2) "79" string(2) "00" bool(true) string(2) "7a" string(2) "00" bool(true) string(2) "7b" string(2) "00" bool(true) string(2) "7c" string(2) "00" bool(true) string(2) "7d" string(2) "00" bool(true) string(2) "7e" string(2) "00" bool(true) string(2) "7f" string(2) "00" bool(true) string(2) "80" string(2) "00" bool(true) string(2) "81" string(2) "00" bool(true) string(2) "82" string(2) "00" bool(true) string(2) "83" string(2) "00" bool(true) string(2) "84" string(2) "00" bool(true) string(2) "85" string(2) "00" bool(true) string(2) "86" string(2) "00" bool(true) string(2) "87" string(2) "00" bool(true) string(2) "88" string(2) "00" bool(true) string(2) "89" string(2) "00" bool(true) string(2) "8a" string(2) "00" bool(true) string(2) "8b" string(2) "00" bool(true) string(2) "8c" string(2) "00" bool(true) string(2) "8d" string(2) "00" bool(true) string(2) "8e" string(2) "00" bool(true) string(2) "8f" string(2) "00" bool(true) string(2) "90" string(2) "00" bool(true) string(2) "91" string(2) "00" bool(true) string(2) "92" string(2) "00" bool(true) string(2) "93" string(2) "00" bool(true) string(2) "94" string(2) "00" bool(true) string(2) "95" string(2) "00" bool(true) string(2) "96" string(2) "00" bool(true) string(2) "97" string(2) "00" bool(true) string(2) "98" string(2) "00" bool(true) string(2) "99" string(2) "00" bool(true) string(2) "9a" string(2) "00" bool(true) string(2) "9b" string(2) "00" bool(true) string(2) "9c" string(2) "00" bool(true) string(2) "9d" string(2) "00" bool(true) string(2) "9e" string(2) "00" bool(true) string(2) "9f" string(2) "00" bool(true) string(2) "a0" string(2) "00" bool(true) string(2) "a1" string(2) "00" bool(true) string(2) "a2" string(2) "00" bool(true) string(2) "a3" string(2) "00" bool(true) string(2) "a4" string(2) "00" bool(true) string(2) "a5" string(2) "00" bool(true) string(2) "a6" string(2) "00" bool(true) string(2) "a7" string(2) "00" bool(true) string(2) "a8" string(2) "00" bool(true) string(2) "a9" string(2) "00" bool(true) string(2) "aa" string(2) "00" bool(true) string(2) "ab" string(2) "00" bool(true) string(2) "ac" string(2) "00" bool(true) string(2) "ad" string(2) "00" bool(true) string(2) "ae" string(2) "00" bool(true) string(2) "af" string(2) "00" bool(true) string(2) "b0" string(2) "00" bool(true) string(2) "b1" string(2) "00" bool(true) string(2) "b2" string(2) "00" bool(true) string(2) "b3" string(2) "00" bool(true) string(2) "b4" string(2) "00" bool(true) string(2) "b5" string(2) "00" bool(true) string(2) "b6" string(2) "00" bool(true) string(2) "b7" string(2) "00" bool(true) string(2) "b8" string(2) "00" bool(true) string(2) "b9" string(2) "00" bool(true) string(2) "ba" string(2) "00" bool(true) string(2) "bb" string(2) "00" bool(true) string(2) "bc" string(2) "00" bool(true) string(2) "bd" string(2) "00" bool(true) string(2) "be" string(2) "00" bool(true) string(2) "bf" string(2) "00" bool(true) string(2) "c0" string(2) "00" bool(true) string(2) "c1" string(2) "00" bool(true) string(2) "c2" string(2) "00" bool(true) string(2) "c3" string(2) "00" bool(true) string(2) "c4" string(2) "00" bool(true) string(2) "c5" string(2) "00" bool(true) string(2) "c6" string(2) "00" bool(true) string(2) "c7" string(2) "00" bool(true) string(2) "c8" string(2) "00" bool(true) string(2) "c9" string(2) "00" bool(true) string(2) "ca" string(2) "00" bool(true) string(2) "cb" string(2) "00" bool(true) string(2) "cc" string(2) "00" bool(true) string(2) "cd" string(2) "00" bool(true) string(2) "ce" string(2) "00" bool(true) string(2) "cf" string(2) "00" bool(true) string(2) "d0" string(2) "00" bool(true) string(2) "d1" string(2) "00" bool(true) string(2) "d2" string(2) "00" bool(true) string(2) "d3" string(2) "00" bool(true) string(2) "d4" string(2) "00" bool(true) string(2) "d5" string(2) "00" bool(true) string(2) "d6" string(2) "00" bool(true) string(2) "d7" string(2) "00" bool(true) string(2) "d8" string(2) "00" bool(true) string(2) "d9" string(2) "00" bool(true) string(2) "da" string(2) "00" bool(true) string(2) "db" string(2) "00" bool(true) string(2) "dc" string(2) "00" bool(true) string(2) "dd" string(2) "00" bool(true) string(2) "de" string(2) "00" bool(true) string(2) "df" string(2) "00" bool(true) string(2) "e0" string(2) "00" bool(true) string(2) "e1" string(2) "00" bool(true) string(2) "e2" string(2) "00" bool(true) string(2) "e3" string(2) "00" bool(true) string(2) "e4" string(2) "00" bool(true) string(2) "e5" string(2) "00" bool(true) string(2) "e6" string(2) "00" bool(true) string(2) "e7" string(2) "00" bool(true) string(2) "e8" string(2) "00" bool(true) string(2) "e9" string(2) "00" bool(true) string(2) "ea" string(2) "00" bool(true) string(2) "eb" string(2) "00" bool(true) string(2) "ec" string(2) "00" bool(true) string(2) "ed" string(2) "00" bool(true) string(2) "ee" string(2) "00" bool(true) string(2) "ef" string(2) "00" bool(true) string(2) "f0" string(2) "00" bool(true) string(2) "f1" string(2) "00" bool(true) string(2) "f2" string(2) "00" bool(true) string(2) "f3" string(2) "00" bool(true) string(2) "f4" string(2) "00" bool(true) string(2) "f5" string(2) "00" bool(true) string(2) "f6" string(2) "00" bool(true) string(2) "f7" string(2) "00" bool(true) string(2) "f8" string(2) "00" bool(true) string(2) "f9" string(2) "00" bool(true) string(2) "fa" string(2) "00" bool(true) string(2) "fb" string(2) "00" bool(true) string(2) "fc" string(2) "00" bool(true) string(2) "fd" string(2) "00" bool(true) string(2) "fe" string(2) "00" bool(true) string(2) "ff" string(2) "00"
Output for hhvm-3.10.0

Process exited with code 153.