3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $sSalt = '$2a$10$1234567890123456789012$'; echo "\n"; echo $sHash = crypt('abcd', $sSalt); echo "\n" , crypt('abcd', $sHash);
based on n0cNW

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0070.12716.52
7.3.00.0070.13016.45
7.2.130.0070.13816.80
7.2.120.0130.12716.79
7.2.110.0030.13316.81
7.2.100.0070.13017.02
7.2.90.0100.12716.68
7.2.80.0160.12716.64
7.2.70.0100.12516.88
7.2.60.0000.13116.88
7.2.50.0100.12616.50
7.2.40.0000.13516.90
7.2.30.0070.12716.94
7.2.20.0100.12516.69
7.2.10.0100.13516.54
7.2.00.0030.13618.18
7.1.250.0030.13115.72
7.1.240.0030.12915.79
7.1.230.0100.13815.71
7.1.220.0070.12715.34
7.1.210.0100.13015.77
7.1.200.0100.12715.67
7.1.190.0030.12815.70
7.1.180.0030.12615.86
7.1.170.0000.13215.68
7.1.160.0000.13315.67
7.1.150.0130.12215.65
7.1.140.0030.12915.70
7.1.130.0100.12415.84
7.1.120.0030.13115.71
7.1.110.0030.13115.43
7.1.100.0030.13116.95
7.1.90.0030.12415.63
7.1.80.0070.12315.67
7.1.70.0070.12716.45
7.1.60.0050.16917.37
7.1.50.0070.12516.14
7.1.40.0130.11815.72
7.1.30.0100.12715.75
7.1.20.0070.12215.75
7.1.10.0070.12815.62
7.1.00.0050.18418.89
7.0.330.0000.13515.06
7.0.320.0000.13615.17
7.0.310.0070.13015.07
7.0.300.0030.12915.08
7.0.290.0100.13115.09
7.0.280.0070.12815.51
7.0.270.0030.12515.52
7.0.260.0030.13015.15
7.0.250.0030.13015.10
7.0.240.0070.12815.27
7.0.230.0100.12515.08
7.0.220.0000.13414.88
7.0.210.0000.13515.08
7.0.200.1530.12915.98
7.0.190.0070.12915.21
7.0.180.0070.12815.45
7.0.170.0070.12915.12
7.0.160.0070.13115.24
7.0.150.0100.13015.30
7.0.140.0080.15418.64
7.0.130.0070.12615.13
7.0.120.0030.13215.49
7.0.110.0030.12715.13
7.0.100.0030.13315.41
7.0.90.0070.12615.25
7.0.80.0070.12515.22
7.0.70.0000.13315.33
7.0.60.0080.17617.59
7.0.50.0120.17316.48
7.0.40.0070.15716.74
7.0.30.0170.17016.78
7.0.20.0050.15016.60
7.0.10.0030.14916.80
7.0.00.0050.17716.79
5.6.380.0070.12714.06
5.6.370.0030.13814.22
5.6.360.0000.12914.18
5.6.350.0000.13714.21
5.6.340.0030.13313.79
5.6.330.0030.13413.84
5.6.320.0030.13514.40
5.6.310.0030.12514.18
5.6.300.0000.13414.27
5.6.290.0000.13414.21
5.6.280.0030.18217.39
5.6.270.0000.13414.50
5.6.260.0070.13114.09
5.6.250.0070.13514.43
5.6.240.0030.13214.32
5.6.230.0000.13014.35
5.6.220.0070.12613.99
5.6.210.0070.16117.38
5.6.200.0020.15916.03
5.6.190.0050.14917.36
5.6.180.1750.14917.23
5.6.170.0200.14617.28
5.6.160.0100.17317.20
5.6.150.0070.17716.15
5.6.140.0080.16016.17
5.6.130.0220.15916.15
5.6.120.0070.17417.67
5.6.110.0070.16917.59
5.6.100.0130.16917.63
5.6.90.0070.17817.71
5.6.80.0070.14417.30
5.6.70.2330.13917.31
5.6.60.0000.13114.29
5.6.50.0070.12614.10
5.6.40.0030.13013.91
5.6.30.0030.12913.79
5.6.20.0000.12913.79
5.6.10.0070.12614.12
5.6.00.0070.12614.00
5.5.380.0000.13411.07
5.5.370.0030.12911.23
5.5.360.0030.13410.91
5.5.350.0100.17415.60
5.5.340.0050.17414.50
5.5.330.0020.15415.73
5.5.320.1730.14515.62
5.5.310.0100.18115.67
5.5.300.0030.16614.29
5.5.290.0120.16214.37
5.5.280.0020.17615.83
5.5.270.0080.16715.94
5.5.260.0100.18015.84
5.5.250.0030.16115.62
5.5.240.0170.16815.60
5.5.230.0070.12711.00
5.5.220.0130.12210.82
5.5.210.0030.13110.90
5.5.200.0030.13310.84
5.5.190.0000.13011.04
5.5.180.0070.12411.01
5.5.170.0070.13110.82
5.5.160.0000.13410.98
5.5.150.0030.12810.86
5.5.140.0060.12311.01
5.5.130.0030.12710.96
5.5.120.0030.13010.89
5.5.110.0000.13310.73
5.5.100.0030.12410.73
5.5.90.0070.12810.82
5.5.80.0070.12810.91
5.5.70.0030.12511.00
5.5.60.0030.13210.91
5.5.50.0030.12710.96
5.5.40.0030.12410.92
5.5.30.0030.12910.70
5.5.20.0030.12810.84
5.5.10.0000.13610.85
5.5.00.0070.12611.00
5.4.450.0130.13915.28
5.4.440.0170.13614.96
5.4.430.0130.13715.08
5.4.420.0030.18615.31
5.4.410.0070.18114.96
5.4.400.0100.17114.74
5.4.390.0100.17414.65
5.4.380.0070.17914.69
5.4.370.0120.17414.78
5.4.360.0050.18314.80
5.4.350.0030.14212.35
5.4.340.0080.13512.29
5.4.330.0000.13410.78
5.4.320.0070.13812.39
5.4.310.0030.14712.48
5.4.300.0070.14212.48
5.4.290.0050.14312.56
5.4.280.0020.14212.42
5.4.270.0030.14712.59
5.4.260.0050.14312.38
5.4.250.0100.14012.49
5.4.240.0050.14412.46
5.4.230.0050.14312.45
5.4.220.0030.14712.40
5.4.210.0050.14612.33
5.4.200.0050.14412.40
5.4.190.0080.14512.52
5.4.180.0050.14312.35
5.4.170.0080.14112.45
5.4.160.0050.14512.50
5.4.150.0030.14912.57
5.4.140.0050.14612.35
5.4.130.0100.14312.33
5.4.120.0020.14712.31
5.4.110.0030.14412.32
5.4.100.0080.14512.23
5.4.90.0030.14412.42
5.4.80.0030.14612.46
5.4.70.0050.14712.26
5.4.60.0050.14412.26
5.4.50.0070.14312.26
5.4.40.0070.13912.10
5.4.30.0070.14412.33
5.4.20.0100.14312.39
5.4.10.0050.14212.16
5.4.00.0050.14111.94
5.3.290.0050.14212.51
5.3.280.0080.14412.43
5.3.270.0100.13912.42
5.3.260.0000.14812.52
5.3.250.0070.14912.34
5.3.240.0080.14412.45
5.3.230.0080.14412.43
5.3.220.0030.14712.49
5.3.210.0070.14112.45
5.3.200.0050.14112.38
5.3.190.0130.13912.30
5.3.180.0050.14512.42
5.3.170.0050.14312.42
5.3.160.0070.14412.53
5.3.150.0080.13912.45
5.3.140.0030.14412.38
5.3.130.0080.14512.44
5.3.120.0070.14512.43
5.3.110.0070.14212.49
5.3.100.0030.14712.16
5.3.90.0050.14212.11
5.3.80.0130.13712.10
5.3.70.0080.14412.12
5.3.60.0080.14412.21
5.3.50.0070.14412.07
5.3.40.0080.13911.99
5.3.30.0070.14012.07
5.3.20.0080.14211.92
5.3.10.0050.13811.72
5.3.00.0020.14811.92
5.2.170.0030.01710.21
5.2.160.0020.01810.10
5.2.150.0020.01810.24
5.2.140.0040.01610.24
5.2.130.0020.01910.20
5.2.120.0070.01710.31
5.2.110.0050.0169.99
5.2.100.0020.01710.07
5.2.90.0060.01610.06
5.2.80.0040.01710.08
5.2.70.0070.01910.15
5.2.60.0100.01510.08
5.2.50.0020.02110.07
5.2.40.0080.01510.06
5.2.30.0030.01610.00
5.2.20.0000.0259.97
5.2.10.0060.01610.01
5.2.00.0070.0199.95
5.1.60.0040.0149.15
5.1.50.0040.0159.18
5.1.40.0050.0139.28
5.1.30.0020.0179.31
5.1.20.0070.0129.39
5.1.10.0000.0199.28
5.1.00.0050.0159.15
5.0.50.0000.0178.43
5.0.40.0040.0138.36
5.0.30.0020.0208.23
5.0.20.0030.0128.24
5.0.10.0020.0128.22
5.0.00.0000.0208.18
4.4.90.0040.0077.14
4.4.80.0000.0127.18
4.4.70.0050.0087.13
4.4.60.0010.0107.12
4.4.50.0000.0117.13
4.4.40.0010.0157.13
4.4.30.0020.0097.14
4.4.20.0030.0107.16
4.4.10.0020.0147.16
4.4.00.0020.0167.14
4.3.110.0030.0127.10
4.3.100.0020.0117.08
4.3.90.0050.0067.16
4.3.80.0030.0147.08
4.3.70.0020.0087.08
4.3.60.0000.0127.09
4.3.50.0010.0117.12
4.3.40.0030.0177.14
4.3.30.0000.0136.55
4.3.20.0030.0136.50
4.3.10.0000.0146.46
4.3.00.0050.01012.48