3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'rosa'; $hash = md5(sha1($str)); for ($i = 0; $i < 10; ++$i) { $hash = md5(sha1(hash)); echo $hash . "\n"; }

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.00716.63
8.3.50.0160.00822.11
8.3.40.0130.00618.93
8.3.30.0110.00318.71
8.3.20.0060.00320.34
8.3.10.0080.00021.83
8.3.00.0030.01219.22
8.2.180.0100.01018.19
8.2.170.0030.01022.96
8.2.160.0080.00622.29
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0060.00317.50
8.2.120.0040.00426.35
8.2.110.0040.00422.07
8.2.100.0090.00318.05
8.2.90.0030.00619.05
8.2.80.0000.00817.97
8.2.70.0000.00817.75
8.2.60.0090.00017.92
8.2.50.0050.00318.07
8.2.40.0030.00719.35
8.2.30.0040.00420.61
8.2.20.0060.00317.80
8.2.10.0060.00318.00
8.2.00.0040.00417.97
8.1.280.0070.01125.92
8.1.270.0040.00422.14
8.1.260.0040.00828.09
8.1.250.0040.00428.09
8.1.240.0090.00022.46
8.1.230.0060.00617.66
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0000.00817.13
8.1.180.0030.00518.10
8.1.170.0040.00418.54
8.1.160.0040.00422.00
8.1.150.0040.00418.85
8.1.140.0050.00319.66
8.1.130.0040.00417.71
8.1.120.0000.00717.50
8.1.110.0000.00917.45
8.1.100.0000.00717.45
8.1.90.0080.00017.34
8.1.80.0000.00817.48
8.1.70.0030.00317.36
8.1.60.0030.00617.57
8.1.50.0050.00317.41
8.1.40.0000.00817.46
8.1.30.0000.00817.66
8.1.20.0000.00717.64
8.1.10.0040.00417.54
8.1.00.0000.00717.34
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0030.00318.44
8.0.270.0050.00217.20
8.0.260.0000.00617.13
8.0.250.0000.00817.03
8.0.240.0030.00517.06
8.0.230.0070.00016.93
8.0.220.0040.00416.94
8.0.210.0040.00417.02
8.0.200.0000.00816.98
8.0.190.0070.00017.05
8.0.180.0080.00016.98
8.0.170.0040.00417.02
8.0.160.0030.00316.94
8.0.150.0000.00716.88
8.0.140.0000.01116.77
8.0.130.0000.00713.29
8.0.120.0060.00316.83
8.0.110.0050.00216.95
8.0.100.0040.00416.78
8.0.90.0040.00416.95
8.0.80.0060.01317.00
8.0.70.0000.00716.90
8.0.60.0040.00416.84
8.0.50.0030.00516.86
8.0.30.0110.00917.07
8.0.20.0070.01417.40
8.0.10.0000.00917.19
8.0.00.0080.01116.86
7.4.330.0030.00316.71
7.4.320.0000.00716.49
7.4.300.0030.00316.49
7.4.290.0080.00016.63
7.4.280.0000.00716.50
7.4.270.0070.00016.43
7.4.260.0030.00316.59
7.4.250.0000.00716.41
7.4.240.0000.00716.55
7.4.230.0000.00616.43
7.4.220.0100.01016.54
7.4.210.0070.01116.46
7.4.200.0000.00716.58
7.4.160.0060.01316.44
7.4.150.0130.00917.40
7.4.140.0100.01017.86
7.4.130.0140.00616.49
7.4.120.0170.00716.53
7.4.110.0140.00916.57
7.4.100.0070.01016.40
7.4.90.0160.00316.29
7.4.80.0110.00819.39
7.4.70.0110.00516.59
7.4.60.0040.01216.43
7.4.50.0070.00416.35
7.4.40.0080.00816.52
7.4.30.0070.01016.40
7.4.00.0070.01014.79
7.3.330.0040.00213.05
7.3.320.0050.00013.21
7.3.310.0070.00016.41
7.3.300.0040.00316.38
7.3.290.0080.00716.30
7.3.280.0090.01016.35
7.3.270.0060.01217.40
7.3.260.0140.01116.41
7.3.250.0150.00316.32
7.3.240.0140.00916.57
7.3.230.0110.01116.50
7.3.210.0080.00816.40
7.3.200.0030.01316.57
7.3.190.0180.00416.44
7.3.180.0170.00716.40
7.3.170.0030.01416.28
7.3.160.0120.00816.44
7.2.330.0060.01216.58
7.2.320.0140.00316.79
7.2.310.0070.01116.79
7.2.300.0130.00316.74
7.2.290.0060.01216.65
7.2.60.0060.00616.93
7.2.00.0150.00319.52
7.1.200.0040.00815.63
7.1.100.0060.00618.30
7.1.70.0060.00316.90
7.1.60.0070.01719.48
7.1.50.0070.00716.85
7.1.00.0030.07722.41
7.0.200.0710.00314.95
7.0.60.0070.08320.07
7.0.50.0030.05317.80
7.0.40.0170.08019.98
7.0.30.0330.06320.12
7.0.20.0300.04320.20
7.0.10.0070.08020.09
7.0.00.0130.07320.03
5.6.280.0030.07021.10
5.6.210.0170.05320.61
5.6.200.0130.06718.22
5.6.190.0030.04720.45
5.6.180.0270.06320.67
5.6.170.0300.05720.50
5.6.160.0130.06720.49
5.6.150.0000.04018.22
5.6.140.0030.04018.16
5.6.130.0130.05718.18
5.6.120.0100.08021.12
5.6.110.0030.04021.13
5.6.100.0000.04320.98
5.6.90.0170.07720.96
5.6.80.0000.04720.36
5.5.350.4330.02720.40
5.5.340.0000.04717.95
5.5.330.0000.04720.25
5.5.320.0370.07020.18
5.5.310.0370.07720.41
5.5.300.0100.07717.98
5.5.290.0000.04317.98
5.5.280.0100.05720.80
5.5.270.0100.08020.83
5.5.260.0070.05720.86
5.5.250.0400.05320.68
5.5.240.0200.07720.27

preferences:
43.71 ms | 401 KiB | 5 Q