3v4l.org

run code in 300+ PHP versions simultaneously
<?php function md5Reverse($hash) : Generator { $stringGenerator = stringGenerator(); foreach($stringGenerator as $string) { if(md5($string) === $hash){ yield $string; } } } function stringGenerator(): Generator { $state = ''; yield $state; } echo md5('');

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0100.00718.30
8.3.50.0080.00816.48
8.3.40.0070.00718.60
8.3.30.0110.00418.48
8.3.20.0000.00720.07
8.3.10.0080.00021.77
8.3.00.0040.00423.57
8.2.180.0030.01718.33
8.2.170.0070.00722.96
8.2.160.0140.00019.33
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00422.21
8.2.120.0030.00726.35
8.2.110.0030.00619.34
8.2.100.0040.00818.16
8.2.90.0040.00419.22
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0030.00517.80
8.2.50.0050.00318.10
8.2.40.0030.00620.47
8.2.30.0000.00819.18
8.2.20.0040.00417.98
8.2.10.0000.00817.98
8.2.00.0060.00318.11
8.1.280.0090.01325.92
8.1.270.0070.00023.82
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0080.00023.92
8.1.230.0040.00717.42
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0070.00417.23
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0000.00820.25
8.1.160.0040.00418.66
8.1.150.0000.00820.11
8.1.140.0000.00719.36
8.1.130.0060.00318.95
8.1.120.0080.00017.24
8.1.110.0080.00017.35
8.1.100.0070.00017.36
8.1.90.0000.00717.34
8.1.80.0040.00417.35
8.1.70.0070.00017.35
8.1.60.0050.00217.44
8.1.50.0000.00717.36
8.1.40.0000.00817.28
8.1.30.0040.00417.47
8.1.20.0070.00017.46
8.1.10.0000.00717.36
8.1.00.0030.00517.42
8.0.300.0040.00418.77
8.0.290.0050.00216.58
8.0.280.0030.00318.35
8.0.270.0030.00317.27
8.0.260.0080.00017.18
8.0.250.0070.00016.80
8.0.240.0040.00416.83
8.0.230.0060.00316.72
8.0.220.0040.00416.65
8.0.210.0070.00016.75
8.0.200.0040.00416.79
8.0.190.0000.00816.86
8.0.180.0030.00516.67
8.0.170.0000.00816.67
8.0.160.0050.00316.71
8.0.150.0030.00316.73
8.0.140.0060.00616.63
8.0.130.0050.00013.20
8.0.120.0040.00416.61
8.0.110.0040.00416.63
8.0.100.0030.00416.71
8.0.90.0000.00716.64
8.0.80.0120.00916.68
8.0.70.0000.00716.57
8.0.60.0040.00416.65
8.0.50.0030.00516.57
8.0.30.0100.01016.98
8.0.20.0120.00917.40
8.0.10.0070.00016.88
8.0.00.0070.01016.58
7.4.330.0040.00015.55
7.4.320.0030.00316.48
7.4.300.0000.00716.22
7.4.290.0080.00016.47
7.4.280.0000.00816.41
7.4.270.0000.00716.45
7.4.260.0000.00816.21
7.4.250.0040.00416.44
7.4.240.0030.00316.24
7.4.230.0000.00716.39
7.4.220.0060.01216.39
7.4.210.0070.00716.36
7.4.200.0070.00016.23
7.4.160.0080.00816.33
7.4.150.0080.00817.40
7.4.140.0130.00917.86
7.4.130.0110.01116.35
7.4.120.0130.00916.40
7.4.110.0070.01016.41
7.4.100.0100.01716.34
7.4.90.0060.01116.26
7.4.80.0150.00419.39
7.4.70.0120.00316.18
7.4.60.0090.00916.26
7.4.50.0030.01316.45
7.4.40.0000.01516.39
7.4.30.0150.00316.44
7.4.00.0030.01214.81
7.3.330.0030.00313.03
7.3.320.0030.00313.17
7.3.310.0040.00416.02
7.3.300.0060.00016.17
7.3.290.0050.00916.18
7.3.280.0100.00916.15
7.3.270.0070.01017.40
7.3.260.0090.00816.52
7.3.250.0090.01116.18
7.3.240.0160.00516.12
7.3.230.0090.01616.39
7.3.210.0130.00316.50
7.3.200.0040.01616.22
7.3.190.0110.00516.31
7.3.180.0130.00716.41
7.3.170.0140.00316.36
7.3.160.0050.01016.41
7.3.120.0060.01214.80
7.3.110.0000.01514.51
7.3.100.0030.00714.90
7.3.90.0030.01014.85
7.3.80.0090.00914.84
7.3.70.0060.00614.84
7.3.60.0000.01614.64
7.3.50.0120.00314.81
7.3.40.0060.01214.67
7.3.30.0080.00414.78
7.3.20.0030.01016.34
7.3.10.0040.00816.25
7.3.00.0030.00916.60
7.2.330.0150.00316.65
7.2.320.0090.00916.53
7.2.310.0060.01016.63
7.2.300.0060.01516.45
7.2.290.0080.00816.65
7.2.250.0030.01414.84
7.2.240.0060.01314.55
7.2.230.0060.00914.72
7.2.220.0070.00714.86
7.2.210.0030.01714.79
7.2.200.0140.00014.74
7.2.190.0080.00414.92
7.2.180.0030.01215.02
7.2.170.0120.00614.98
7.2.60.0000.01316.81
7.2.00.0060.00918.98
7.1.330.0070.00715.52
7.1.320.0030.00715.62
7.1.310.0100.00915.74
7.1.300.0030.00915.71
7.1.290.0040.00815.72
7.1.280.0090.00615.74
7.1.270.0070.00715.54
7.1.260.0000.01515.63
7.1.200.0060.00615.74
7.1.100.0040.00918.02
7.1.70.0000.00816.84
7.1.60.0080.00516.91
7.1.50.0100.01334.67
7.1.30.0270.08336.47
7.1.20.0330.05336.48
7.1.10.0200.08320.34
7.1.00.0070.08020.54
7.0.200.0060.00916.67
7.0.170.1730.08020.02
7.0.160.0170.05719.96
7.0.150.0170.08020.17
7.0.140.1570.06020.02
7.0.130.0200.06020.08
7.0.120.0130.06020.11
7.0.110.1700.06019.96
7.0.100.1470.06020.05
7.0.90.1970.07720.17
7.0.80.1930.07020.11
7.0.70.1430.05320.11
7.0.60.2570.08720.16
7.0.50.2600.07320.23
7.0.40.2130.08320.12
7.0.30.0230.06320.03
7.0.20.2670.07019.95
7.0.10.2770.06320.13
7.0.00.0230.06320.05

preferences:
62.74 ms | 400 KiB | 5 Q