3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php /** SENDING **/ $td = mcrypt_module_open('twofish', '', 'cbc', ''); $iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td)); $key = substr(md5('mylittlepony').sha1('flutershyismylove'), 0, 31); mcrypt_generic_init($td, $key, $iv); $encrypted = mcrypt_generic($td, 'This is very important data'); $message = base64_encode($encrypted).'||'.base64_encode($iv); echo $message, "\n"; /** RECEIVING **/ $a = explode('||', $message); var_dump($a); $message = base64_decode($a[0]); $td = mcrypt_module_open('twofish', '', 'cbc', ''); $iv = base64_decode($a[1]); $key = substr(md5('mylittlepony').sha1('flutershyismylove'), 0, 31); mcrypt_generic_init($td, $key, $iv); $decrypted = mdecrypt_generic($td, $message); mcrypt_generic_deinit($td); mcrypt_module_close($td); $decrypted = trim($decrypted); echo $decrypted, "\n";
Output for 7.0.6 - 7.2.6
Fatal error: Uncaught Error: Call to undefined function mcrypt_module_open() in /in/kihc4:6 Stack trace: #0 {main} thrown in /in/kihc4 on line 6
Process exited with code 255.
Output for 7.0.5
Cg6Ysk9Dsfup+dUQbiPSGt6ZbDlzz55HX9tlT1V0Jl0=||5+O792IaOnYi6MZWmZbc8w== array(2) { [0]=> string(44) "Cg6Ysk9Dsfup+dUQbiPSGt6ZbDlzz55HX9tlT1V0Jl0=" [1]=> string(24) "5+O792IaOnYi6MZWmZbc8w==" } This is very important data
Output for 7.0.4
wnpOoC0mzk/PzkGrj0ONwssKbnZD0ufRKt+hVDI6YAw=||GQHxwE1POBArnBVH2Ly9wg== array(2) { [0]=> string(44) "wnpOoC0mzk/PzkGrj0ONwssKbnZD0ufRKt+hVDI6YAw=" [1]=> string(24) "GQHxwE1POBArnBVH2Ly9wg==" } This is very important data
Output for 7.0.3
yft/7Sie2SXy6yp4POk7w5ejldcYA1CYVvSINoJnJAE=||A68Y1TtnMGEZz0NGt5qYTA== array(2) { [0]=> string(44) "yft/7Sie2SXy6yp4POk7w5ejldcYA1CYVvSINoJnJAE=" [1]=> string(24) "A68Y1TtnMGEZz0NGt5qYTA==" } This is very important data
Output for 7.0.2
waBH3ys8tPmho9HKHJ3IVBorD6m41ftTdecOEQV0pzw=||3FHwM2SPT+PCMB60rTF+Hw== array(2) { [0]=> string(44) "waBH3ys8tPmho9HKHJ3IVBorD6m41ftTdecOEQV0pzw=" [1]=> string(24) "3FHwM2SPT+PCMB60rTF+Hw==" } This is very important data
Output for 7.0.1
HsRN9RaRS23lMY2NLybcQrehL7yqbzaUsIBeVy/D/iQ=||zdat50xF0DWcUqJiJHxN9g== array(2) { [0]=> string(44) "HsRN9RaRS23lMY2NLybcQrehL7yqbzaUsIBeVy/D/iQ=" [1]=> string(24) "zdat50xF0DWcUqJiJHxN9g==" } This is very important data
Output for 7.0.0
963tE+v8mJywvbRwHSNK/tLQgbau6hI41cGkFlCJLCs=||upQpcwxoi9Gof6cvKfDJdA== array(2) { [0]=> string(44) "963tE+v8mJywvbRwHSNK/tLQgbau6hI41cGkFlCJLCs=" [1]=> string(24) "upQpcwxoi9Gof6cvKfDJdA==" } This is very important data
Output for 5.3.18 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_module_open() in /in/kihc4 on line 6
Process exited with code 255.
Output for 5.6.20
WjahVMSGC1O2fpwdaaa1eHjnEJ48S+WfxbZzfPADpmo=||jXe635G6Dsl/nz+XKNI0Tg== array(2) { [0]=> string(44) "WjahVMSGC1O2fpwdaaa1eHjnEJ48S+WfxbZzfPADpmo=" [1]=> string(24) "jXe635G6Dsl/nz+XKNI0Tg==" } This is very important data
Output for 5.6.19
3eEZM5mZVW2uW0sPJKmX0vajCPTdxOPdkSzpeDxynN8=||bT/XnfHzq0LHzZPK0e0fpQ== array(2) { [0]=> string(44) "3eEZM5mZVW2uW0sPJKmX0vajCPTdxOPdkSzpeDxynN8=" [1]=> string(24) "bT/XnfHzq0LHzZPK0e0fpQ==" } This is very important data
Output for 5.6.18
mrrbtYIWBB4GPx7MnthvML1OrH0QG9he/JKJjcFq86I=||TMt88GjYpAlu6wnAopPIrg== array(2) { [0]=> string(44) "mrrbtYIWBB4GPx7MnthvML1OrH0QG9he/JKJjcFq86I=" [1]=> string(24) "TMt88GjYpAlu6wnAopPIrg==" } This is very important data
Output for 5.6.17
8vmoPeVT7QgHcFwHY/i3LBnvlpnMbtJcVYIeQ+uN2b4=||Si3LlApEsLakdSR4/bTOig== array(2) { [0]=> string(44) "8vmoPeVT7QgHcFwHY/i3LBnvlpnMbtJcVYIeQ+uN2b4=" [1]=> string(24) "Si3LlApEsLakdSR4/bTOig==" } This is very important data
Output for 5.6.16
CEILzuVNjfx7kZySXvQNcumN9K2HWf6Y3A8oJNvUzB0=||13XZrJ6qoHVMUhAMpkkTNQ== array(2) { [0]=> string(44) "CEILzuVNjfx7kZySXvQNcumN9K2HWf6Y3A8oJNvUzB0=" [1]=> string(24) "13XZrJ6qoHVMUhAMpkkTNQ==" } This is very important data
Output for 5.6.15
QzV5FqrjACU1pd2njOBfP7GVJL0Lxeu563kmR5H3TJc=||QKL+wron8ba3NFnWDSMctQ== array(2) { [0]=> string(44) "QzV5FqrjACU1pd2njOBfP7GVJL0Lxeu563kmR5H3TJc=" [1]=> string(24) "QKL+wron8ba3NFnWDSMctQ==" } This is very important data
Output for 5.6.14
ZQuG0V0Z8aLApSEB66sw34XC177GtphQRhiSQn1kA2U=||Fy09JWbU64fw29YvcR9KlA== array(2) { [0]=> string(44) "ZQuG0V0Z8aLApSEB66sw34XC177GtphQRhiSQn1kA2U=" [1]=> string(24) "Fy09JWbU64fw29YvcR9KlA==" } This is very important data
Output for 5.6.13
IpLyYEFHDr06NMnGk4vvqQ/n7Js5rtgTlH0z9nsMgh0=||XYgyyaQXZifLINsn01U4wg== array(2) { [0]=> string(44) "IpLyYEFHDr06NMnGk4vvqQ/n7Js5rtgTlH0z9nsMgh0=" [1]=> string(24) "XYgyyaQXZifLINsn01U4wg==" } This is very important data
Output for 5.6.12
Ey6GnqaF7ktey8AQwLID9QNNRgWMYlwicC/31CEl5zs=||riinGu/g0/gOQVB6AYrkbg== array(2) { [0]=> string(44) "Ey6GnqaF7ktey8AQwLID9QNNRgWMYlwicC/31CEl5zs=" [1]=> string(24) "riinGu/g0/gOQVB6AYrkbg==" } This is very important data
Output for 5.6.11
4c7eipv4D5rm8tB6rFCL2xOCX4QlCodUyO4AyzViVWc=||v4al/OfHqpj8C9v1PsDEAg== array(2) { [0]=> string(44) "4c7eipv4D5rm8tB6rFCL2xOCX4QlCodUyO4AyzViVWc=" [1]=> string(24) "v4al/OfHqpj8C9v1PsDEAg==" } This is very important data
Output for 5.6.10
HxO38QAavsXLj0rAQ0R4dwb6El5TP1r/NjGDJ5JBaGw=||opltBKHMbsR5XNyc3VjPqg== array(2) { [0]=> string(44) "HxO38QAavsXLj0rAQ0R4dwb6El5TP1r/NjGDJ5JBaGw=" [1]=> string(24) "opltBKHMbsR5XNyc3VjPqg==" } This is very important data
Output for 5.6.9
8dG/TYIF7HlhP3FJzWV+LuU2SdJg2cgRQYmU8VdfsbY=||HzS0IvL/OWLy5itKObiwZA== array(2) { [0]=> string(44) "8dG/TYIF7HlhP3FJzWV+LuU2SdJg2cgRQYmU8VdfsbY=" [1]=> string(24) "HzS0IvL/OWLy5itKObiwZA==" } This is very important data
Output for 5.6.8
m+rUdop4ovwDmrG4nD8sBO52JfakjLt6nCj47GzbcxM=||f3WhCk4VBuSHjDGKcyUWTA== array(2) { [0]=> string(44) "m+rUdop4ovwDmrG4nD8sBO52JfakjLt6nCj47GzbcxM=" [1]=> string(24) "f3WhCk4VBuSHjDGKcyUWTA==" } This is very important data
Output for 5.6.7
5p4+hiykFAN23aK21yWhQj+7v3bPB+QWfpi864k3aGo=||pdwt/2g7NZw5cfKZZgWyAw== array(2) { [0]=> string(44) "5p4+hiykFAN23aK21yWhQj+7v3bPB+QWfpi864k3aGo=" [1]=> string(24) "pdwt/2g7NZw5cfKZZgWyAw==" } This is very important data
Output for 5.5.34
nTrIwFv4DdSFze7UTbmjJFyZjkHr7qVQUPQq9yRPfYM=||YcHgVQDl9uQlgUa73+5b3g== array(2) { [0]=> string(44) "nTrIwFv4DdSFze7UTbmjJFyZjkHr7qVQUPQq9yRPfYM=" [1]=> string(24) "YcHgVQDl9uQlgUa73+5b3g==" } This is very important data
Output for 5.5.33
Ex8xBgA5P+4C1bX4fiyDrBpTfoyVuTSSSZ14b75jQtI=||Gf1Gojaw/NJ1GGLk57cV3w== array(2) { [0]=> string(44) "Ex8xBgA5P+4C1bX4fiyDrBpTfoyVuTSSSZ14b75jQtI=" [1]=> string(24) "Gf1Gojaw/NJ1GGLk57cV3w==" } This is very important data
Output for 5.5.32
JZszWSyZj8NwO8PRKVRgEOEOZ1qoQVma8TUUtWWwN0Q=||udG/BwmTwu3u0gZjK/GJJg== array(2) { [0]=> string(44) "JZszWSyZj8NwO8PRKVRgEOEOZ1qoQVma8TUUtWWwN0Q=" [1]=> string(24) "udG/BwmTwu3u0gZjK/GJJg==" } This is very important data
Output for 5.5.31
jE5MxBJESQLHByPB8gL90bPktpE5r04HEZDOZOabJtI=||kXmSjSIk7hhCuxcjkaODeg== array(2) { [0]=> string(44) "jE5MxBJESQLHByPB8gL90bPktpE5r04HEZDOZOabJtI=" [1]=> string(24) "kXmSjSIk7hhCuxcjkaODeg==" } This is very important data
Output for 5.5.30
xRKA4nEeIknSMoD+9G/tWg5X5Rtq3rb5A1B/XY4pgUM=||0QgeQk/uz7eR/WYgIwuArg== array(2) { [0]=> string(44) "xRKA4nEeIknSMoD+9G/tWg5X5Rtq3rb5A1B/XY4pgUM=" [1]=> string(24) "0QgeQk/uz7eR/WYgIwuArg==" } This is very important data
Output for 5.5.29
TuqSI6SY4c1J43khMWtYIb+gLWTVTHlFaNOTB239mVU=||PyYtO3GlYyF8jJ1qjTyw6Q== array(2) { [0]=> string(44) "TuqSI6SY4c1J43khMWtYIb+gLWTVTHlFaNOTB239mVU=" [1]=> string(24) "PyYtO3GlYyF8jJ1qjTyw6Q==" } This is very important data
Output for 5.5.28
MEMhokOyQ3mZGAbF88CSh05E3qu1Di/2nFCcVGjC3cg=||itXnEVgzBQMKFwn6mlCydw== array(2) { [0]=> string(44) "MEMhokOyQ3mZGAbF88CSh05E3qu1Di/2nFCcVGjC3cg=" [1]=> string(24) "itXnEVgzBQMKFwn6mlCydw==" } This is very important data
Output for 5.5.27
aCib51eKJSCFpwwh4n44d1g+LnPcEdLa/UyaU316rWw=||AYuNUo78tvB049EhIP8Ldw== array(2) { [0]=> string(44) "aCib51eKJSCFpwwh4n44d1g+LnPcEdLa/UyaU316rWw=" [1]=> string(24) "AYuNUo78tvB049EhIP8Ldw==" } This is very important data
Output for 5.5.26
c7ft+9mKt3xzo0JGPDMfxVpqGWLt63ZXDXog2rGTUUk=||b2HFGt/WFAlwWGPrK9n0OA== array(2) { [0]=> string(44) "c7ft+9mKt3xzo0JGPDMfxVpqGWLt63ZXDXog2rGTUUk=" [1]=> string(24) "b2HFGt/WFAlwWGPrK9n0OA==" } This is very important data
Output for 5.5.25
3uw4ZqRmbboURGwUD9W/m/wAC90YMh8+eLH7uc8nPxw=||PQUSIHgPKoi4jdKUXPKbJg== array(2) { [0]=> string(44) "3uw4ZqRmbboURGwUD9W/m/wAC90YMh8+eLH7uc8nPxw=" [1]=> string(24) "PQUSIHgPKoi4jdKUXPKbJg==" } This is very important data
Output for 5.5.24
jpmHOiFPhO7deqyc86Lj26Qnt+Yy99Yn36voIvdBnCg=||M6FJwYIkb2edvDV8JjMrOw== array(2) { [0]=> string(44) "jpmHOiFPhO7deqyc86Lj26Qnt+Yy99Yn36voIvdBnCg=" [1]=> string(24) "M6FJwYIkb2edvDV8JjMrOw==" } This is very important data
Output for 5.4.8 - 5.4.45

