3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$b = md5('password'); $c = password_hash("password", PASSWORD_BCRYPT); $la = crypt($c,'$2a$07$usesomesillystringforsalt$'); echo $la; ?>

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.0170.07414.64
7.3.120.0070.08014.75
7.3.110.0100.07814.57
7.3.100.0130.07314.82
7.3.90.0000.08414.48
7.3.80.0070.07614.44
7.3.70.0000.08114.45
7.3.60.0070.07614.89
7.3.50.0030.07914.51
7.3.40.0070.07614.84
7.3.30.0130.06814.82
7.3.20.0130.07416.70
7.3.10.0000.09716.44
7.3.00.0000.08516.16
7.2.250.0000.08915.07
7.2.240.0030.08914.71
7.2.230.0030.08215.14
7.2.220.0030.07814.62
7.2.210.0130.07314.61
7.2.200.0100.07714.86
7.2.190.0000.09614.91
7.2.180.0070.07515.14
7.2.170.0030.07614.95
7.2.60.0030.08116.57
7.2.00.0030.07918.97
7.1.330.0030.08015.98
7.1.320.0030.07515.88
7.1.310.0030.07515.70
7.1.300.0070.07715.45
7.1.290.0100.06915.63
7.1.280.0070.07615.78
7.1.270.0060.07415.71
7.1.260.0070.07615.65
7.1.200.0070.07615.63
7.1.100.0030.08117.93
7.1.70.0000.09616.74
7.1.60.0030.14619.82
7.1.50.0130.12116.92
7.1.00.0100.16322.44
7.0.200.0100.07416.61
7.0.140.0000.16722.15
7.0.60.0130.16319.92
7.0.50.0000.11717.92
7.0.40.0130.16320.04
7.0.30.0300.14020.09
7.0.20.0300.16020.10
7.0.10.0030.16720.20
7.0.00.0100.12020.09
5.6.280.0000.17720.90
5.6.210.0030.10720.70
5.6.200.0070.16018.29
5.6.190.0070.16320.41
5.6.180.0270.11020.61
5.6.170.0230.13720.62
5.6.160.0000.16020.70
5.6.150.0170.14018.22
5.6.140.0300.11318.17
5.6.130.0070.11318.15
5.6.120.0030.17721.00
5.6.110.0070.13321.11
5.6.100.0130.11021.13
5.6.90.0100.13021.09
5.6.80.0130.15320.50
5.5.350.4100.11020.40
5.5.340.0070.12718.02
5.5.330.0070.17320.28
5.5.320.0330.16020.34
5.5.310.0370.12720.28
5.5.300.0070.12317.95
5.5.290.0070.17017.96
5.5.280.0070.13020.86
5.5.270.0070.17720.82
5.5.260.0070.16720.75
5.5.250.0030.17320.78
5.5.240.0000.09020.21
5.4.450.0600.04719.37
5.4.440.0230.04719.38
5.4.430.0600.03319.41
5.4.420.0570.03719.50
5.4.410.0070.05718.99
5.4.400.0030.06318.65
5.4.390.0030.05718.64
5.4.380.0300.04718.68
5.4.370.0270.04318.59
5.4.360.0230.05018.60
5.4.350.0170.06018.67
5.4.340.0430.05318.68
5.4.320.0060.03612.45
5.4.310.0020.04212.45
5.4.300.0110.04712.45
5.4.290.0070.03712.45
5.4.280.0040.04712.35
5.4.270.0070.03512.32
5.4.260.0020.04312.32
5.4.250.0070.03912.32
5.4.240.0080.03312.31
5.4.230.0060.03812.30
5.4.220.0050.03812.30
5.4.210.0070.03512.31
5.4.200.0080.03612.31
5.4.190.0080.03412.30
5.4.180.0060.03612.30
5.4.170.0100.03212.32
5.4.160.0040.03812.31
5.4.150.0060.03812.30
5.4.140.0060.03811.99
5.4.130.0050.03811.97
5.4.120.0080.03411.93
5.4.110.0060.03511.93
5.4.100.0110.03411.93
5.4.90.0080.03611.93
5.4.80.0070.03711.93
5.4.70.0080.03711.92
5.4.60.0080.03511.93
5.4.50.0080.03511.92
5.4.40.0060.03711.91
5.4.30.0060.03911.91
5.4.20.0090.03511.91
5.4.10.0060.03811.91
5.4.00.0040.03711.39
5.3.290.0080.04012.80
5.3.280.0100.03412.71
5.3.270.0090.03612.72
5.3.260.0090.04912.72
5.3.250.0140.04812.72
5.3.240.0060.05512.71
5.3.230.0080.05112.71
5.3.220.0080.05512.68
5.3.210.0070.05712.68
5.3.200.0100.05112.68
5.3.190.0090.04212.68
5.3.180.0070.04112.67
5.3.170.0060.03812.67
5.3.160.0060.03812.67
5.3.150.0100.03312.68
5.3.140.0090.03712.66
5.3.130.0060.04012.66
5.3.120.0090.04212.66
5.3.110.0080.03812.66
5.3.100.0110.03412.11
5.3.90.0070.03612.09
5.3.80.0120.03312.07
5.3.70.0060.03712.07
5.3.60.0080.03612.07
5.3.50.0070.03712.00
5.3.40.0060.03812.00
5.3.30.0040.03911.94
5.3.20.0050.03811.70
5.3.10.0060.03611.66
5.3.00.0040.03911.64
5.2.170.0080.0299.15
5.2.160.0060.0309.14
5.2.150.0060.0309.14
5.2.140.0060.0309.14
5.2.130.0050.0309.11
5.2.120.0060.0279.11
5.2.110.0040.0309.11
5.2.100.0030.0319.11
5.2.90.0060.0289.11
5.2.80.0060.0299.09
5.2.70.0050.0309.10
5.2.60.0050.0299.05
5.2.50.0050.0299.03
5.2.40.0040.0309.00
5.2.30.0030.0338.98
5.2.20.0030.0308.96
5.2.10.0050.0278.89
5.2.00.0060.0278.75
5.1.60.0030.0258.03
5.1.50.0040.0258.03
5.1.40.0050.0238.02
5.1.30.0070.0238.36
5.1.20.0060.0258.39
5.1.10.0050.0258.11
5.1.00.0050.0258.11
5.0.50.0030.0216.59
5.0.40.0050.0176.45
5.0.30.0040.0306.27
5.0.20.0020.0206.23
5.0.10.0030.0206.21
5.0.00.0020.0326.20
4.4.90.0010.0184.78
4.4.80.0040.0154.75
4.4.70.0010.0194.75
4.4.60.0040.0214.76
4.4.50.0030.0154.77
4.4.40.0050.0234.71
4.4.30.0020.0164.76
4.4.20.0040.0154.84
4.4.10.0050.0154.85
4.4.00.0000.0284.76
4.3.110.0020.0164.67
4.3.100.0020.0154.66
4.3.90.0010.0164.64
4.3.80.0040.0234.59
4.3.70.0010.0164.63
4.3.60.0030.0144.63
4.3.50.0040.0144.63
4.3.40.0030.0234.54
4.3.30.0030.0153.26
4.3.20.0000.0183.25
4.3.10.0050.0133.21
4.3.00.0070.01315.06

preferences:
39.25 ms | 401 KiB | 5 Q