3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = 'FSHcT+sfRO/siok2ooweuA=='; $key = base64_decode($key); $message = 'I want to decode this'; $iv = mcrypt_create_iv(16, MCRYPT_DEV_URANDOM); $encrypted = mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $message, MCRYPT_MODE_CBC, $iv); $decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $encrypted, MCRYPT_MODE_CBC, $iv); print base64_encode($encrypted); ?>
based on H47bZ
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /in/p2QZ9:7 Stack trace: #0 {main} thrown in /in/p2QZ9 on line 7
Process exited with code 255.
Output for 7.0.5
6k5yL/QAOnUxiW8zVpTLr/ftygiIdLErItPs9cKUBpU=
Output for 7.0.4
AMG1Ypg02BvpqAur3yu0aAAi7k21I13VBoAnhKcP2mY=
Output for 7.0.3
TcKBu1dLKcDfCbHtpusgyD2OaClEYNdrVqZsut9i7Ow=
Output for 7.0.2
NTovVQF/lQxjwugNTBU8uKjN9ddT5GiSSbRVN78NRUA=
Output for 7.0.1
LCq/YjiwoWeznYUUuRTM0hz7VzIwcym6G9dIvu3m39A=
Output for 7.0.0
zOEZVKAMrhdJIi0lh58uIW+kUVpkQGyRE5Y0Cg6JWT4=
Output for 5.3.18 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_create_iv() in /in/p2QZ9 on line 7
Process exited with code 255.
Output for 5.6.20
Jeb7l8SgTho3mapBRHkAI80326jw7PBZwcKm+cbM5Nk=
Output for 5.6.19
a35B2Tg/cyr/fPtrwv3Fg98IXj3U1d6MD1S7UTJFepI=
Output for 5.6.18
ewcsNf2tBvooib6xCK6qfDUPCkIG6kI01s0/wJS+8Zo=
Output for 5.6.17
yk5ui7l8lQ4SQf+i1yWwfLqdC8YEviE3Tyrm1YIeDCA=
Output for 5.6.16
AXmZbroZtdw6uwnLPVkxMed7VNonT4shm9ax13jMCa8=
Output for 5.6.15
1AxmbA2qu5IajBN4+r+9qtOP3sdoLHmvE8NXqqpgbAU=
Output for 5.6.14
+XAnRhtPCfjHjseICjo6WqHIGp703UbzniVs+IQAUVY=
Output for 5.6.13
kawvTzIwXqFV1bisZlSGYT6HPqzJWi1955rdOwik1Nk=
Output for 5.6.12
88O/9bWx1M/pbIcNk/vM//dD105ARoCi9Yh3hk+7wWM=
Output for 5.6.11
LHVla8IruD5lOycYzLREyDZJXJY+JPaH/Mu3Om7j3dI=
Output for 5.6.10
bZV7HykXpKUeHXHp6OvrX2ghUGnsHX+ANdulMm/hrMQ=
Output for 5.6.9
SsarJT27Ziq8/Bk4v46uv4sVgsG+FvjDPK5IIBHn7Wk=
Output for 5.6.8
bgCJRrAMD/1lELo9n2uc46RVDdxzjL6LgrgYZTuVwOc=
Output for 5.6.7
PTyjFbT6UNZoEvG5cApiPwnLKqBIMX8Klqlv3NmRAw0=
Output for 5.5.34
EO/SxOhG48IUqmlMc+skFJkS5Cy5AJ6PsKSRyu5wAtg=
Output for 5.5.33
v+IyfJD86rWXyXxADppLbO+n3n9/tORQQI8+0lCdSBk=
Output for 5.5.32
UrwCeAous2DoSQK1bRfdKgaDhzlhacyPQKj3m00xRKw=
Output for 5.5.31
rTBxBqJdPksaeeKVQcWIWrNtbb54uFMFBCIuXOrEITY=
Output for 5.5.30
dWSWFRWW9ddwkLfBrnwfRld3EZHyS/2SuKV1p29H2TQ=
Output for 5.5.29
VNu3So5yQSr1FEwlXw7Ovhk+jMs/KqIDPRsQTQrAO8U=
Output for 5.5.28
MbTYPr/IzdlPf2rgoFCVkXAlos96ECMJWAyVAhtVEkk=
Output for 5.5.27
K+jgLnEYoeBtA3fMrW4XwYh77aGLTLdWYQ8DmezZII4=
Output for 5.5.26
f14rwl7V1I9eHSboXUwGOdGaUk3eyw1JjgEpuSJVOuE=
Output for 5.5.25
NOLUezCEvzFqPxFafBePbOa1BI07gWic8qOhJLojhak=
Output for 5.5.24
XEYQPkFStdbcZIFGctVwHsJTYQGO3I4d7zE8Pre60NQ=
Output for 5.4.45
2axPrUZJHpVeOsXDFXLeveh9/Y+rADcUeuSVSfxeMQ8=
Output for 5.4.44
8cyMb91IA9wb9rBkczLOXvqJm4FHA7g5RDOBUuKmDB8=
Output for 5.4.43
FmjhQydODH+jDBFYi7onh/gF5R1nBkbnl0BDcH1g3+8=
Output for 5.4.42
7oR4DdrUtn+Ce69VWF39dcFhipKgCi85WCwyJcRM4Yc=
Output for 5.4.41
twezajYnSt/5FawmXLxJ9ppSvnKZV5fCkX1Wb7erc6s=
Output for 5.4.40
LxNkGdLHP/EqcBNQEuSEJu1LIJUiRK/XVvDr/we1N4U=
Output for 5.4.39
NRPhyvKMmYx4F9Dd4f4Ayr3rYXeu716D50/Sz/l+HEo=
Output for 5.4.38
R4pRXTAOr4hc16hrMtKxW0KV8iHtGg18EZPb7S7Vd0U=
Output for 5.4.37
Mf+4gvNsTcF2a5RK0gLL38bq4qOQufBHbc4XTW7RQ68=
Output for 5.4.36
AdDGxa6D5Sevj1q+SGFPllj6qyO0hfFyCpVmiuAgtIE=
Output for 5.4.35
OtdG66REr8ewf3q7ozIhOee+W6jxxnCtx9fHgi0k2/w=
Output for 5.4.34
sxWh0DRMWBNnXXSDH7jSx1KBiQd8G1vKQDXAKHDAmu4=
Output for 5.4.32
RhUvaL7x8bubJ1LJJ9bz9CPwedkMiy/l0XgwwE681DQ=
Output for 5.4.31
mt+QAuUjXCQyqf/SzvP02lzj8LKZyctc2FMWhxZXr84=
Output for 5.4.30
7ctkelg+TBvHqX4pEngSTrZiuVk4WujfPrI57traeGo=
Output for 5.4.29
r7+AbiWDaz9jZUls8i9yjk+4FS16Lm6YShGUyqVxz+0=
Output for 5.4.28
TtF6EOx2Rw+hRU13Xg/LBvQjlUnIgcdX8cmkyVvswZk=
Output for 5.4.27
aVIrTLOc7v1vlHvPnMFIb7CJSwLxQwZmaglkmlV7NrU=
Output for 5.4.26
eaw0VQDRNebw8s0vuvJnijki+Ud9+ejY3CCTY/r47OQ=
Output for 5.4.25
2OtnChSwhan2ajJ6yihb5pqwQHistDKe5+bKTTtPbxQ=
Output for 5.4.24
GSaA44PQZ61T7f6wDscc4cehBEJlVa+7G+rSyJm+VI0=
Output for 5.4.23
8a5CAxz3/7q9oLLdeUM3vxaeKuIlaBPY3DkVm48s66s=
Output for 5.4.22
/Crruu8uwNtTEY5l8OCRtQpGWnBmpSbMhjXtCSLRqng=
Output for 5.4.21
XHFg/NvQuKcpeSTi7LV7SCk03fUCOux/hf4FkxnRIYE=
Output for 5.4.20
TRAZfAmf15NoB35jVNGTUJ+O9wxa9j6ZcpNDd9Kc3Ao=
Output for 5.4.19
dMyp099oK8n341sJ15jLlSbomeX1vTCCQl5Q3W4E3hI=
Output for 5.4.18
MM3KzlSn1DMTLVRZ6k0Pi6w2XBIcvwtKReyVPen/5zQ=
Output for 5.4.17
WWw5fkX55pQnExhRdev5DQMJDkpqLrLV304RgxmeRBY=
Output for 5.4.16
Nlzl8Sv1uDMCtQRUiiF5iiCRPErUkssJ+4C+/BsKYTA=
Output for 5.4.15
MP71knlZC3Wekr6hn+DrZ6TRLQPj8jTJNRQlGDDTi3M=
Output for 5.4.14
aJVEWOZ7qgeMk+dwy/yyGsqxpIlZ+uf7kNCefN1BunY=
Output for 5.4.13
rOhx0V2n4sa72KE2CBacTEQwoYLrHMtgQ6FVyDBH9fk=
Output for 5.4.12
Hy4quAYRKHEZDoZGLnS+S9iyVQ4cWvGIE8DbBtkTeFI=
Output for 5.4.11
RcedccmR2WW2lybzM+HsxWOu6M6Reg4/fX0sJJGmTbo=
Output for 5.4.10
YHbMaXkuSD7My/edwXnJgATtEwBkoYyvTV1W6Vn2mds=
Output for 5.4.9
t1dn1bsJgTGrvv1tXHhBE1QXs1KJ05QZqRLFygqb9c0=
Output for 5.4.8
tOXPELfsMCvC5cD/+X5+5xF0i2xoXcJHkK5JN7zw5vs=