3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strlen(md5(rand()));

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.10.0070.00714.16
7.4.00.0030.01415.01
7.3.130.0070.01014.76
7.3.120.0090.00614.62
7.3.110.0030.01214.70
7.3.100.0070.00714.49
7.3.90.0090.00614.21
7.3.80.0100.00514.73
7.3.70.0060.00614.47
7.3.60.0080.00814.57
7.3.50.0080.00714.33
7.3.40.0080.00614.37
7.3.30.0070.00914.56
7.3.20.0090.00815.46
7.3.10.0110.00815.63
7.3.00.0150.00715.58
7.2.260.0030.01214.81
7.2.250.0070.01014.70
7.2.240.0030.00914.81
7.2.230.0000.01515.06
7.2.220.0080.00514.61
7.2.210.0110.00414.82
7.2.200.0040.00814.84
7.2.190.0080.00714.92
7.2.180.0050.00814.80
7.2.170.0080.00914.61
7.2.160.0110.00514.64
7.2.150.0100.00615.66
7.2.140.0100.00915.79
7.2.130.0120.00616.01
7.2.120.0060.01016.06
7.2.110.0140.00815.63
7.2.100.0120.00615.66
7.2.90.0120.00715.57
7.2.80.0160.00715.52
7.2.70.0130.00715.76
7.2.60.0140.00815.62
7.2.50.0150.00715.71
7.2.40.0320.01015.62
7.2.30.0100.00915.73
7.2.20.0100.00915.72
7.2.10.0100.00715.63
7.2.00.0220.01016.55
7.1.330.0110.00415.80
7.1.320.0060.00615.64
7.1.310.0090.00914.97
7.1.300.0100.00914.63
7.1.290.0130.00514.72
7.1.280.0100.00614.71
7.1.270.0080.00914.64
7.1.260.0070.01014.62
7.1.250.0070.00514.92
7.1.240.0070.00514.63
7.1.230.0170.00414.33
7.1.220.0160.00814.24
7.1.210.0180.00514.30
7.1.200.0170.00714.36
7.1.190.0170.00414.21
7.1.180.0170.00614.38
7.1.170.0160.00714.37
7.1.160.0120.01014.45
7.1.150.0130.00914.49
7.1.140.0160.00414.30
7.1.130.0130.00614.17
7.1.120.0110.00914.34
7.1.110.0190.00614.36
7.1.100.0140.00614.20
7.1.90.0140.00714.29
7.1.80.0130.00614.22
7.1.70.0110.00615.06
7.1.60.0180.00619.42
7.1.50.0160.00920.21
7.1.40.0220.01120.28
7.1.30.0220.01020.36
7.1.20.0430.00920.34
7.1.10.0150.00914.34
7.1.00.0150.02116.30
7.0.330.0230.00013.59
7.0.320.0110.00813.13
7.0.310.0180.01313.05
7.0.300.0210.00913.23
7.0.290.0210.01113.25
7.0.280.0220.01113.23
7.0.270.0180.00513.26
7.0.260.0200.00713.11
7.0.250.0230.00513.43
7.0.240.0180.00813.43
7.0.230.0230.00313.40
7.0.220.0230.00313.31
7.0.210.0190.00613.35
7.0.200.0260.00813.68
7.0.190.0250.00313.29
7.0.180.0240.00613.20
7.0.170.0220.00613.33
7.0.160.0150.00913.41
7.0.150.0310.00513.35
7.0.140.0250.00813.37
7.0.130.0150.02616.30
7.0.120.0210.02116.19
7.0.110.0150.02316.33
7.0.100.0400.02316.24
7.0.90.0150.02316.29
7.0.80.0210.02816.30
7.0.70.0120.02416.35
7.0.60.0220.02516.27
7.0.50.0240.02316.35
7.0.40.0180.02516.29
7.0.30.0150.02016.32
7.0.20.0210.01916.23
7.0.10.0220.02116.24
7.0.00.0160.02216.33
5.6.400.0150.00314.22
5.6.390.0090.00914.19
5.6.380.0090.00513.99
5.6.370.0100.00813.96
5.6.360.0090.00814.10
5.6.350.0100.00913.98
5.6.340.0080.00714.20
5.6.330.0130.00513.99
5.6.320.0090.00814.16
5.6.310.0100.00814.05
5.6.300.0060.01013.91
5.6.290.0080.00814.22
5.6.280.0070.02516.37
5.6.270.0060.02716.43
5.6.260.0080.02416.55
5.6.250.0120.02116.41
5.6.240.0100.02516.28
5.6.230.0060.02616.42
5.6.220.0100.02216.55
5.6.210.0090.02416.35
5.6.200.0100.02016.39
5.6.190.0080.02316.45
5.6.180.0090.02116.32
5.6.170.0090.02116.47
5.6.160.0100.02116.49
5.6.150.0060.02516.31
5.6.140.0120.02316.29
5.6.130.0060.02416.36
5.6.120.0090.02216.31
5.6.110.0040.02716.34
5.6.100.0060.02716.34
5.6.90.0070.02416.14
5.6.80.0090.02116.15
5.6.70.0090.02616.16
5.6.60.0080.02216.00
5.6.50.0060.02416.06
5.6.40.0090.02116.14
5.6.30.0070.02316.03
5.6.20.0090.01916.22
5.6.10.0070.02116.04
5.6.00.0060.02516.09

preferences:
40.19 ms | 400 KiB | 5 Q