3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function get_rand_str($len){ $result=''; $chars=preg_split('//','abcdef0123456789'); for($i=0;$i<$len;$i++) $result.=$chars[rand(0,count($chars)-1)]; return $result; } echo get_rand_str(36);
Output for 7.1.0
75896d5ddd306919a9f29a018c2d66bf
Output for 7.0.14
6c7b4626b315308e8aa01892d9e151a
Output for 7.0.12
0613f0c8b2a2908bfb01671466d6bc246
Output for 7.0.6
b6897cdb7837dca8921ab85e9058f2
Output for 7.0.5
0b9c54392396335d8cfcc270daf42135c
Output for 7.0.4
bad23af566b099921de3c3e9252ae0d057
Output for 7.0.3
8838c83bd9a6054fdf009d729aec1caad
Output for 7.0.2
72666efd9231093769e7df64078df4ca
Output for 7.0.1
80b0062b5f94b8a1453869ceeee751
Output for 7.0.0
08071f6c9c549e7e34a54f56f6373
Output for hhvm-3.12.0
24f2a937bcc0d02c493c03729a0e061a
Output for hhvm-3.10.0
efd1363afaee2dd2a507254b42ffe854abc
Output for 5.6.21
25cb3c69653a085b1758cfab7b98446
Output for 5.6.20
cd06aed023abf7500ea4444e99d4c23
Output for 5.6.19
8bfc3062dd40b0535c2120a53a860e
Output for 5.6.18
297525cbb1833a052215349b01b0f9
Output for 5.6.17
672a2c67c738dae5b3c1f9b61ddd0a
Output for 5.6.16
9c9fc1a1422764dff708c2855c39b9a
Output for 5.6.15
090fc0108d26bdb944bc9cb5a1a9bf935b
Output for 5.6.14
3d5e051483c0a3555b2a801ee120f6d9c1
Output for 5.6.13
436a39685345106f25626f005dd48743
Output for 5.6.12
9d535486ee377415bc162bc9c3bdd69
Output for 5.6.11
9da51e85faf18c06f121e30eaa0e4f6b
Output for 5.6.10
06c2a9922976e3fbdf5265128657d
Output for 5.6.9
f48ad3fa14a7db6a674a15418b74c924649
Output for 5.6.8
a1b776e9dd5e03c8d52850ed9006219ed
Output for 5.6.7
337098d7c64ae44d6f29f384e3e7b83a8
Output for 5.6.6
252d8ca184adcdcd509223c7bd483c3a10
Output for 5.6.5
bcd6493d81a57f30c749dd4adbccffff3b
Output for 5.6.4
1017223c10f99546a40799637c2420b2
Output for 5.6.3
8dd66f3a8be994dff8086fb7d6ae1365e
Output for 5.6.2
a4655ecc04a18a9edbb80753f85916
Output for 5.6.1
baca121c48532de3a54cd1e5bc9f115a9
Output for 5.6.0
b8273a72528e63eee814f950002e2f8
Output for 5.5.35
5a4579d0c994b5df48de6d6818cd28eb3a
Output for 5.5.34
5f931c7e320a143cd391de2666b4e3
Output for 5.5.33
a9592e845ce7f02789cf3fa984c9938e8f
Output for 5.5.32
949b04d428aaa5a246ae71ff2b60bf0a
Output for 5.5.31
87427b93c2e69b29c69f2a703714b2
Output for 5.5.30
9040311b4cc92299eec8b2e396ab492eeb
Output for 5.5.29
7027e35127322fd869fed3725985e223
Output for 5.5.28
14d18df02ea078d343d38ff02c24b5b6934
Output for 5.5.27
7614b65c7d3670d8fa7336dc9e64607
Output for 5.5.26
4f20a65d4e4a3fb1a12610dfd3e6cda65
Output for 5.5.25
a2d5d943c6f7e13692c59bdb25f27ea
Output for 5.5.24
b5a462ac0f4aeb8ab5ce9e0fc7188b4
Output for 5.5.23
a41a0ad518ecf34073ab468c19e49baf
Output for 5.5.22
f0130312aad512d17d5ddc6076d1f1519e
Output for 5.5.21
fed5fd2eb6feda0866ba21abe01d559
Output for 5.5.20
ca5e5a34345cd460c529312b748ebf51a
Output for 5.5.19
81751ab4e02d963bc903149d7456c41f
Output for 5.5.18
4a4bbf426e7d6677d6165bd1cd29dc9e
Output for 5.5.16
3566b02a13fa56fde1a6c471c2c92
Output for 5.5.15
152f7f46ed44cc9a4368f3a16d2d27
Output for 5.5.14
1f0ec6e1430336fcb587debf482454a19
Output for 5.5.13
ec2143655ed7c48a109816bce00e8
Output for 5.5.12
bb455ef09f42b78e96406bd61ac302344df
Output for 5.5.11
1ef67961c46c61c0b6373ecf94a01b6
Output for 5.5.10
544bba267abf644f8b9b281a37b0182c1ce4
Output for 5.5.9
e609348243c3651a2cef2b0786eb6b6
Output for 5.5.8
c8a72fdbb95ca7e9c8cbbd80db5c61
Output for 5.5.7
95744aeb6876a2ff45b7a945a54047
Output for 5.5.6
910392d783f15be1b3025f16c454ad3
Output for 5.5.5
669732218dc5531296e426ae7a959
Output for 5.5.4
310974ed3598858f248e44c5f55aeca6a
Output for 5.5.3
c7fbb5f4ea15095683ffed7dc393af0c1
Output for 5.5.2
1cc46a459abd7581fd18257ff382612
Output for 5.5.1
254ed1de2bf8af0f6fe46dcc7a5ae457ffb3
Output for 5.5.0
ad9bf15dfd1fdb1ec41c6a7ce6e350
Output for 5.4.45
706ba889b0209569ebef440ea78c68f
Output for 5.4.44
a2c77f0c1c9206cb93d78d985f7692
Output for 5.4.43
19b3cac7b858b5ca97d633e9a7a5b
Output for 5.4.42
6269a235007f0f77f11c45be9e55813
Output for 5.4.41
2d0cac89ec6706b33155af148513c6c9
Output for 5.4.40
276b6ed3d1d8a54ce5d2b5a5c5338b56d0
Output for 5.4.39
1dba5038e8b3964aca08a53e659ecbded
Output for 5.4.38
3331066f0f82036932931b658098d21eb
Output for 5.4.37
4b03a6586b5a8eece8226f30fe331c2
Output for 5.4.36
8e98d76cc8419be5d9d1516e38447935b
Output for 5.4.35
04ec14cadc4179be9e94773d4abf0362c
Output for 5.4.34
8b26e18e4b3c3e65e35cd1a486f8286501
Output for 5.4.32
25228f0ec12f61dd899f39235bbf54c
Output for 5.4.31
a2c3d54d75cd138cafc1f8ea59d9ff0294
Output for 5.4.30
3e2c9ab44103e6d346571ff39e988d8f0
Output for 5.4.29
95c57a4b09586610c4758e54a1d5ab0e7f
Output for 5.4.28
88f160fe2a051ddb95b4afae1558a553a0f
Output for 5.4.27
8fd57c5cc764479aecc8c291c2fc948
Output for 5.4.26
239e07d554be30b2f11151613313308
Output for 5.4.25
1801a2675a723fab757126de4667bd5356
Output for 5.4.24
d5eef7a3e7ba456d41c45cbc5909b0316
Output for 5.4.23
f9cb4ae15774cfdea8c59def0d32d
Output for 5.4.22
03f64c9fe18789ce6090ad0dfa0678eb39
Output for 5.4.21
7f30b68ef16a173430177e464c65
Output for 5.4.20
c0a1c71efc851901277619edbf0d30ea3
Output for 5.4.19
6be6284f40c092c07f22ad1f0dccf2ca
Output for 5.4.18
86600041673b6176f1085d930e280c5c9a4
Output for 5.4.17
ae39116324571843f7deed66f248f5c944
Output for 5.4.16
326732320ca25698326528f58a3a5b815
Output for 5.4.15
1a546d327d7627600a33f6ddc1a5a8
Output for 5.4.14
b09ea6b2e6005a2bad8cf5655c6734a4
Output for 5.4.13
b2ed6c9dc11bed9acf782802fec8414
Output for 5.4.12
8a7efd4be0bde8a33faa1443411ad61
Output for 5.4.11
0998ecef5377b7a9039a3da4d18a976a
Output for 5.4.10
b384ad1dd2eae0270d89b50dfee71a84c
Output for 5.4.9
f09e665b3bcfbe43756d373d87876d7c
Output for 5.4.8
6a3267eadc982d513cbf121b9641262
Output for 5.4.7
1533b1d83c78748f0e0360e82d923b
Output for 5.4.6
bf10fd814b31db3c2b5258a301ec873c
Output for 5.4.5
547af2cb4f5fe744307e8bd8d4404dc64
Output for 5.4.4
16ff8e5c460d60eaec791025cd4f
Output for 5.4.3
c0444e6d54ca629fbef0d60e0220468ef2
Output for 5.4.2
7db6994bbff4fdc0f7e5973c39f37b8986
Output for 5.4.1
8aa8d546d1e279ea61d5f465538b1b27
Output for 5.4.0
ed181b84721e0191b1cc97f456492dd65bd
Output for 5.3.29
4ae5c13bed9d2ba1e0c2116a61803ca2
Output for 5.3.28
5e97652a40752555768c09ce73f57a596
Output for 5.3.27
fe8ac058ba3bc24b3eeb9c1ecd3dab4054
Output for 5.3.26
4ea761d6a0fe1cec545eecb105d4e56
Output for 5.3.25
872db56e0f224ce8a01b9b3f0874634e7
Output for 5.3.24
e383c9c8958b358b86880eae0f9d9b
Output for 5.3.23
687269b6a661073e452d8e68fdc6be9
Output for 5.3.22
b3be06127e344d97760e4aee2f0af20
Output for 5.3.21
f4a72a2ccdd5fc2c08c95c44b72f966282a
Output for 5.3.20
3944a8d369f9f5383f719352dcbcb67
Output for 5.3.19
82eecaaffe4a88a64d3443c06dfddd22e
Output for 5.3.18
75e2444e703ea30d3736094070bb6
Output for 5.3.17
727432be82f5579bbd5e884bbf95c9e
Output for 5.3.16
629622ec7f0d35121a7bd7408188d06
Output for 5.3.15
077414248e3a3452a8fdec5b90b0a2c8b4
Output for 5.3.14
ee3fad9b65037099f258ef515b931cc8e
Output for 5.3.13
32f11e32177c05abfb5a2b2deeb932f
Output for 5.3.12
1158447368c1c71197edf12ff9b7a7d22bc
Output for 5.3.11
ccd628a363e51fe0de1628b141c950a9bb
Output for 5.3.10
ac5674da1971d764234f902381056291d5
Output for 5.3.9
8bb6ce67ea61e2875474ad0937136
Output for 5.3.8
903ae02c2869b8d7b19dc5282620f4
Output for 5.3.7
39e13ae34fbd97e33be3fd03693e94dd
Output for 5.3.6
5b73af8b833ed20b82bf28a9ee41bc2
Output for 5.3.5
02f64f2ec78c14425559a70c91e2c95f5f
Output for 5.3.4
64b127210c3326ac59bb6f848565147
Output for 5.3.3
613931cb689351e44e5b2d914d61842
Output for 5.3.2
548e308d295bead0b13acb4045a14
Output for 5.3.1
d3895ec68e497a441ea0eb299514192e7d
Output for 5.3.0
d1aac021a56c120ff7de6d70754e8869
Output for 5.2.17
9ce214172f0c1e89927fd3d4cb715e
Output for 5.2.16
fff30e90a4587634121b4d1e992ae215a
Output for 5.2.15
197d29addb45a58f5f04f7a6371e4c9bb505
Output for 5.2.14
e09573f3f654896ca2cc7300322ac6035af
Output for 5.2.13
962ab7ace4e78f47050c6a3f35d3174
Output for 5.2.12
f717201e1a1392917625b9edf1b3
Output for 5.2.11
d17801c8e7118fb91b386a8c190199e
Output for 5.2.10
d255b7bc4955505f5977de1ca4ab5e4f7
Output for 5.2.9
3b10cbb93f62b3fec845ae1d65e849be
Output for 5.2.8
1ca69027e68257dce87308611fe8c03b
Output for 5.2.7
737517f508bbad37e94f37b44f6093bf
Output for 5.2.6
ed521c696dbd233549fa3126202e57d06
Output for 5.2.5
f376466010231ad148290030739fda5
Output for 5.2.4
02b6eeacccf5b5cf0c664ee69a0f33ef
Output for 5.2.3
ff3fdfa8f911b0b3045f751b4846f5b5e2
Output for 5.2.2
3d1087ade1530fb8ece155a142fa4021
Output for 5.2.1
7a1012facbb4c5bf0308af3d1c8edf56
Output for 5.2.0
e9a05059687cda4bfcd5ea76061177f8ca
Output for 5.1.6
996dde29b77ef43c90a23fbb8098e5a
Output for 5.1.5
f2048a2e8b3aad1a7bd27383eee0866
Output for 5.1.4
46e4df62c3421cbb361c97df1a93549f5
Output for 5.1.3
ae0d110657c406bb7279970559a3bc830f
Output for 5.1.2
6b4620b8f6237b7d1c466ffdfe6032
Output for 5.1.1
6c8c6cc82968d1ebb511bbd2871f35c61
Output for 5.1.0
e92c3e826d783f71cbaecc784dfa4272
Output for 5.0.5
5ca94c7ed12b261523ba94afeda175b5e
Output for 5.0.4
c15e5257602af836336f5b3bcc1d480a267
Output for 5.0.3
20488bef5847750330ff1fb645129daf89c
Output for 5.0.2
0081477da123bfbd6bfcf8dd67a771c5
Output for 5.0.1
6272de7d41f2ad2cffb6324b4975e7c3
Output for 5.0.0
a7050c73cf5f5dbda315630255257e4c
Output for 4.4.9
48f7260bd5c110650bd70092d53f6cca6
Output for 4.4.8
3156c66230230822528399e520ef6
Output for 4.4.7
3e8b95aa60dcf6f7cae7fa61bfc30bb6e
Output for 4.4.6
dc4a003d0c01e6d2b9ba8c873d27b483
Output for 4.4.5
37a843181f133458a0a5fa40a88982
Output for 4.4.4
fd75613331c9a2623dce05bfbe6b506
Output for 4.4.3
e284b4d2c4806c5d6e92820f1ba139a6
Output for 4.4.2
3e97caf2f7562357c5e3354ce592b041e05
Output for 4.4.1
0306939db1d526e3fe28e33a9be6d5b8b86
Output for 4.4.0
1e2856820ae615d113b2de3f742bc1
Output for 4.3.11
2bcc6bc1f4cda9832fcb400c0574ea818
Output for 4.3.10
ce5bf8d8a7188a815a0f2ab322631166c9b
Output for 4.3.9
81cdb7a4ea3c07c9a8ed656a4f96e6d2f
Output for 4.3.8
8967e7d4997f35d838d8ee0d8ec8
Output for 4.3.7
70b6cd53226d2136aad1a710cb8bde
Output for 4.3.6
5b8e8b7bacea65179ae2200fd27fc61aa
Output for 4.3.5
3b59ee03fc3a40d92e85d5768c3cc8645e
Output for 4.3.4
1b8252116c26ee1122695a4ecb4f46db1
Output for 4.3.3
67efc1c3212f73b069e16aa8ac30cec24
Output for 4.3.2
c536d10fbde05f308811fa06312c8fc
Output for 4.3.1
b690564aa8527fbf4c8e4c5985363ac143
Output for 4.3.0
0827c90b0debf036f9bc3343a6b0c9a