3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = md5('haha'); // generate a random string $arr = str_split('ABCDEFGHIJKLMNOP'); // get all the characters into an array shuffle($arr); // randomize the array $arr = array_slice($arr, 0, 6); // get the first six (random) characters out $str = implode('', $arr); // smush them back into a string // return the file name echo hexdec(substr(sha1($str), 0, 7)) . $hash;
Output for 7.1.0
426252584e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.14
999411994e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.11
1486194054e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.10
1140280374e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.9
1661787484e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.8
926356794e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.7
27002664e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.6
711319204e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.5
2513865714e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.4
78146614e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.3
124876224e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.2
1514178884e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.1
1503142964e4d6c332b6fe62a63afe56171fd3725
Output for 7.0.0
2355173454e4d6c332b6fe62a63afe56171fd3725
Output for hhvm-3.13.2
924189754e4d6c332b6fe62a63afe56171fd3725
Output for hhvm-3.12.0
1125869194e4d6c332b6fe62a63afe56171fd3725
Output for hhvm-3.10.0
327329954e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.28
1845326814e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.26
1055652774e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.25
1014233454e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.24
2500398554e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.23
881249954e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.22
1888716174e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.21
833934374e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.20
985381974e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.19
1271837614e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.18
865699384e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.17
1357541414e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.16
673868154e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.15
1145829784e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.14
2246865704e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.13
2473902434e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.12
587996654e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.11
617351744e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.10
74127164e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.9
773557134e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.8
667500814e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.7
894536394e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.6
539537144e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.5
1817132344e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.4
1093648604e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.3
37395434e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.2
1058854394e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.1
1365459024e4d6c332b6fe62a63afe56171fd3725
Output for 5.6.0
893037914e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.38
480588904e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.37
168134634e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.36
2173464344e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.35
825729464e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.34
2257616384e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.33
2436706554e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.32
2103304814e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.31
2540396524e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.30
2569351514e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.29
1940283604e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.28
1204096054e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.27
2415098324e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.26
299779184e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.25
693019914e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.24
1774233284e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.23
230017384e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.22
2600899934e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.21
1947653194e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.20
1768607574e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.19
170875914e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.18
1131039094e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.16
1337684084e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.15
930494274e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.14
1642661824e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.13
1971325424e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.12
2493586144e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.11
2484448644e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.10
2669542344e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.9
2325069624e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.8
1637384624e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.7
985790554e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.6
168277684e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.5
1617551104e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.4
795156364e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.3
1760543514e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.2
2289109984e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.1
837475074e4d6c332b6fe62a63afe56171fd3725
Output for 5.5.0
2203866374e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.45
1933470024e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.44
1282234274e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.43
726364084e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.42
241317404e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.41
2677263144e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.40
2025290204e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.39
432245174e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.38
1016533914e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.37
1524841814e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.36
696320624e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.35
1923370864e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.34
1949624404e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.32
1705400774e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.31
2619617774e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.30
944321254e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.29
201242024e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.28
741464834e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.27
713325104e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.26
1721820974e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.25
514756354e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.24
798039104e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.23
2585053924e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.22
980356574e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.21
1163590724e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.20
2243478664e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.19
767845244e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.18
221494304e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.17
1644154894e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.16
1823552374e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.15
783496244e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.14
911566474e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.13
2580000694e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.12
1660659794e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.11
766753504e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.10
893379234e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.9
2447293524e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.8
693543024e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.7
1646752354e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.6
277223654e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.5
2031292694e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.4
92049604e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.3
192935654e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.2
369441134e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.1
2478538234e4d6c332b6fe62a63afe56171fd3725
Output for 5.4.0
2267527314e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.29
1974467474e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.28
1900144354e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.27
1989576854e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.26
523036194e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.25
2411037284e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.24
322564284e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.23
742267944e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.22
2663925084e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.21
2665896774e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.20
167077364e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.19
1450465954e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.18
620601654e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.17
371661674e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.16
618162064e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.15
228056624e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.14
2059394204e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.13
502514454e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.12
53026954e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.11
2128025794e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.10
2475660874e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.9
2574825404e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.8
1109583174e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.7
461252394e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.6
1652445764e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.5
2056211344e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.4
1946704554e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.3
196499854e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.2
1188320014e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.1
1666132814e4d6c332b6fe62a63afe56171fd3725
Output for 5.3.0
1918937074e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.17
1981504664e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.16
1566551074e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.15
25601394e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.14
1531137894e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.13
1077391784e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.12
889308374e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.11
2649884e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.10
757599244e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.9
2310429204e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.8
379916284e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.7
2648552304e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.6
1147357124e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.5
1461469244e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.4
2299592404e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.3
1607715274e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.2
340839974e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.1
524431434e4d6c332b6fe62a63afe56171fd3725
Output for 5.2.0
1226159544e4d6c332b6fe62a63afe56171fd3725
Output for 5.1.6
320878494e4d6c332b6fe62a63afe56171fd3725
Output for 5.1.5
820130694e4d6c332b6fe62a63afe56171fd3725
Output for 5.1.4
215909304e4d6c332b6fe62a63afe56171fd3725
Output for 5.1.3
1251604524e4d6c332b6fe62a63afe56171fd3725
Output for 5.1.2
1214556684e4d6c332b6fe62a63afe56171fd3725
Output for 5.1.1
1076122714e4d6c332b6fe62a63afe56171fd3725
Output for 5.1.0
2049924574e4d6c332b6fe62a63afe56171fd3725
Output for 5.0.5
2302645664e4d6c332b6fe62a63afe56171fd3725
Output for 5.0.4
294716364e4d6c332b6fe62a63afe56171fd3725
Output for 5.0.3
1504602124e4d6c332b6fe62a63afe56171fd3725
Output for 5.0.2
1820658864e4d6c332b6fe62a63afe56171fd3725
Output for 5.0.1
2401198494e4d6c332b6fe62a63afe56171fd3725
Output for 5.0.0
2433084924e4d6c332b6fe62a63afe56171fd3725
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: str_split() in /in/oFleL on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: str_split() in /in/oFleL on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: str_split() in /in/oFleL on line 7