3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass(); $a->version = phpversion(); echo 'PHP Version:' . $a->version;

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.0040.01314.78
7.4.00.0130.00614.81
7.3.130.0050.00914.79
7.3.120.0120.00514.87
7.3.110.0070.01114.77
7.3.100.0090.00514.62
7.3.90.0060.00914.96
7.3.80.0070.00814.85
7.3.70.0080.00514.78
7.3.60.0030.00814.66
7.3.50.0060.00714.68
7.3.40.0090.00614.63
7.3.30.0090.00614.80
7.3.20.0070.00516.50
7.3.10.0030.00816.57
7.3.00.0060.00816.62
7.2.260.0100.00814.96
7.2.250.0080.01115.16
7.2.240.0050.00915.07
7.2.230.0030.01315.06
7.2.220.0080.00715.03
7.2.210.0050.00814.95
7.2.200.0060.00815.07
7.2.190.0050.00814.99
7.2.180.0070.00315.02
7.2.170.0060.00915.06
7.2.160.0030.00815.00
7.2.150.0090.00516.76
7.2.140.0050.00916.96
7.2.130.0040.01016.89
7.2.120.0070.00616.97
7.2.110.0030.01116.66
7.2.100.0070.00616.87
7.2.90.0070.00517.12
7.2.80.0060.00716.81
7.2.70.0090.00416.92
7.2.60.0050.00916.90
7.2.50.0090.00516.99
7.2.40.0020.01217.02
7.2.30.0080.00816.98
7.2.20.0040.01016.92
7.2.10.0050.01016.99
7.2.00.0080.00617.46
7.1.330.0020.00915.68
7.1.320.0050.01015.71
7.1.310.0040.00915.57
7.1.300.0030.00815.76
7.1.290.0030.01015.71
7.1.280.0080.00615.61
7.1.270.0000.01115.66
7.1.260.0040.00715.73
7.1.250.0010.00915.74
7.1.240.0030.01015.81
7.1.230.0060.00815.55
7.1.220.0020.01415.63
7.1.210.0050.00915.71
7.1.200.0020.00815.84
7.1.190.0030.01015.63
7.1.180.0040.00815.82
7.1.170.0050.00815.75
7.1.160.0030.01215.73
7.1.150.0030.01115.82
7.1.140.0070.00415.67
7.1.130.0030.00815.78
7.1.120.0030.00715.66
7.1.110.0020.01015.79
7.1.100.0050.00716.47
7.1.90.0060.00515.79
7.1.80.0060.00615.72
7.1.70.0050.00716.20
7.1.60.0040.01016.25
7.1.50.0040.01115.69
7.1.40.0110.00115.62
7.1.30.0080.00615.79
7.1.20.0090.00715.65
7.1.10.0060.00615.60
7.1.00.0050.03617.98
7.0.330.0040.00815.45
7.0.320.0040.00915.40
7.0.310.0020.01015.38
7.0.300.0050.00315.25
7.0.290.0060.00215.46
7.0.280.0040.01015.46
7.0.270.0060.00615.26
7.0.260.0080.00515.33
7.0.250.0030.01015.32
7.0.240.0060.00615.57
7.0.230.0040.00815.48
7.0.220.0020.01015.44
7.0.210.0080.00615.26
7.0.200.0050.00815.83
7.0.190.0020.00615.34
7.0.180.0050.00715.58
7.0.170.0020.00815.47
7.0.160.0020.00915.43
7.0.150.0050.00615.57
7.0.140.0100.00315.41
7.0.130.0040.00815.31
7.0.120.0060.00715.25
7.0.110.0050.00815.44
7.0.100.0050.00715.43
7.0.90.0020.01215.31
7.0.80.0060.00615.36
7.0.70.0070.00515.55
7.0.60.0060.03116.95
7.0.50.0050.03416.29
7.0.40.0120.02915.55
7.0.30.0160.02815.53
7.0.20.0100.01715.63
7.0.10.0030.02015.69
7.0.00.0070.02015.59
5.6.400.0050.00814.17
5.6.390.0050.00814.52
5.6.380.0050.00814.51
5.6.370.0090.00514.52
5.6.360.0050.00814.47
5.6.350.0050.00814.26
5.6.340.0070.00714.38
5.6.330.0040.00814.38
5.6.320.0030.01014.57
5.6.310.0050.00914.33
5.6.300.0110.00514.41
5.6.290.0050.01014.47
5.6.280.0030.00814.37
5.6.270.0100.00614.47
5.6.260.0070.00714.42
5.6.250.0040.00614.37
5.6.240.0050.01114.46
5.6.230.0060.00714.43
5.6.220.0040.00714.32
5.6.210.0060.02316.38
5.6.200.0110.02915.58
5.6.190.0080.03316.31
5.6.180.0110.03416.38
5.6.170.0110.02016.29
5.6.160.0090.02816.29
5.6.150.0040.03315.54
5.6.140.0040.02215.62
5.6.130.0060.03115.61
5.6.120.0110.02316.72
5.6.110.0040.02416.65
5.6.100.0100.01616.59
5.6.90.0080.03216.68
5.6.80.0090.02316.34
5.6.70.0030.00914.39
5.6.60.0050.00614.22
5.6.50.0070.00714.38
5.6.40.0050.01214.38
5.6.30.0090.00414.20
5.6.20.0020.00914.27
5.6.10.0050.00714.29
5.6.00.0040.00714.34
5.5.380.0060.00814.44
5.5.370.0100.00014.28
5.5.360.0070.00414.31
5.5.350.0130.03116.40
5.5.340.0030.02015.37
5.5.330.0050.01616.42
5.5.320.0210.01416.39
5.5.310.0130.02716.40
5.5.300.0080.03115.53
5.5.290.0060.02015.59
5.5.280.0080.02916.39
5.5.270.0050.02916.57
5.5.260.0050.01816.42
5.5.250.0090.03316.43
5.5.240.0100.02016.13
5.5.230.0030.01014.31
5.5.220.0050.00914.22
5.5.210.0060.00613.99
5.5.200.0070.00514.31
5.5.190.0070.00714.22
5.5.180.0000.01014.27
5.5.170.0050.00714.23
5.5.160.0070.00714.19
5.5.150.0060.00614.35
5.5.140.0060.00614.42
5.5.130.0050.00614.30
5.5.120.0040.00814.21
5.5.110.0070.00714.38
5.5.100.0070.00714.26
5.5.90.0060.00814.37
5.5.80.0100.00514.15
5.5.70.0070.00614.37
5.5.60.0040.00814.29
5.5.50.0030.00814.29
5.5.40.0050.00614.22
5.5.30.0030.00914.31
5.5.20.0040.00914.48
5.5.10.0020.00914.07
5.5.00.0050.00714.35

preferences:
36.65 ms | 403 KiB | 5 Q