3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface LocaleAwareInterface { public function setLocale(string $locale); public function getLocale(); } interface TranslatorInterface extends LocaleAwareInterface { public function trans($id, array $parameters = [], $domain = null, $locale = null); public function transChoice($id, $number, array $parameters = [], $domain = null, $locale = null); public function setLocale($locale); public function getLocale(); }

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.0040.01118.30
8.3.50.0030.01318.27
8.3.40.0140.00418.54
8.3.30.0110.00418.55
8.3.20.0060.00320.57
8.3.10.0040.00423.61
8.3.00.0050.00220.77
8.2.180.0110.00718.29
8.2.170.0040.01422.96
8.2.160.0070.00722.31
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0080.00019.39
8.2.110.0030.00620.56
8.2.100.0090.00317.53
8.2.90.0000.00720.48
8.2.80.0080.00017.97
8.2.70.0050.00317.93
8.2.60.0040.00418.09
8.2.50.0060.00318.10
8.2.40.0000.00822.36
8.2.30.0070.00019.11
8.2.20.0000.00718.05
8.2.10.0000.00718.71
8.2.00.0000.00719.25
8.1.280.0070.00725.92
8.1.270.0000.00822.48
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0030.00723.58
8.1.230.0060.00620.88
8.1.220.0060.00317.74
8.1.210.0040.00419.04
8.1.200.0060.00317.13
8.1.190.0000.00917.10
8.1.180.0040.00418.10
8.1.170.0050.00318.66
8.1.160.0070.00020.21
8.1.150.0020.00518.70
8.1.140.0000.00718.77
8.1.130.0000.00720.14
8.1.120.0070.00217.33
8.1.110.0060.00617.37
8.1.100.0080.00417.26
8.1.90.0070.00517.37
8.1.80.0090.00217.31
8.1.70.0070.00417.30
8.1.60.0070.00617.39
8.1.50.0010.01217.47
8.1.40.0090.00517.39
8.1.30.0080.00517.53
8.1.20.0100.00317.56
8.1.10.0110.00317.36
8.1.00.0090.00317.25
8.0.300.0000.00719.95
8.0.290.0050.00316.63
8.0.280.0030.00318.38
8.0.270.0030.00617.38
8.0.260.0040.00419.88
8.0.250.0080.00816.67
8.0.240.0080.00316.81
8.0.230.0060.00516.74
8.0.220.0070.00416.77
8.0.210.0090.00316.76
8.0.200.0080.00316.77
8.0.190.0070.00416.83
8.0.180.0070.00416.74
8.0.170.0050.00716.75
8.0.160.0100.00216.89
8.0.150.0090.00216.72
8.0.140.0040.00816.78
8.0.130.0040.00715.02
8.0.120.0060.00516.80
8.0.110.0070.00416.74
8.0.100.0100.00116.81
8.0.90.0090.00216.69
8.0.80.0070.00816.78
8.0.70.0050.00716.75
8.0.60.0020.00916.74
8.0.50.0080.00416.77
8.0.30.0130.00316.71
8.0.20.0110.00516.86
8.0.10.0100.00116.94
8.0.00.0120.00916.96
7.4.330.0030.00315.55
7.4.320.0090.00316.53
7.4.300.0020.00916.44
7.4.290.0090.00416.40
7.4.280.0090.00316.36
7.4.270.0060.00616.45
7.4.260.0060.00314.86
7.4.250.0050.00616.42
7.4.240.0090.00216.45
7.4.230.0080.00316.45
7.4.220.0040.00516.39
7.4.210.0060.00916.46
7.4.200.0050.00516.46
7.4.190.0070.00216.28
7.4.180.0030.00715.98
7.4.160.0040.00616.55
7.4.150.0030.00716.04
7.4.140.0100.00016.26
7.4.130.0110.00516.16
7.4.120.0070.00916.21
7.4.110.0100.00316.20
7.4.100.0100.00316.20
7.4.90.0080.00616.25
7.4.80.0110.00617.70
7.4.70.0120.00216.25
7.4.60.0080.00616.26
7.4.50.0110.00516.11
7.4.40.0080.01116.21
7.4.30.0070.01116.30
7.4.20.0100.00916.36
7.4.10.0100.01016.30
7.4.00.0100.00815.98
7.3.330.0060.00516.02
7.3.320.0100.00014.69
7.3.310.0060.00516.06
7.3.300.0100.00216.10
7.3.290.0100.00716.17
7.3.280.0080.00716.13
7.3.270.0120.00416.16
7.3.260.0130.00316.29
7.3.250.0130.00316.01
7.3.240.0110.00415.98
7.3.230.0070.01016.28
7.3.220.0070.01116.15
7.3.210.0100.00616.15
7.3.200.0100.00716.15
7.3.190.0090.00816.26
7.3.180.0090.00816.21
7.3.170.0080.00916.27
7.3.160.0110.00616.28
7.3.150.0110.00916.20
7.3.140.0090.00916.27
7.3.130.0090.00916.24
7.3.120.0090.00815.40
7.3.110.0090.00715.41
7.3.100.0080.00915.33
7.3.90.0090.00715.45
7.3.80.0100.00815.38
7.3.70.0100.00715.42
7.3.60.0080.00815.43
7.3.50.0100.00715.33
7.3.40.0090.00715.36
7.3.30.0080.00815.39
7.3.20.0120.00515.69
7.3.10.0090.00815.68
7.3.00.0080.00815.66
7.2.340.0120.00316.21
7.2.330.0160.00316.27
7.2.320.0130.00416.46
7.2.310.0100.00716.29
7.2.300.0120.00616.19
7.2.290.0090.00916.32
7.2.280.0120.00716.27
7.2.270.0120.00616.30
7.2.260.0100.01016.32
7.2.250.0110.00816.18
7.2.240.0080.01015.58
7.2.230.0070.01115.59
7.2.220.0090.00915.50
7.2.210.0100.00815.57
7.2.200.0090.00815.55
7.2.190.0080.00915.47
7.2.180.0080.01015.56
7.2.170.0080.00915.49
7.2.160.0100.00715.59
7.2.150.0090.01015.96
7.2.140.0060.01115.90
7.2.130.0110.00715.93
7.2.120.0150.00815.91
7.2.110.0100.00715.89
7.2.100.0140.00716.06
7.2.90.0110.00816.04
7.2.80.0110.00816.01
7.2.70.0090.00916.03
7.2.60.0090.00916.11
7.2.50.0090.00816.06
7.2.40.0080.01216.15
7.2.30.0140.00616.06
7.2.20.0100.01016.05
7.2.10.0110.00816.10
7.2.00.0080.01016.03
7.1.330.0100.01014.81
7.1.320.0120.00814.80
7.1.310.0200.00714.87
7.1.300.0140.00714.61
7.1.290.0230.00714.84
7.1.280.0130.00814.86
7.1.270.0120.00814.83
7.1.260.0120.00614.77
7.1.250.0140.00814.78
7.1.240.0170.00515.37
7.1.230.0130.01015.33
7.1.220.0160.00715.64
7.1.210.0130.00815.65
7.1.200.0200.00815.58
7.1.190.0150.00615.62
7.1.180.0120.01015.56
7.1.170.0180.00615.67
7.1.160.0170.00615.59
7.1.150.0140.01115.50
7.1.140.0150.00915.58
7.1.130.0160.00715.55
7.1.120.0160.00715.60
7.1.110.0150.00815.66
7.1.100.0170.00715.60
7.1.90.0120.01215.51
7.1.80.0150.00815.60
7.1.70.0170.00715.61
7.1.60.0160.00615.63
7.1.50.0110.01115.53
7.1.40.0110.00915.67
7.1.30.0200.00615.61
7.1.20.0140.00615.58
7.1.10.0140.00615.68
7.1.00.0110.01015.56

preferences:
32.83 ms | 400 KiB | 5 Q