3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time=microtime(1); for ($i=0;$i<100000;$i++) hash('adler32', 'string'); echo microtime(1)-$time,': hash/adler32'."\n"; $time=microtime(1); for ($i=0;$i<100000;$i++) hash('md5', 'string'); echo microtime(1)-$time,': hash/md5'."\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)
7.4.00.0100.08415.13
7.3.120.0070.05914.98
7.3.110.0030.09314.82
7.3.100.0000.06414.98
7.3.90.0130.08314.66
7.3.80.0070.05214.75
7.3.70.0030.05414.92
7.3.60.0000.06314.75
7.3.50.0000.05814.83
7.3.40.0030.05514.33
7.3.30.0070.05914.97
7.3.20.0000.06116.74
7.3.10.0000.05816.72
7.3.00.0080.05516.56
7.2.250.0070.09315.26
7.2.240.0030.09715.20
7.2.230.0070.06015.02
7.2.220.0130.05615.11
7.2.210.0100.05715.10
7.2.200.0060.05815.27
7.2.190.0100.05315.05
7.2.180.0030.05815.20
7.2.170.0070.05215.00
7.2.130.0030.05516.86
7.2.120.0070.06117.06
7.2.110.0130.04917.03
7.2.100.0030.05317.04
7.2.90.0100.05016.70
7.2.80.0130.05516.87
7.2.70.0130.04816.92
7.2.60.0000.06517.01
7.2.50.0000.06816.69
7.2.40.0000.06816.81
7.2.30.0030.06816.71
7.2.20.0100.05217.05
7.2.10.0090.05716.84
7.2.00.0030.06018.14
7.1.330.0030.06115.72
7.1.320.0100.05815.85
7.1.310.0030.07415.63
7.1.300.0100.05815.62
7.1.290.0000.07215.86
7.1.280.0100.05915.68
7.1.270.0030.06515.63
7.1.260.0060.06815.57
7.1.250.0060.06215.80
7.1.240.0030.05815.61
7.1.230.0100.06915.49
7.1.220.0070.06215.45
7.1.210.0030.06215.71
7.1.200.0030.06015.68
7.1.190.0070.06015.71
7.1.180.0070.07415.50
7.1.170.0000.06415.23
7.1.160.0100.06515.30
7.1.150.0070.06615.42
7.1.140.0100.06615.71
7.1.130.0030.06815.68
7.1.120.0030.06515.66
7.1.110.0040.07115.64
7.1.100.0070.06215.83
7.1.90.0140.06615.59
7.1.80.0030.06615.44
7.1.70.0030.06216.25
7.1.60.0070.08017.32
7.1.50.0030.07316.41
7.1.40.0030.08115.64
7.1.30.0060.06815.49
7.1.20.0070.06715.47
7.1.10.0030.07515.52
7.1.00.0050.06518.95
7.0.330.0030.06615.27
7.0.320.0070.06115.39
7.0.310.0030.06615.31
7.0.300.0030.06115.27
7.0.290.0140.06915.18
7.0.280.0070.06015.16
7.0.270.0070.07115.31
7.0.260.0070.07615.17
7.0.250.0030.07815.34
7.0.240.0070.06815.05
7.0.230.0100.06615.04
7.0.220.0030.07015.07
7.0.210.0110.07115.30
7.0.200.0080.05616.00
7.0.190.0040.07015.30
7.0.180.0070.07215.22
7.0.170.0070.07215.19
7.0.160.0030.08014.85
7.0.150.0140.06814.95
7.0.140.0070.09518.69
7.0.130.0000.07115.31
7.0.120.0030.09318.52
7.0.110.0030.07615.29
7.0.100.0100.06615.07
7.0.90.0030.06815.29
7.0.80.0070.07215.35
7.0.70.0000.07115.02
7.0.60.0020.06618.42
7.0.50.0050.11416.49
7.0.40.0030.08016.64
7.0.30.0160.10016.86
7.0.20.0200.07416.76
7.0.10.0000.07916.89
7.0.00.0050.07816.80
5.6.380.0100.08514.46
5.6.370.0030.09014.19
5.6.360.0130.08914.14
5.6.350.0030.09114.31
5.6.340.0030.09214.13
5.6.330.0190.08114.26
5.6.320.0070.09714.20
5.6.310.0060.09413.92
5.6.300.0070.09814.32
5.6.290.0070.08914.54
5.6.280.0050.15417.45
5.6.270.0030.09514.21
5.6.260.0070.12014.27
5.6.250.0070.09114.25
5.6.240.0070.09014.21
5.6.230.0070.09114.18
5.6.220.0030.09413.98
5.6.210.0080.10917.49
5.6.200.0070.12516.20
5.6.190.0070.13317.23
5.6.180.0070.12017.37
5.6.170.0150.10717.50
5.6.160.0080.09617.26
5.6.150.0050.11416.16
5.6.140.0120.11716.16
5.6.130.0080.11816.10
5.6.120.0050.10717.66
5.6.110.0050.13217.53
5.6.100.0070.09917.57
5.6.90.0120.11517.68
5.6.80.0100.08917.12
5.6.70.0000.09013.91
5.6.60.0070.09814.03
5.6.50.0070.08913.88
5.6.40.0070.08914.25
5.6.30.0030.09514.18
5.6.20.0000.09714.20
5.6.10.0100.08614.23
5.6.00.0000.10414.44
5.5.380.0030.09511.00
5.5.370.0030.09611.01
5.5.360.0030.09310.90
5.5.350.0080.09715.76
5.5.340.0070.12014.45
5.5.330.0100.12015.69
5.5.320.0150.12315.60
5.5.310.0180.11715.66
5.5.300.0030.09714.58
5.5.290.0100.11814.45
5.5.280.0030.09615.92
5.5.270.0050.12715.87
5.5.260.0080.11915.84
5.5.250.0050.09415.70
5.5.240.0120.10515.64
5.5.230.0100.08810.97
5.5.220.0000.09710.90
5.5.210.0070.09110.94
5.5.200.0000.09710.90
5.5.190.0070.09011.05
5.5.180.0070.08810.92
5.5.170.0070.08811.16
5.5.160.0100.08710.90
5.5.150.0070.09510.92
5.5.140.0030.08811.16
5.5.130.0060.09410.90
5.5.120.0030.08711.15
5.5.110.0070.09210.90
5.5.100.0030.09210.90
5.5.90.0030.09711.02
5.5.80.0070.09211.06
5.5.70.0030.10111.05
5.5.60.0000.10110.90
5.5.50.0030.10311.02
5.5.40.0030.09210.90
5.5.30.0030.09310.90
5.5.20.0000.09810.90
5.5.10.0060.09710.90
5.5.00.0070.09811.09
5.4.450.0030.09415.00
5.4.440.0050.12015.23
5.4.430.0080.11115.16
5.4.420.0120.12115.13
5.4.410.0070.10015.12
5.4.400.0070.10315.01
5.4.390.0050.09615.06
5.4.380.0070.11715.14
5.4.370.0070.12315.02
5.4.360.0080.10615.04
5.4.350.0050.09914.96
5.4.340.0050.12515.04
5.4.330.0000.09610.95
5.4.320.0070.10714.84
5.4.310.0070.11015.01
5.4.300.0050.12014.99
5.4.290.0080.11815.10
5.4.280.0030.12715.02
5.4.270.0080.11915.02
5.4.260.0100.11915.04
5.4.250.0120.11615.03
5.4.240.0070.09514.98
5.4.230.0100.11415.02
5.4.220.0050.11315.00
5.4.210.0050.12515.02
5.4.200.0050.12115.00
5.4.190.0030.11615.02
5.4.180.0030.11215.03
5.4.170.0030.10515.02
5.4.160.0030.13015.01
5.4.150.0080.11214.98
5.4.140.0080.12613.64
5.4.130.0050.13113.59
5.4.120.0070.12213.61
5.4.110.0020.13013.64
5.4.100.0000.10613.54
5.4.90.0020.09813.70
5.4.80.0020.09413.57
5.4.70.0050.10813.68
5.4.60.0070.08913.61
5.4.50.0050.10113.57
5.4.40.0020.10013.59
5.4.30.0050.09213.62
5.4.20.0070.12213.64
5.4.10.0100.10013.60
5.4.00.0020.10013.35
5.3.290.0080.11412.76
5.3.280.0070.13712.71
5.3.270.0020.15412.76
5.3.260.0080.14712.72
5.3.250.0050.11512.72
5.3.240.0070.13712.79
5.3.230.0070.12712.73
5.3.220.0050.13812.70
5.3.210.0050.13512.69
5.3.200.0050.14812.68
5.3.190.0030.11512.72
5.3.180.0080.10812.71
5.3.170.0050.13512.70
5.3.160.0020.14912.68
5.3.150.0030.11112.70
5.3.140.0050.11112.71
5.3.130.0080.10712.69
5.3.120.0070.11512.69
5.3.110.0100.13112.67
5.3.100.0030.11312.51
5.3.90.0070.12812.43
5.3.80.0030.11412.44
5.3.70.0030.12412.36
5.3.60.0080.12212.36
5.3.50.0070.14212.33
5.3.40.0100.12812.39
5.3.30.0030.14212.37
5.3.20.0020.12612.27
5.3.10.0030.10812.24
5.3.00.0080.11612.23
5.2.170.0030.12710.93
5.2.160.0050.11510.96
5.2.150.0050.11111.06
5.2.140.0030.11410.97
5.2.130.0030.12910.92
5.2.120.0030.14510.94
5.2.110.0070.13210.95
5.2.100.0020.11710.96
5.2.90.0130.11310.96
5.2.80.0020.13810.97
5.2.70.0020.15010.97
5.2.60.0170.12910.90
5.2.50.0030.15710.94
5.2.40.0080.14310.93
5.2.30.0030.11910.84
5.2.20.0080.12110.90
5.2.10.0030.14310.89
5.2.00.0020.15310.76
5.1.60.0200.11010.42
5.1.50.0030.11310.45
5.1.40.0000.13410.39
5.1.30.0070.13610.62
5.1.20.0030.14210.63
5.1.10.0070.02810.43
5.1.00.0000.01910.49
5.0.50.0000.0209.71
5.0.40.0030.0259.68
5.0.30.0030.0239.55
5.0.20.0000.0169.53
5.0.10.0010.0159.48
5.0.00.0070.0159.50
4.4.90.0050.0169.42
4.4.80.0050.0189.42
4.4.70.0020.0209.42
4.4.60.0020.0159.42
4.4.50.0020.0159.42
4.4.40.0030.0279.42
4.4.30.0020.0209.42
4.4.20.0000.0209.42
4.4.10.0020.0109.42
4.4.00.0050.0259.42
4.3.110.0020.0179.42
4.3.100.0030.0119.42
4.3.90.0030.0179.42
4.3.80.0020.0159.42
4.3.70.0030.0139.42
4.3.60.0050.0189.42
4.3.50.0020.0159.42
4.3.40.0020.0299.42
4.3.30.0020.0139.42
4.3.20.0020.0109.42
4.3.10.0020.0129.42
4.3.00.0020.0119.42

preferences:
39.58 ms | 401 KiB | 5 Q