3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'password'; $hashed = false; $password = !$hashed ? $password : md5($password); echo $password;

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.00316.63
8.3.50.0110.00622.00
8.3.40.0090.01218.55
8.3.30.0090.00618.92
8.3.20.0070.00020.09
8.3.10.0040.00423.48
8.3.00.0040.00419.26
8.2.180.0150.00018.29
8.2.170.0120.00322.96
8.2.160.0110.00320.44
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0040.00422.13
8.2.110.0080.00020.22
8.2.100.0040.00817.72
8.2.90.0040.00417.84
8.2.80.0080.00017.97
8.2.70.0080.00017.49
8.2.60.0070.00017.93
8.2.50.0040.00418.07
8.2.40.0030.00620.01
8.2.30.0050.00317.96
8.2.20.0040.00417.54
8.2.10.0030.00618.03
8.2.00.0100.00017.72
8.1.280.0070.01025.92
8.1.270.0040.00423.72
8.1.260.0000.00726.35
8.1.250.0000.00828.09
8.1.240.0140.00722.03
8.1.230.0000.01122.16
8.1.220.0040.00417.74
8.1.210.0030.00619.00
8.1.200.0080.00017.36
8.1.190.0030.00517.38
8.1.180.0070.00318.10
8.1.170.0080.00018.51
8.1.160.0070.00021.91
8.1.150.0040.00418.64
8.1.140.0000.00717.40
8.1.130.0000.00717.86
8.1.120.0000.00717.50
8.1.110.0000.00717.45
8.1.100.0000.00717.29
8.1.90.0000.00717.39
8.1.80.0070.00017.44
8.1.70.0030.00317.41
8.1.60.0060.00317.59
8.1.50.0000.00817.48
8.1.40.0000.00817.54
8.1.30.0000.00817.59
8.1.20.0000.00817.61
8.1.10.0000.00717.44
8.1.00.0040.00417.45
8.0.300.0020.00519.98
8.0.290.0000.00817.04
8.0.280.0030.00318.39
8.0.270.0030.00317.13
8.0.260.0030.00317.15
8.0.250.0030.00316.84
8.0.240.0030.00316.82
8.0.230.0030.00316.96
8.0.220.0070.00016.85
8.0.210.0040.00416.92
8.0.200.0060.00016.82
8.0.190.0030.00516.93
8.0.180.0030.00316.80
8.0.170.0040.00416.79
8.0.160.0040.00416.76
8.0.150.0040.00416.88
8.0.140.0040.00416.77
8.0.130.0070.00013.27
8.0.120.0000.00816.87
8.0.110.0080.00016.75
8.0.100.0040.00416.99
8.0.90.0040.00416.82
8.0.80.0140.00016.87
8.0.70.0000.00716.95
8.0.60.0040.00416.82
8.0.50.0080.00016.75
8.0.30.0140.00516.96
8.0.20.0140.00417.40
8.0.10.0080.00017.00
8.0.00.0090.00916.64
7.4.330.0050.00015.00
7.4.320.0060.00016.54
7.4.300.0000.00616.46
7.4.290.0030.00316.61
7.4.280.0040.00416.61
7.4.270.0000.00716.60
7.4.260.0030.00316.61
7.4.250.0020.00516.48
7.4.240.0030.00416.54
7.4.230.0030.00316.49
7.4.220.0120.00616.51
7.4.210.0080.01116.64
7.4.200.0080.00016.46
7.4.190.0030.00316.66
7.4.160.0060.00916.38
7.4.150.0180.00317.40
7.4.140.0140.00517.86
7.4.130.0030.01416.35
7.4.120.0110.00916.48
7.4.110.0100.00616.43
7.4.100.0060.01516.64
7.4.90.0170.00016.40
7.4.80.0110.01119.39
7.4.70.0060.00916.39
7.4.60.0170.00716.38
7.4.50.0040.00016.45
7.4.40.0060.00922.77
7.4.30.0060.00916.50
7.4.00.0090.00814.90
7.3.330.0050.00013.01
7.3.320.0050.00013.09
7.3.310.0000.00716.30
7.3.300.0030.00316.30
7.3.290.0060.01516.30
7.3.280.0110.00716.23
7.3.270.0160.00417.40
7.3.260.0040.01916.22
7.3.250.0050.01416.48
7.3.240.0090.00916.41
7.3.230.0160.00316.39
7.3.210.0100.00616.31
7.3.200.0060.01119.39
7.3.190.0060.01616.39
7.3.180.0100.00616.25
7.3.170.0070.01016.51
7.3.160.0040.01216.31
7.3.120.0110.00514.66
7.3.110.0110.00714.78
7.3.100.0060.00914.76
7.3.90.0080.00814.96
7.3.80.0090.00614.78
7.3.70.0110.00014.81
7.3.60.0080.00814.84
7.3.50.0030.01014.96
7.3.40.0070.00714.86
7.3.30.0060.00614.80
7.3.20.0090.00616.50
7.3.10.0040.01216.62
7.3.00.0060.00916.80
7.2.330.0090.00916.46
7.2.320.0090.00916.32
7.2.310.0030.01616.63
7.2.300.0040.01216.22
7.2.290.0030.01716.59
7.2.250.0110.00414.94
7.2.240.0070.01414.88
7.2.230.0030.01014.86
7.2.220.0000.01215.11
7.2.210.0040.01115.00
7.2.200.0040.00814.86
7.2.190.0040.01114.88
7.2.180.0100.00315.04
7.2.170.0060.00914.88
7.2.00.0030.00919.13
7.1.330.0070.00715.81
7.1.320.0040.01116.05
7.1.310.0070.00715.83
7.1.300.0000.01515.65
7.1.290.0000.01315.76
7.1.280.0070.00315.69
7.1.270.0060.00915.54
7.1.260.0100.00615.72
7.1.200.0030.00815.65
7.1.100.0000.01417.68
7.1.70.0000.00817.18
7.1.60.0060.01919.46
7.1.50.0040.01816.98
7.1.00.0030.07722.45
7.0.200.0110.00316.69
7.0.140.0000.07722.15
7.0.60.0070.04719.88
7.0.50.0030.05017.86
7.0.40.0030.04320.04
7.0.30.0300.06020.13
7.0.20.0300.07320.11
7.0.10.0070.06720.03
7.0.00.0030.08320.09
5.6.280.0000.07720.88
5.6.210.0030.04720.66
5.6.200.0100.06718.22
5.6.190.0030.09020.32
5.6.180.0270.04020.47
5.6.170.0230.07020.48
5.6.160.0100.08720.49
5.6.150.0070.07318.12
5.6.140.0030.08318.17
5.6.130.0070.05318.08
5.6.120.0100.08321.01
5.6.110.0030.06721.04
5.6.100.0070.07321.13
5.6.90.0030.04321.02
5.6.80.0130.07720.38
5.6.70.3100.03020.47
5.5.350.0130.08020.39
5.5.340.0100.08017.98
5.5.330.0070.04320.36
5.5.320.0130.08720.31
5.5.310.0300.07720.23
5.5.300.0100.07717.88
5.5.290.0000.09018.01
5.5.280.0070.05320.87
5.5.270.0130.07720.85
5.5.260.0070.08320.75
5.5.250.0070.03720.68
5.5.240.0330.07020.18
5.4.450.0170.05719.45
5.4.440.0670.06719.45
5.4.430.0600.06319.57
5.4.420.0830.04319.10
5.4.410.0570.05319.41
5.4.400.0700.04719.19
5.4.390.0600.06019.15
5.4.380.0270.05718.53
5.4.370.0270.04018.50
5.4.360.0270.05718.61
5.4.350.0300.05018.66
5.4.340.0270.05318.50
5.4.320.0080.03812.45
5.4.310.0040.04412.45
5.4.300.0100.05012.45
5.4.290.0040.03912.45
5.4.280.0090.04612.32
5.4.270.0060.04012.32
5.4.260.0130.06812.32
5.4.250.0070.05812.32
5.4.240.0100.05012.32
5.4.230.0050.05512.31
5.4.220.0070.03712.31
5.4.210.0090.05312.31
5.4.200.0110.05012.31
5.4.190.0080.04912.31
5.4.180.0170.05812.30
5.4.170.0180.04512.32
5.4.160.0130.07612.31
5.4.150.0090.05512.31
5.4.140.0060.04912.00
5.4.130.0080.03911.98
5.4.120.0090.04711.94
5.4.110.0080.04011.93
5.4.100.0070.04111.94
5.4.90.0070.03711.93
5.4.80.0070.04211.93
5.4.70.0080.03711.93
5.4.60.0100.04111.93
5.4.50.0150.05511.93
5.4.40.0100.05011.92
5.4.30.0080.03711.92
5.4.20.0100.03411.92
5.4.10.0110.04111.92
5.4.00.0080.04911.41
5.3.290.0050.04612.80
5.3.280.0070.04012.71
5.3.270.0110.03612.73
5.3.260.0100.03612.72
5.3.250.0070.04412.71
5.3.240.0070.04612.72
5.3.230.0080.05412.71
5.3.220.0050.05012.68
5.3.210.0070.04612.68
5.3.200.0110.03712.68
5.3.190.0060.04212.68
5.3.180.0050.04112.67
5.3.170.0100.03812.67
5.3.160.0130.04712.68
5.3.150.0100.03712.68
5.3.140.0100.03612.66
5.3.130.0070.04912.66
5.3.120.0090.04812.66
5.3.110.0110.05312.66
5.3.100.0080.05612.12
5.3.90.0080.03812.09
5.3.80.0040.04112.07
5.3.70.0110.04312.07
5.3.60.0060.03812.07
5.3.50.0040.03912.00
5.3.40.0080.04812.00
5.3.30.0100.04011.93
5.3.20.0130.04011.70
5.3.10.0040.04811.66
5.3.00.0070.05211.65
5.2.170.0080.0439.15
5.2.160.0050.0399.15
5.2.150.0060.0469.15
5.2.140.0090.0329.14
5.2.130.0050.0359.11
5.2.120.0070.0289.11
5.2.110.0110.0349.12
5.2.100.0090.0489.11
5.2.90.0090.0379.11
5.2.80.0130.0349.11
5.2.70.0070.0379.11
5.2.60.0060.0309.05
5.2.50.0110.0369.03
5.2.40.0070.0289.00
5.2.30.0090.0298.98
5.2.20.0070.0328.96
5.2.10.0060.0378.89
5.2.00.0060.0378.75
5.1.60.0080.0278.04
5.1.50.0080.0328.04
5.1.40.0070.0328.02
5.1.30.0070.0318.37
5.1.20.0050.0438.39
5.1.10.0110.0418.12
5.1.00.0100.0328.12
5.0.50.0040.0276.59
5.0.40.0070.0266.46
5.0.30.0090.0616.27
5.0.20.0050.0316.23
5.0.10.0040.0296.22
5.0.00.0120.0346.21
4.4.90.0030.0174.78
4.4.80.0030.0184.75
4.4.70.0030.0234.76
4.4.60.0080.0284.75
4.4.50.0040.0244.77
4.4.40.0070.0334.70
4.4.30.0060.0194.76
4.4.20.0050.0154.85
4.4.10.0050.0234.85
4.4.00.0080.0334.76
4.3.110.0030.0244.66
4.3.100.0040.0164.66
4.3.90.0030.0174.63
4.3.80.0040.0254.59
4.3.70.0050.0184.63
4.3.60.0020.0174.63
4.3.50.0040.0214.63
4.3.40.0050.0294.53
4.3.30.0040.0143.27
4.3.20.0040.0153.25
4.3.10.0000.0193.21
4.3.00.0170.01710.30

preferences:
48.35 ms | 401 KiB | 5 Q