3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function stripNonValidCharaters ($message) { $message = mb_convert_encoding($message, 'UTF-16', 'UTF-8'); $count = 0; //mostly taken from https://dynmark.uservoice.com/knowledgebase/articles/83496-gsm-alphabet-character-set $search = [ '`', '‘', '’', //single quotes '“', '”', //double quotes '~', '¬', '|' //misc ]; $replace = [ '\'', '\'', '\'', //single quotes '"', '"', //double quotes '-', '-', 'I' //misc ]; $message = str_replace($search, $replace, $message, $count); $validGSMKeycodes = [ 0x0040, 0x0394, 0x0020, 0x0030, 0x00a1, 0x0050, 0x00bf, 0x0070, 0x00A3, 0x005f, 0x0021, 0x0031, 0x0041, 0x0051, 0x0061, 0x0071, 0x0024, 0x03a6, 0x0022, 0x0032, 0x0042, 0x0052, 0x0062, 0x0072, 0x00a5, 0x0393, 0x0023, 0x0033, 0x0043, 0x0053, 0x0063, 0x0073, 0x00e8, 0x039b, 0x00a4, 0x0034, 0x0035, 0x0044, 0x0054, 0x0064, 0x0074, 0x00e9, 0x03a9, 0x0025, 0x0045, 0x0045, 0x0055, 0x0065, 0x0075, 0x00f9, 0x03a0, 0x0026, 0x0036, 0x0046, 0x0056, 0x0066, 0x0076, 0x00ec, 0x03a8, 0x0027, 0x0037, 0x0047, 0x0057, 0x0067, 0x0077, 0x00f2, 0x03a3, 0x0028, 0x0038, 0x0048, 0x0058, 0x0068, 0x0078, 0x00c7, 0x0398, 0x0029, 0x0039, 0x0049, 0x0059, 0x0069, 0x0079, 0x000a, 0x039e, 0x002a, 0x003a, 0x004a, 0x005a, 0x006a, 0x007a, 0x00d8, 0x001b, 0x002b, 0x003b, 0x004b, 0x00c4, 0x006b, 0x00e4, 0x00f8, 0x00c6, 0x002c, 0x003c, 0x004c, 0x00d6, 0x006c, 0x00f6, 0x000d, 0x00e6, 0x002d, 0x003d, 0x004d, 0x00d1, 0x006d, 0x00f1, 0x00c5, 0x00df, 0x002e, 0x003e, 0x004e, 0x00dc, 0x006e, 0x00fc, 0x00e5, 0x00c9, 0x002f, 0x003f, 0x004f, 0x00a7, 0x006f, 0x00e0, 0x03d5, 0x00E8, 0x00E9, 0x00F9, 0x00EC, 0x00F2, 0x00E7, 0x00D8, 0x00A5 ]; for($i = 0; $i < strlen($message); $i++) { echo mb_substr($message, $i, 1) . ' - '. hexdec(bin2hex(mb_substr($message, $i, 2))). "\n"; if(!in_array(hexdec(bin2hex(mb_substr($message, $i, 1))), $validGSMKeycodes, true)) { $message[$i] = ''; $count++; } } $message = mb_convert_encoding($message, 'UTF-8', 'UTF-16'); $message = trim($message); return ['message' => $message, 'replacements' => $count]; } $message= "@£\$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞÆæßÉ !\"#¤%&'()*+,-./0123456789:;>=<?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüàExtended: €[\]^{|}~"; var_dump(stripNonValidCharaters($message));
based on TQc1Y
Output for 7.1.0
- 64 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 @ - 16384 - 163 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 41728 - 36 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 $ - 9216 - 165 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 42240 - 15204585 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 �� - 3892373760 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 249 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 63744 - 15466738 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 �� - 3959484928 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 50944 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 3338721280 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 14156024 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 63488 - 50432 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 846123565972 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 �� - 3842216960 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 95 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 _ - 24323  - 934 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 42499 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46  - 915 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 37635 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46  - 923 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 39683 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46  - 937 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 43267 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46  - 928 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 40963 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46  - 936 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 43011 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46  - 931 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 41731  - 920 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 38915 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46  - 926 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 40448 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 50688 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 850418598111 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 �� - 3858816768 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 51456 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 13172768 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 8192 - 33 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 ! - 8448 - 34 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 " - 8704 - 35 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 # - 8960 - 164 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 41984 - 37 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 % - 9472 - 38 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 & - 9728 - 39 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 ' - 9984 - 40 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 ( - 10240 - 41 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 ) - 10496 - 42 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 * - 10752 - 43 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 + - 11008 - 44 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 , - 11264 - 45 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - - 11520 - 46 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 . - 11776 - 47 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 / - 12032 - 48 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 0 - 12288 - 49 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 1 - 12544 - 50 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 2 - 12800 - 51 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 3 - 13056 - 52 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 4 - 13312 - 53 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 5 - 13568 - 54 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 6 - 13824 - 55 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 7 - 14080 - 56 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 8 - 14336 - 57 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 9 - 14592 - 58 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 : - 14848 - 59 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 ; - 15104 - 62 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 > - 15872 - 61 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 = - 15616 - 60 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 < - 15360 - 63 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 ? - 16128 - 161 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 41216 - 65 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 A - 16640 - 66 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 B - 16896 - 67 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 C - 17152 - 68 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 D - 17408 - 69 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 E - 17664 - 70 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 F - 17920 - 71 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 G - 18176 - 72 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 H - 18432 - 73 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 I - 18688 - 74 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 J - 18944 - 75 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 K - 19200 - 76 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 L - 19456 - 77 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 M - 19712 - 78 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 N - 19968 - 79 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 O - 20224 - 80 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 P - 20480 - 81 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 Q - 20736 - 82 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 R - 20992 - 83 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 S - 21248 - 84 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 T - 21504 - 85 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 U - 21760 - 86 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 V - 22016 - 87 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 W - 22272 - 88 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 X - 22528 - 89 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 Y - 22784 - 90 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 Z - 23040 - 50176 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 3288389120 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 3590377728 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 3506494464 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 14418087 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 42752 - 191 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 � - 48896 - 97 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 a - 24832 - 98 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 b - 25088 - 99 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 c - 25344 - 100 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 d - 25600 - 101 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 e - 25856 - 102 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 f - 26112 - 103 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 g - 26368 - 104 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 h - 26624 - 105 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 i - 26880 - 106 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 j - 27136 - 107 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 k - 27392 - 108 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 l - 27648 - 109 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 m - 27904 - 110 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 n - 28160 - 111 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 o - 28416 - 112 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 p - 28672 - 113 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 q - 28928 - 114 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 r - 29184 - 115 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 s - 29440 - 116 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 t - 29696 - 117 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 u - 29952 - 118 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 v - 30208 - 119 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 w - 30464 - 120 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 x - 30720 - 121 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 y - 30976 - 122 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 z - 31232 - 14942454 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 �� - 3825268224 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 4043373568 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 �� - 67836551733706821 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 �E - 3758114048 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 120 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 x - 30720 - 116 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 t - 29696 - 101 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 e - 25856 - 110 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 n - 28160 - 100 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 d - 25600 - 101 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 e - 25856 - 100 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 d - 25600 - 58 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 : - 14848 - 32 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 8224 - 8364 � - 44032 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 91 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 [ - 23296 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 92 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 \ - 23552 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 93 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 ] - 23808 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 94 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 ^ - 24064 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 123 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 { - 31488 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 73 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 I - 18688 - 125 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 } - 32000 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 45 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - - 45 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 - 0 Warning: Cannot assign an empty string to a string offset in /in/pf03O on line 46 array(2) { ["message"]=> string(185) "@£$¥èéùìòÇØøÅåΔ_ΦΓΛΩΠΨΣΘΞÆæßÉ !"#¤%&'()*+,-./0123456789:;>=<?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüàExtended: €[\]^{I}-" ["replacements"]=> int(183) }
Output for 5.6.7 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.0.14
- 64 @ - 16384 - 163 � - 41728 - 36 $ - 9216 - 165 � - 42240 - 15204585 �� - 3892373760 - 15270137 �� - 3909155072 - 249 � - 63744 - 15466738 �� - 3959484928 - 4060137216 �� - 266085152643072 - 50944 � - 3338721280 - 55296 � - 14156024 - 248 � - 63488 - 50432 � - 846123565972 - 15008660 �� - 3842216960  - 916 � - 37888 - 95 _ - 24323  - 934 � - 42499  - 915 � - 37635  - 923 � - 39683  - 937 � - 43267  - 928 � - 40963  - 936 � - 43011  - 931 � - 41731  - 920 � - 38915  - 926 � - 40448 - 50688 � - 850418598111 - 15073503 �� - 3858816768 - 57088 � - 3741370624 - 51456 � - 13172768 - 32 - 8192 - 33 ! - 8448 - 34 " - 8704 - 35 # - 8960 - 164 � - 41984 - 37 % - 9472 - 38 & - 9728 - 39 ' - 9984 - 40 ( - 10240 - 41 ) - 10496 - 42 * - 10752 - 43 + - 11008 - 44 , - 11264 - 45 - - 11520 - 46 . - 11776 - 47 / - 12032 - 48 0 - 12288 - 49 1 - 12544 - 50 2 - 12800 - 51 3 - 13056 - 52 4 - 13312 - 53 5 - 13568 - 54 6 - 13824 - 55 7 - 14080 - 56 8 - 14336 - 57 9 - 14592 - 58 : - 14848 - 59 ; - 15104 - 62 > - 15872 - 61 = - 15616 - 60 < - 15360 - 63 ? - 16128 - 161 � - 41216 - 65 A - 16640 - 66 B - 16896 - 67 C - 17152 - 68 D - 17408 - 69 E - 17664 - 70 F - 17920 - 71 G - 18176 - 72 H - 18432 - 73 I - 18688 - 74 J - 18944 - 75 K - 19200 - 76 L - 19456 - 77 M - 19712 - 78 N - 19968 - 79 O - 20224 - 80 P - 20480 - 81 Q - 20736 - 82 R - 20992 - 83 S - 21248 - 84 T - 21504 - 85 U - 21760 - 86 V - 22016 - 87 W - 22272 - 88 X - 22528 - 89 Y - 22784 - 90 Z - 23040 - 50176 � - 3288389120 - 54784 � - 3590377728 - 53504 � - 3506494464 - 56320 � - 14418087 - 167 � - 42752 - 191 � - 48896 - 97 a - 24832 - 98 b - 25088 - 99 c - 25344 - 100 d - 25600 - 101 e - 25856 - 102 f - 26112 - 103 g - 26368 - 104 h - 26624 - 105 i - 26880 - 106 j - 27136 - 107 k - 27392 - 108 l - 27648 - 109 m - 27904 - 110 n - 28160 - 111 o - 28416 - 112 p - 28672 - 113 q - 28928 - 114 r - 29184 - 115 s - 29440 - 116 t - 29696 - 117 u - 29952 - 118 v - 30208 - 119 w - 30464 - 120 x - 30720 - 121 y - 30976 - 122 z - 31232 - 14942454 �� - 3825268224 - 246 � - 62976 - 4043373568 �� - 67836551733706821 - 252 � - 64512 - 14680133 �E - 3758114048 - 69 E - 17664 - 120 x - 30720 - 116 t - 29696 - 101 e - 25856 - 110 n - 28160 - 100 d - 25600 - 101 e - 25856 - 100 d - 25600 - 58 : - 14848 - 32 - 8224 - 8364 � - 44032 - 91 [ - 23296 - 92 \ - 23552 - 93 ] - 23808 - 94 ^ - 24064 - 123 { - 31488 - 73 I - 18688 - 125 } - 32000 - 45 - - 45 array(2) { ["message"]=> string(157) "@£$¥ùø_£ !"#¤%&'()*+,-./0123456789:;>=<?¡ABCDEFGHIJKLMNOPQRSTUVWXYZ§¿abcdefghijklmnopqrstuvwxyzöüExtended:  I-" ["replacements"]=> int(180) }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.5.35
- 64 @ - 16384 - 163 � - 41728 - 36 $ - 9216 - 165 � - 42240 - 232 � - 59392 - 233 � - 59648 - 249 � - 63744 - 236 � - 60416 - 242 � - 61952 - 199 � - 50944 - 216 � - 55296 - 248 � - 63488 - 197 � - 50432 - 229 � - 58627  - 916 � - 37888 - 95 _ - 24323  - 934 � - 42499  - 915 � - 37635  - 923 � - 39683  - 937 � - 43267  - 928 � - 40963  - 936 � - 43011  - 931 � - 41731  - 920 � - 38915  - 926 � - 40448 - 198 � - 50688 - 230 � - 58880 - 223 � - 57088 - 201 � - 51456 - 32 - 8192 - 33 ! - 8448 - 34 " - 8704 - 35 # - 8960 - 164 � - 41984 - 37 % - 9472 - 38 & - 9728 - 39 ' - 9984 - 40 ( - 10240 - 41 ) - 10496 - 42 * - 10752 - 43 + - 11008 - 44 , - 11264 - 45 - - 11520 - 46 . - 11776 - 47 / - 12032 - 48 0 - 12288 - 49 1 - 12544 - 50 2 - 12800 - 51 3 - 13056 - 52 4 - 13312 - 53 5 - 13568 - 54 6 - 13824 - 55 7 - 14080 - 56 8 - 14336 - 57 9 - 14592 - 58 : - 14848 - 59 ; - 15104 - 62 > - 15872 - 61 = - 15616 - 60 < - 15360 - 63 ? - 16128 - 161 � - 41216 - 65 A - 16640 - 66 B - 16896 - 67 C - 17152 - 68 D - 17408 - 69 E - 17664 - 70 F - 17920 - 71 G - 18176 - 72 H - 18432 - 73 I - 18688 - 74 J - 18944 - 75 K - 19200 - 76 L - 19456 - 77 M - 19712 - 78 N - 19968 - 79 O - 20224 - 80 P - 20480 - 81 Q - 20736 - 82 R - 20992 - 83 S - 21248 - 84 T - 21504 - 85 U - 21760 - 86 V - 22016 - 87 W - 22272 - 88 X - 22528 - 89 Y - 22784 - 90 Z - 23040 - 196 � - 50176 - 214 � - 54784 - 209 � - 53504 - 220 � - 56320 - 167 � - 42752 - 191 � - 48896 - 97 a - 24832 - 98 b - 25088 - 99 c - 25344 - 100 d - 25600 - 101 e - 25856 - 102 f - 26112 - 103 g - 26368 - 104 h - 26624 - 105 i - 26880 - 106 j - 27136 - 107 k - 27392 - 108 l - 27648 - 109 m - 27904 - 110 n - 28160 - 111 o - 28416 - 112 p - 28672 - 113 q - 28928 - 114 r - 29184 - 115 s - 29440 - 116 t - 29696 - 117 u - 29952 - 118 v - 30208 - 119 w - 30464 - 120 x - 30720 - 121 y - 30976 - 122 z - 31232 - 228 � - 58368 - 246 � - 62976 - 241 � - 61696 - 252 � - 64512 - 224 � - 57344 - 69 E - 17664 - 120 x - 30720 - 116 t - 29696 - 101 e - 25856 - 110 n - 28160 - 100 d - 25600 - 101 e - 25856 - 100 d - 25600 - 58 : - 14848 - 32 - 8224 - 8364 � - 44032 - 91 [ - 23296 - 92 \ - 23552 - 93 ] - 23808 - 94 ^ - 24064 - 123 { - 31488 - 73 I - 18688 - 125 } - 32000 - 45 - - 45 array(2) { ["message"]=> string(176) "@£$¥èéùìòÇØøÅå_£ÆæßÉ !"#¤%&'()*+,-./0123456789:;>=<?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüàExtended:  I-" ["replacements"]=> int(161) }
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/pf03O on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/pf03O on line 9
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/pf03O on line 9
Process exited with code 255.