3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strlen('usesomesillystringfor')); $hash = crypt('mypassword', '$2a$10$usesomesillystringfors'); var_dump($hash); echo crypt('mypassword', $hash);

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.0070.19318.27
8.3.50.0140.20322.09
8.3.40.0100.19118.79
8.3.30.0130.18719.09
8.3.20.0070.10220.22
8.3.10.0070.10223.51
8.3.00.0030.10522.44
8.2.180.0170.19218.28
8.2.170.0070.20222.96
8.2.160.0130.18622.25
8.2.150.0070.10224.18
8.2.140.0030.10624.66
8.2.130.0070.10126.16
8.2.120.0100.09917.63
8.2.110.0070.10620.52
8.2.100.0030.12017.72
8.2.90.0030.11818.16
8.2.80.0070.11518.04
8.2.70.0060.12917.38
8.2.60.0030.11817.92
8.2.50.0030.12718.07
8.2.40.0030.12818.09
8.2.30.0030.11617.92
8.2.20.0030.11817.52
8.2.10.0070.11417.67
8.2.00.0030.11817.61
8.1.280.0100.21525.92
8.1.270.0130.09923.79
8.1.260.0070.10226.35
8.1.250.0070.10128.09
8.1.240.0070.10322.05
8.1.230.0030.12120.96
8.1.220.0100.11217.74
8.1.210.0070.11518.90
8.1.200.0030.11917.10
8.1.190.0070.11517.53
8.1.180.0030.11918.10
8.1.170.0100.11218.49
8.1.160.0070.12121.86
8.1.150.0000.12118.63
8.1.140.0070.12017.38
8.1.130.0000.12017.75
8.1.120.0030.11617.42
8.1.110.0070.11517.32
8.1.100.0030.11717.40
8.1.90.0030.11817.41
8.1.80.0070.11517.35
8.1.70.0030.11617.35
8.1.60.0000.12417.47
8.1.50.0070.11517.49
8.1.40.0070.11317.45
8.1.30.0000.12117.45
8.1.20.0030.11717.58
8.1.10.0030.11817.54
8.1.00.0070.11417.49
8.0.300.0070.11820.08
8.0.290.0070.11317.18
8.0.280.0030.11718.44
8.0.270.0030.11617.26
8.0.260.0000.12018.46
8.0.250.0030.11616.99
8.0.240.0030.11816.93
8.0.230.0030.11716.77
8.0.220.0070.11616.82
8.0.210.0060.11416.75
8.0.200.0030.11616.74
8.0.190.0000.12016.87
8.0.180.0030.12016.91
8.0.170.0070.11416.88
8.0.160.0030.11716.77
8.0.150.0070.11616.73
8.0.140.0070.11616.72
8.0.130.0000.12113.24
8.0.120.0030.11716.81
8.0.110.0070.11316.84
8.0.100.0070.11316.84
8.0.90.0000.12016.80
8.0.80.0060.18416.87
8.0.70.0070.11416.81
8.0.60.0000.12116.78
8.0.50.0070.11416.62
8.0.30.0100.17517.12
8.0.20.0110.18417.40
8.0.10.0030.11816.81
8.0.00.0150.17716.71
7.4.330.0000.12615.01
7.4.320.0000.12016.42
7.4.300.0070.11216.43
7.4.290.0030.12616.45
7.4.280.0070.11516.55
7.4.270.0070.11516.32
7.4.260.0030.12016.56
7.4.250.0070.11316.25
7.4.240.0030.11716.48
7.4.230.0070.11216.27
7.4.220.0070.16616.46
7.4.210.0080.19416.44
7.4.200.0070.11416.23
7.4.190.0000.12116.57
7.4.160.0190.16616.43
7.4.150.0100.16817.40
7.4.140.0100.16717.86
7.4.130.0110.16716.54
7.4.120.0100.16916.47
7.4.110.0130.16216.63
7.4.100.0130.16316.41
7.4.90.0070.16916.29
7.4.80.0100.18016.38
7.4.70.0200.17716.56
7.4.60.0130.16316.42
7.4.50.0070.10416.26
7.4.40.0070.13222.77
7.4.30.0130.16316.40
7.4.00.0030.13114.63
7.3.330.0030.11612.89
7.3.320.0070.11113.02
7.3.310.0030.11716.14
7.3.300.0070.11316.13
7.3.290.0030.18416.16
7.3.280.0060.18616.10
7.3.270.0170.16017.40
7.3.260.0030.17316.20
7.3.250.0100.17216.23
7.3.240.0100.17316.21
7.3.230.0130.17216.50
7.3.210.0160.16116.40
7.3.200.0030.18219.39
7.3.190.0090.16916.39
7.3.180.0030.17116.35
7.3.170.0060.17216.27
7.3.160.0130.17816.31
7.3.120.0130.12314.84
7.2.330.0170.18916.66
7.2.320.0030.17616.49
7.2.310.0060.17316.35
7.2.300.0100.16516.31
7.2.290.0030.17916.56
7.2.00.0000.14019.29
7.1.100.0070.13317.86
7.1.70.0070.12317.07
7.1.60.0070.13419.32
7.1.50.0070.17016.91
7.1.00.0030.24022.54
7.0.200.0000.13916.75
7.0.140.0030.22021.99
7.0.100.0130.20319.88
7.0.90.0030.21319.99
7.0.80.0000.22019.84
7.0.70.0170.13720.03
7.0.60.0200.23019.91
7.0.50.0070.24020.11
7.0.40.0070.20720.02
7.0.30.0070.17720.18
7.0.20.0070.14020.07
7.0.10.0070.14020.07
7.0.00.0070.20720.09
5.6.280.0000.22721.09
5.6.250.0070.23720.48
5.6.240.0070.16320.54
5.6.230.0070.23320.64
5.6.220.0070.16020.55
5.6.210.0170.22720.65
5.6.200.0070.19720.94
5.6.190.0100.20321.13
5.6.180.0070.21021.07
5.6.170.0130.21021.05
5.6.160.0100.14020.93
5.6.150.0030.15021.04
5.6.140.0130.16021.05
5.6.130.0100.21020.95
5.6.120.0030.21321.05
5.6.110.0070.18321.01
5.6.100.0070.21321.02
5.6.90.0130.19721.02
5.6.80.0100.23320.49
5.6.70.0030.24020.54
5.6.60.0000.21720.40
5.6.50.0100.13720.40
5.6.40.0070.23320.48
5.6.30.0070.20320.41
5.6.20.0100.23320.46
5.6.10.0070.20720.43
5.6.00.0000.14320.41
5.5.380.0070.21320.54
5.5.370.0030.16020.39
5.5.360.0030.14320.38
5.5.350.0030.23020.32
5.5.340.0100.20720.83
5.5.330.0030.21720.76
5.5.320.0070.22020.92
5.5.310.0100.21720.89
5.5.300.0070.24020.90
5.5.290.0170.22720.78
5.5.280.0070.22720.85
5.5.270.0170.20720.74
5.5.260.0030.22720.89
5.5.250.0100.20720.60
5.5.240.0000.21720.29
5.5.230.0070.21320.27
5.5.220.0070.23320.29
5.5.210.0130.20720.13
5.5.200.0070.18320.23
5.5.190.0030.16720.23
5.5.180.0100.21720.23
5.5.160.0070.24720.15
5.5.150.0000.14720.25
5.5.140.0100.21319.98
5.5.130.0100.20320.16
5.5.120.0030.21719.98
5.5.110.0070.23320.10
5.5.100.0030.22320.05
5.5.90.0170.19320.05
5.5.80.0030.21320.06
5.5.70.0030.17319.93
5.5.60.0030.16319.99
5.5.50.0030.22720.07
5.5.40.0030.23720.14
5.5.30.0030.21020.14
5.5.20.0030.20320.07
5.5.10.0130.20720.03
5.5.00.0100.19720.02
5.4.450.0000.20019.43
5.4.440.0030.19019.52
5.4.430.0030.16319.13
5.4.420.0030.23019.13
5.4.410.0070.19319.27
5.4.400.0070.22018.98
5.4.390.0000.16318.83
5.4.380.0070.22319.18
5.4.370.0070.19318.90
5.4.360.0000.21018.98
5.4.350.0100.21319.12
5.4.340.0030.22018.95
5.4.320.0030.19318.98
5.4.310.0100.21318.78
5.4.300.0070.20019.11
5.4.290.0100.19719.07
5.4.280.0100.23718.97
5.4.270.0000.24019.04
5.4.260.0070.21319.09
5.4.250.0070.21319.07
5.4.240.0100.23018.97
5.4.230.0070.22319.04
5.4.220.0200.20719.04
5.4.210.0100.21719.04
5.4.200.0100.22318.78
5.4.190.0030.24019.04
5.4.180.0100.16019.06
5.4.170.0030.21719.04
5.4.160.0070.19319.02
5.4.150.0070.23319.02
5.4.140.0030.13716.27
5.4.130.0030.18716.29
5.4.120.0000.16016.27
5.4.110.0070.16316.45
5.4.100.0000.21016.20
5.4.90.0030.21716.23
5.4.80.0030.23316.43
5.4.70.0100.19316.34
5.4.60.0070.14316.42
5.4.50.0030.19716.35
5.4.40.0030.16016.23
5.4.30.0170.17016.41
5.4.20.0030.20016.46
5.4.10.0070.17016.38
5.4.00.0100.17015.80
5.3.290.0030.21714.66
5.3.280.0100.17314.56
5.3.270.0130.20014.42
5.3.260.0030.14014.59
5.3.250.0070.21314.59
5.3.240.0000.22714.56
5.3.230.0030.21014.54
5.3.220.0100.23714.49
5.3.210.0030.22314.52
5.3.200.0170.23314.47
5.3.190.0030.16714.41
5.3.180.0130.15014.39
5.3.170.0070.21314.52
5.3.160.0070.13314.51
5.3.150.0100.19714.55
5.3.140.0100.21014.54
5.3.130.0030.23714.54
5.3.120.0070.13714.36
5.3.110.0100.15714.40
5.3.100.0070.19714.02
5.3.90.0030.13713.99
5.3.80.0000.23014.01
5.3.70.0000.20013.87
5.3.60.0100.20314.00
5.3.50.0100.22013.79
5.3.40.0000.20313.88
5.3.30.0070.16313.86
5.3.20.0130.19713.68
5.3.10.0070.21313.43
5.3.00.0070.15313.58
5.2.170.0070.05011.00
5.2.160.0000.03010.87
5.2.150.0100.04711.05
5.2.140.0000.05311.00
5.2.130.0170.05311.03
5.2.120.0070.05010.94
5.2.110.0000.03311.07
5.2.100.0070.02310.82
5.2.90.0100.02310.98
5.2.80.0000.03010.91
5.2.70.0030.03011.02
5.2.60.0000.03011.00
5.2.50.0000.03010.74
5.2.40.0000.03010.99
5.2.30.0000.03310.74
5.2.20.0100.02010.95
5.2.10.0030.02710.88
5.2.00.0000.03010.69
5.1.60.0030.02310.69
5.1.50.0030.02310.69
5.1.40.0030.02310.69
5.1.30.0030.02310.69
5.1.20.0000.03010.69
5.1.10.0100.01710.69
5.1.00.0000.03310.69
5.0.50.0000.03010.69
5.0.40.0030.03310.69
5.0.30.0100.04310.69
5.0.20.0030.04310.69
5.0.10.0000.04710.69
5.0.00.0070.02310.69
4.4.90.0030.01310.69
4.4.80.0030.01310.69
4.4.70.0070.01010.69
4.4.60.0000.01310.69
4.4.50.0000.01710.69
4.4.40.0000.02310.69
4.4.30.0000.01710.69
4.4.20.0070.02710.69
4.4.10.0000.02010.69
4.4.00.0000.02710.69
4.3.110.0100.03010.69
4.3.100.0000.03710.69
4.3.90.0100.02710.69
4.3.80.0000.05310.69
4.3.70.0000.01310.69
4.3.60.0000.02010.69
4.3.50.0000.01710.69
4.3.40.0000.02710.69
4.3.30.0000.01710.69
4.3.20.0000.01710.69
4.3.10.0000.02010.69
4.3.00.0030.01310.69

preferences:
47.97 ms | 401 KiB | 5 Q