Process exited with code 137.
Output for 5.4.7
oogLd0goW1qwj+XD/+utBjaEIG3kr9TRe57NQZ9Wucg=||RdNr0HNXQMsOBm1yzjdd6Q== array(2) { [0]=> string(44) "oogLd0goW1qwj+XD/+utBjaEIG3kr9TRe57NQZ9Wucg=" [1]=> string(24) "RdNr0HNXQMsOBm1yzjdd6Q==" } This is very important data
Output for 5.4.6
9TG+r6YnSuvXVTzkWvPA3/J9DiEMMvdNAWkRUbYNcCU=||KYL07raqODqSRzhRLpnSoA== array(2) { [0]=> string(44) "9TG+r6YnSuvXVTzkWvPA3/J9DiEMMvdNAWkRUbYNcCU=" [1]=> string(24) "KYL07raqODqSRzhRLpnSoA==" } This is very important data
Output for 5.4.5
wtVXeN8Y5EYu6xDbHTCSEWZQLkd2NPvAAn0Odb0taj0=||Xy/bgELa2IGp2KrvkxU2NA== array(2) { [0]=> string(44) "wtVXeN8Y5EYu6xDbHTCSEWZQLkd2NPvAAn0Odb0taj0=" [1]=> string(24) "Xy/bgELa2IGp2KrvkxU2NA==" } This is very important data
Output for 5.4.4
7Ecc0xY7FD/MzgiS8Tozp1lLPXWUJ3OWLwg+k5jPack=||Q27bUGAsTSLy1okh4Niowg== array(2) { [0]=> string(44) "7Ecc0xY7FD/MzgiS8Tozp1lLPXWUJ3OWLwg+k5jPack=" [1]=> string(24) "Q27bUGAsTSLy1okh4Niowg==" } This is very important data
Output for 5.4.3
mOyD2WW8vfxTdGo/e+nLSxV8CFHj+u/VOeUcSAsJ5uM=||2DI0A42YJ9qMRlvREcH3jQ== array(2) { [0]=> string(44) "mOyD2WW8vfxTdGo/e+nLSxV8CFHj+u/VOeUcSAsJ5uM=" [1]=> string(24) "2DI0A42YJ9qMRlvREcH3jQ==" } This is very important data
Output for 5.4.2
1BlgX1TtKgxCQ9ZKz93VnAQXNcKgCqs+n7Yxq+krbyw=||o+D2DNZrpLDS+BSutkkGKQ== array(2) { [0]=> string(44) "1BlgX1TtKgxCQ9ZKz93VnAQXNcKgCqs+n7Yxq+krbyw=" [1]=> string(24) "o+D2DNZrpLDS+BSutkkGKQ==" } This is very important data