3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = substr("8d30f9d3-083b-4ce0-b196-7364b2c3e2ef", 0, mcrypt_get_key_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CBC)); $iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CBC), MCRYPT_RAND); $data = "4afc3e3d-bed1-42fd-85eb-06b8fbbc4925"; $enc = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $data, MCRYPT_MODE_CBC, $iv); echo bin2hex($iv)."\n"; echo bin2hex($enc)."\n";
based on g6MK5
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_get_key_size() in /in/p2SYG:2 Stack trace: #0 {main} thrown in /in/p2SYG on line 2
Process exited with code 255.
Output for 7.0.5
0af81a6a4aec67983b33349e35dffad4b2214f5a9703356bd32d70a3bce5ef9e 832c5f588758c25b9f2aafe5c57f908fe0cdda749129237dded09ae49733397239cb53fdc52d11e495b2437a5b8e45940f1fc3e1bef647109787f2ff802f0ea9
Output for 7.0.4
af9cc5da2e4e456bcfdb437cbdaf4cecc1a219f1f40d546d5c8f94d05e8a3cd3 c93eb82eef11db04c3332e1366d1259fe7117f4a7fbb0fa3056351c43ba9698b0a34442b63b1888cc2d004010db417487298407dcb6b0d22b83635fcf8ac1d72
Output for 7.0.3
6cc2dca443fcc88b996100229aebfa11428621fea183eabca7311498f63fe4c6 642e15ea7cccb030e05aad59ea5c1d4f86d898f485f8271f0bf7df67f128501e5568ecbf53d0e0846ab7997c52a192f8a9dcdbb247cfeb9fc73b9b2cff32ce9b
Output for 7.0.2
8f98307b885859354b283f5eb000ad3f96ebdc12820319759ef4a3a114604c14 a62d329dc85108a36d663431ba5665bf17714dbaa6e662e9ccad908582cc99b664321bb63bae8c1c10808b6fadf8c0856203916e8e136bb74e46ba2e005032e9
Output for 7.0.1
93fb280cea2c98d63335e64167448289cf6f093a5a0866004779a3f6eeac2086 9108f3281863e7dd0a8337027e4d0285b08b279d95bb6b6b6c87e38a50aca1593d6f850b7d14ea5b80b8c84c2d0cb602c49e76f6c511d9eeb9736c325094690b
Output for 7.0.0
fcb43aaf6fba7885e1e855ee0c1fde38a9c1dd37227d4daeb134d4d886a52a4c e0aa185749e42f35ad95b70ec1f69d43879a85986919660096f4a7c677dcb5c326aa116a658be7ff85ab3c1411fe13b9da8c8f7b935a35ec27b5f2b35d934f17
Output for 5.3.20 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_get_key_size() in /in/p2SYG on line 2
Process exited with code 255.
Output for 5.6.20
154ae96114b92cc7977d7b2dbf69498146f52bd9b20100bac5e4fa0d2b933db2 b0d0b885c57f8de09f9ef20f0ab26a1c8aab3b74690a8176796358046f49f1a8d24a274b72a010c3fe575e1ee97fabb70ca0e195e87cd81a393dd55a2d9b950a
Output for 5.6.19
a0979e4af6927908ce1255a1242c28dad520d0efa8eb08dc076e65e2f2693655 e6b2a554da785c93032f400a537535cc1dcda95507bb01f2f80c11a955e319be92367db0bb29de3c0404d3fa50bdf769575f3190757ed95a10d49651825ed4d8
Output for 5.6.18
fe77c3c3abd883806b04a7f341093f804649c7c44d14108b26c0937f663eb83a 2a58823679d19b2f098cf0f0d23c099877d69ba15fe7706f7a6d10a0bb98cad5c74bf4b93ea06d80c04f2202a5c6b565ec1f8cc1b517e4fa367f1c9c0d5e3b32
Output for 5.6.17
64a2cc3e0dfac03dd1e407c8af7676f87f43130919a2c45f2a9c850fccf7d326 7bf044c575a3944e6e38887a79735105b80e6fdf74a81b6b5cd5d89469c4abaf9a214d613107b1fa2c93b67270d67b9857365376f742313b6b2ac80cd23fb74d
Output for 5.6.16
f8994d8534608a7f2fa61b8205e82ea072e63f9bf71726642f7a57f4e0491c72 53ca746487db6e1c148ff1c8b62d8b9a8d4e0482352b7dbac351c2830aeffd2f7c90c3f099271e93b74512a05b9802485f23c527115e40ba98bcbde4fedd2e18
Output for 5.6.15
d559c890b7cf8bd7bca66ef9d1731f042025ef113e6a240d5079638a057ee144 ecd0238108fe992eda8a8ef1dadcd51dc5a2028e70f89a0b4e5f67f3fd8d012493bfcdb630a3a85ccb90db0a2a64cdf90507b5c532e0c619cbcd3ca23549e8f4
Output for 5.6.14
d8b9f990eaf5a297c692b22918de0ce3a76f8a48b11674772108ca227d118f47 0e5805811070dd2c15c1fc834357113c461dfd2f35ae63922af4ff09248d1105fa79703bd5302e92eb6b8da306aa4043eac15b56cd3bc4cbf95761fdb7280816
Output for 5.6.13
4c76ba62f60f5bceeb414f32c85b1cf6a96ce4726c90814ebb3f4f45102da7e9 0998585aba82c4c23e76c02b6d370201c998c89df4d0e55eb79f132df0611bdf6367345556d45baacda0b5594f66003c745f4087aeb051dfee2ab0c1a07f97ac
Output for 5.6.12
b73e69c95e87ee994f768728f3e8c005da55297b635c781ec56d98dcfb3c51ed 04da0d00ef4791948769211333beb81c0ec76b602e6c76586cd0c1c2c10593df478398e969293b803b106449781dbe9d297ee767584afb9736cb37d0ec83d93b
Output for 5.6.11
51310ee898be35e3474f8db6d852abbb8ce07781b2c3bf6c1789d4e6056c5767 9cddd3a6f13ecfd6a6b042ed53f9d8cf404441bf3d720c3d619af83d22d8714682e8b6ef66a6357e43e31f652dd9b4ea2e2a84c158e5743bea3625976082ebb0
Output for 5.6.10
d64757ad665cdec10f3a92b9a7ab34d7c4be650768d007aaaaef693c62008229 982434f4ed70f533a61de4e4f9881d7f7269683351516fa57c4155d91ad6d356e3273cf93ed84c42a71553e6fb729e0eb3945b96c2623967a1974cbb6c4561e1
Output for 5.6.9
46f082e5a1137d40957e24b5f3e76e17a624b90dea67eca6d482562ddbfbcc5f 593fbed721d6628425cdfdfea997414c7d7cedd2375d83e37e3acdd144a8c9f27c3f3776d3b3df6939ee59e0794e6fd411c8163e1a4c42aaee5eb209327f1146
Output for 5.6.8
b6ca4a12077e5b68c222dfe35ec93621776b384d92cb5810cbbff07dd469fba3 3e897b66a0424d4e3c7bffb660cb8a719bd4027557a5a3265f906b9d38baa4d320d4d9e4afe345bf75b6a379c8a6b9e72cc3a162b6bb7f371c033fde4fd5e8c4
Output for 5.5.34
107e902d87e66f22f6be1b416dbe215dbbb2009819f8da1d8785f211cd408ee1 5bb81240d57bcd095f33e31a2a2a4dbb42e4e20124068f99901274c3604309b006756c68e45c3cea36140f61398ce7ff275a1761f4f8519c3c6c77a8212e4d9d
Output for 5.5.33
5c27a7602778feb962708f5714e3d042fd3c43572f53f2f1e94743e9b2ca5afa 9398a71b75ba53462349fc42edcc6fc33ff49f725451a924c21f5fb3184748e59385eb97c047d8c29e78c274b7f20cfbcd1cb665e8accf602872d277a1887c3b
Output for 5.5.32
17ba725acb3ed5c0dfed66ee217cd5c8296d5c6feb92b1cf8fd5ced877cb5abc 7618774b4677f6315e5eb43da2112d25f9186c06cc73ed7236015a109cccd4c83d1859c943b4e3abefa8ab2c9f76b2b367cb29961b15499db5ea5208fb1420c6
Output for 5.5.31
c90916648d3714cee00f03e1135c7bf80625a4eb61cacc4e6a88ab1f2a4db965 889281398b44c7f393a5e1695828e0b6355c957b2af1f9431e13d19b7b822ddcd79ca232246cb3495be4cfb028f798f42d33edd1eae9747745dfad3935710782
Output for 5.5.30
3c5d482d51b9396193b37404538ff6357d513fbe4542e4d3575a5bb22b507d0f 7727af150a9491f6260a52c296549ad24f59595289f6a146fbb7f7100829051e2609b7a9d066fd341521378faa9be1f68786e35307f30cf6cb693b473b8cc67b
Output for 5.5.29
7b12df09ce7b01e539a26734981fc71564c9199ddd5c2d15384edd44bdd64b72 2fc0c4067e7bd4a443f56485a8cc11cf9a28f8717f082a54e5156672d4c6d2b7f2ed2fb52d964e2352e014f58ef83fabb3718a08ddcaa7560ccc6668efa7459b
Output for 5.5.28
41b739a3739c352bbcf5c5e82a95d85f700b8c5273a977a4112da68bd7f7879d 9e6d7a10ac010063d7efae4f2c444961d81535bd17948bf4435c9fca7f8be2d2b0c3260c01a47f9b07b8363c57524a5d568930198ba4fc02f664977f25765a7c
Output for 5.5.27
1fd6b2af3f5e4c23ea3e6f2d694af27be9a51295a4651d29e590bd199970176f b505409c1553ed6ef8cd0d8586e1dd3b861fe04d845e631d5f422b7440117096eff469223d49e3de6e5c05114e6ec5fa6766e859dff9b8454c768c320c977c6b
Output for 5.5.26
04247865b605df322a7714defd0c86a740e1fd62a3dc9cf9b6483a728f7b719d 2cc8383e1cf879f86cf26be3011c5befcdd6111c68f10599dc5868ad8bdc70e48266e60036251b325729ac57ca1650efd99f85789ef4ce52e55a5ef0c05a3e99
Output for 5.5.25
9ff084dacaed70f67ced67e97f4d437797e88ef7092590d3db7c18dcbe6e29c4 3f17d2e5ff539020916e032160a14a9ccba392b561c8cfbb87e74fe8824a950ecd4034b820dd659e942173e2e362c7ae60b919d0084b32cafcc48e5f0931e835
Output for 5.5.24
63f76c14541aaea03c3dd814f4eb458eeade73be41327d93b4eaf5d0a7efed4e ca96e16be92a17e7cb3fc55e6602c07e935c0159f2d442c464ab57531e05a30d823e7dd3b811750eb9f20e96cf4cc09f3199ea187258bac804d6b8e17ef2861e
Output for 5.4.45
e0dcb0403bacd909407fc73ce10ea9828bbe003c5180682cda911326c9010ba0 daf2deb522f98ce295f77227603d5a5ffb1fe3ffc7e151f59fee49a8607e1db144c4c77c4a4adc0456dbfab40af291683873b020d16648f4f3a8a248d10bb81b
Output for 5.4.44
bb2ccafaaf97adfb425bdb3ef7ab3eda8f76cacf9d0c5d5d4dc2e3eadb6b60bf 02bcc74834b53181a21a34422f982ff6ed21d21f35194079135fa998c64e945034fbf57cc730a4fa723265d5cbd8b52a4109c6cda19dfd5af27c9d08a585f4f2
Output for 5.4.43
ee4f6b532d618fa821cabc378f63ba6bece8a62260beb3b6ac8215bfe62a639b c0f45e440267c88e4a00189c57b93a7742efb88c3242e10490bb2b3018f9d6a1530b8263ef4c649eded18e187d5ad56fc40d9f043c1702f87b1f506b9c0556d3
Output for 5.4.42
ee85590589b489db4e21526d3f2b02ca4bb7da59aa573b36ba42eda608b74ce9 746165077c8f888a5ecff8a810b4de74cc2856646776043d66bbc68552e209a94cc3d60a1eec74f36e572cdd3504bb6b5401f2132542d8306a46568307f89d69
Output for 5.4.41
4347f782a0545f78287740d92cfbd21a31312ea3201e4f4eccc7919df2fec0bf 660483087997ee7618ddcfda76ae36f4a3b5c0e6b63ef06ddf299a93fd0fb8d4f07743a554fd254e8bc5a58aecdab1bd67b0ea1ae9b04c40a772217526c5ec4b
Output for 5.4.40
f7ba9be4146c8f6f877c6d2db27cd93252f8459b07e6d030de1a47b249792613 08ed738c915977f2aca1854a350a6c4ecd43587e2c65dc976c2647a03f12697dc6a67d9c294b64d61e8cd0d40741c031429553e12bc28bf2abbf34a2142309d0
Output for 5.4.39
cc1ba666820b8ad6d3f37763d1e814981f861ef0692174fa5c7e8890dc8f5d66 532fde5697c4d63953ea9a5747872681b37bbcc93071f4619fad0757520be4252790e931f1026d47c3b398bd3ca1a9c6d7c1718f1ea05fa02262ef112f082237
Output for 5.4.38
e2ef77af5dce3704d947929f1dcaac01f639d82afabc8efaa7db77def27f9a33 82e3bfaa0004452889bd49249eef9271a3bde36bf70d658937dd6a96bf52a4517c3e61f4a842bfa60152ce41114b427fa1e9e7ba8cd02f715e89653a92ae8d57
Output for 5.4.37
e8b8b1ef574caa9f5cbe82f15fb3fa7caeb0ea767dbc44765b70d3869e82f3f7 9f214265f96d86b221f32a8eff73165accd76d4f7c40d9628e56ecfb7fba3ecf174f0f2728d2c6cb560b6c417f60a5ddcb2ec0bf76fdc2cfc6fdb33ff70f241c
Output for 5.4.36
23c63abc0417ed1d4bfbac40b39256a4c8cc4895bbadf9b8352431b94323d466 c7dd3d93f1ac8a07e93e7dd98be0663b0e021e1441aee8434dbfb3a25371cb99dc5e956ac97b7e8f4c76c54ae46d3d2ae7b71e4e42892d76e301e1cd0c994ad4
Output for 5.4.35
29a58c3cbf713838cc24b5bf6e2b4fc0252a215371e3eebf62ce50e3853c9feb f0b228c63b774733b94415379f4b031321c825ff70fbd3470f2d6f11d33ee4d20fd9f5c0a1f50052322b29b245bd21f741291572314b00eb505e9da2c1b8f6d9
Output for 5.4.34
c835e82e34bef4c25bd763716896053c140f2765fa95babf120686ceddc5219a 9471c1e922e15091c3fe1c40070ea807a33c433750d42b07f873e585d2f1067bdbc2168aa1cf5d944175390fb5b3d625deab6c94487573fc00d03c984a221be6
Output for 5.4.32
1c45704859864417c869c2894bf04f8005a3c5f873c85f2bd90080d0bfc7d8d3 9a16a3c3fce2ae55cb1a2838be048a0b056d8e475d7bd70a98b82e76388ea491a49033cbeedce20ffc6ce6d1b14d1855369e2e7e65558b6aad0acaf33e12ca2a
Output for 5.4.31
1a7f7ec45de858a8c850607b17ac1d5004936078f37aa7e3096c64bfd828c155 d629da0b6fd6d37057d5adaef19fd5e34e54532f1e055a699e546eedfcede52d5555747e01758f38db8f4905ed29f8625d0b01e7884a2f5a4951c6420ef6fe1e
Output for 5.4.30
2e937d6a1a330cae05db7805e4949dd2120ed83a2467980aa42f669662117bc2 3f9e0555f06f59c947be112ae47b0dfd3d26c4e876149b7271c98d4d068a3faea0aae31f103ab6e055c1955d4d06918213faaf7d43efde53c28c2a25808d6def
Output for 5.4.29
d4902b8d58cc6b688e7ae9018bb8df58b9ea22d922b74157faad675e2f8e6a47 dd7ab050e498082dd7ae2011860ebccde8f4e65e830aeae372592d8e91a807159ffa47d4cae2476b4dc7146ec041a9ab6edcde57a5e76db2b4e407f07294121b
Output for 5.4.28
9abd1f8843fbe3a1ec4348d35ba1fee8cd5bbe2138594223bfa0b266cc504011 643f5e33470a6b5ff7e1ab533da889807b7b9d0366e41474cb644f45d601fb535dc9df2faaf6c545b0879499b388e04f712756b76dbe31f33129d80b2d35d1d0
Output for 5.4.27
91ab297a69498c984c91326f021a9e88890858df30ddcaa26e9dd207d7ac7d16 e85d669bc0d6a7a8c8d117bf58cd4b50e299b881661595817ad3d0d19b7e3af92b9f8c07838e9d8f22ef769fd0bdbacae191d1addeb2fc99b599a58cf94ccc9a
Output for 5.4.26
687d9a851a5294c16304489ac9f3988b7fcddb071c932f49163a102279ec24e2 d5aa324c3423dfbadf8a02f82db39f46da9857131e239055d57a468e2eca8455ba1cb310527615bf5bc5758982a13b1838db165749e789eee03e7c3385191c0c
Output for 5.4.25
5aa3c9111788c2fa3340636b1b6c32a10b9a74673839b8f9d0942f4a80c94649 f57a18eebaeb035c981d5242de6f06869ba0f93c048dab0ad9800435a631ab9b9ac63436610270e01d8cccabaf564f80bce8f43a3c82f6a6580a6295621ecb56
Output for 5.4.24
68d689d17686ef6738840c1901874c7f2b48da2db3afb20cbb2a51c3878b8496 ca9fa38d87329031731fc1527e664006a4d5aabb66d8c9aff3bb83fc659841a70520f52fc04eb112a66f68dd08a726ccbf6ef699e546a6b8afb67eaedb87e476
Output for 5.4.23
02272f90019e800eeda351fcc733ca3a0f5ca3c4af9ae4071119e1f9432bbd71 5ea36d354a97484488ce9cc967345377310fc1b1993b7db3ece8209aaf588b4610703c57aafc0a4a61df38a8af3c11db0c4c24570cc85ffd68dbc0e267fbe7a8
Output for 5.4.22
579ae0549a9d366c3d71482f4515cfd94fbce4153c2b7caffa919b369f2c5f03 4019f8dde4750e8b910e3378e43bba63619079cba4acfed53fbf0612fd8cbae43566ab4770bcf145934791f8f8ec310c052ec7257f6db60b86e125e555dab6bb
Output for 5.4.21
551deee38609225af87290abeba62b50463e31659376cfcd4af21da20cfa4f70 ea3b395ebe2c8da8aff88355a7c5fde7484d093e84b9fcd976275b5b4d9fc9f027ae9a8647bcb7e6896d766d09e2ce133eef65087355ceacb5b0298f4cc01702
Output for 5.4.20
ac5fc804389a610b971a92e8b8db3d0d9107f2aebc9c56686cc59bcba94037a8 9d1eb265d8d2da105f75d9ca85820c2bb4a0b52fa5f6d14a33cf33c76f00992d61c3a51ed5c5b15a63892b1a597775db51a2f275e74f2c0701550e6bebd9ec14
Output for 5.4.19
87b45d4517c3b868c3b29b838e91a12e620fe6ad20321014045c5b23faedd742 0e8fe441f4347732275a4c8020ea6bfb481d4e0346b71ca7c34664cc8abe0e1dfa492fe495c4b4765263d0751ca8ac7de910b5e61bb347a9475239fe5d66d85c
Output for 5.4.18
130ed3ed56ca0d49d0691cd07d75c6a5d8bd67a4fa4556d8d5fdfc7954201a24 1c170208f7aa37861eb860b4fb1bce9202041bdebcd6aeac44ba726b37568669992a842c167f55513df28a10d8ff77cf1f287915c6773a9e6be220bfc372b813
Output for 5.4.17
1087a3954a45eb4ffdc74a05caecee8f8ad5014004cc98d73ba074944938cb79 6ca30a784013c196c9a5a2297159f0b6cfda6ed9fe1c93decc1ca517bc95f1fb69b3302f76032aad568e4dadaef6671949be3238c06cef736e1e7d6d4b7daad1
Output for 5.4.16
7d34f951897231c835fe2c75e4e70e1afa226a3cf984ba0abfe4978c28b5232c 5a1ca76d2579f563ad2ca7a096465c22e51b26c324daa06dc11948b0acbf347ece8fe841ba81566c3d8092221ab7e76b777f10b1151049f9b5ba2f8d3bb401bb
Output for 5.4.15
93ee15e8d0427a0b55d91d92135253b241fa9416a9461cb1f768679b4d862ca9 d2151366b485be10560ba54d3aaf26736c2306ac5ce4ddbf996f16a48d0125279bc196138efd9281f3299f69736e277914d6ab2b15c0b869201dbde33c822611
Output for 5.4.14
d9a97acf232b1e2fe0704108a6656ce07b1c6d3c1234044e96df103aed209209 77aace57e07168dbc263520e274cc5ec8a573aef4299c6a015b6b0f5a1176bf07e8a7f62707c73cf935d58c7c960bd5da9550b1d5e1c8ab0834d4b0da720a2cd
Output for 5.4.13
88f3dba96ff7f4b696b89104b8d59e939f66f00a4c04b72c8cb97240f71764de bfb123da869f6af5d111bcff6c8c4533179819a2b20ec436302a5e04333c279f04eb75f70f78d5f6d5c2baa75d45e8883de064d2708f13dfe05316a7e1ae8910
Output for 5.4.12
193c425dfa94b8d383462889e5bf0271a39005e5417bb202fbfb45fae73735ba 60a1e874775bb47bc305c413b54d1f6f8d9a8d2eb77706810c724df9e4dfedba1a7ee1c0c01ff609a34c3119cccf7b31a84b60cbb22d433dd6319f50707af7d7
Output for 5.4.11
965bf2180e0cdde56e9064e16963c940c5ec44c04d984c31fa5dd74e9326bf7d 298443962e165c04a679494232027b7eee38de9a8a97cb2fbb0d2524b90e7ebf7cc9be0ed8939df8f3aea74dd5f081d59933157b16ca00821e0a0fc9edec0221
Output for 5.4.10
79d584c5afce970cab0e94822100c4b2317441e30d2593847206fbc99ead23b3 f0a159769424b6a8f9e65c3e1d3aaa61e8cbe3499da0fba1ad10cfad2a182abb7a7f6da3e64faf645202e18733974a003b418fd90091190a777feda147f97503