3v4l.org

run code in 300+ PHP versions simultaneously
<?php final class Color { private const RED = 'red'; private const BLUE = 'blue'; public function __callStatic($a, $b) { var_dump($a, $b); } } Color::RED;

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.70.0090.00618.55
8.3.60.0080.00818.41
8.3.50.0090.00916.59
8.3.40.0070.00718.84
8.3.30.0090.00618.64
8.3.20.0100.00720.21
8.3.10.0030.00521.73
8.3.00.0060.00319.25
8.2.180.0150.00018.29
8.2.170.0110.00422.96
8.2.160.0120.00622.13
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00819.77
8.2.110.0080.00321.12
8.2.100.0060.00617.91
8.2.90.0060.00318.95
8.2.80.0000.00917.97
8.2.70.0000.00817.38
8.2.60.0080.00017.91
8.2.50.0040.00418.10
8.2.40.0080.00020.66
8.2.30.0050.00218.99
8.2.20.0000.00817.98
8.2.10.0040.00417.99
8.2.00.0040.00417.98
8.1.280.0100.01025.92
8.1.270.0040.00419.95
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00020.78
8.1.230.0080.00317.70
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.10
8.1.190.0040.00417.00
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0030.00518.80
8.1.150.0090.00018.75
8.1.140.0030.00517.44
8.1.130.0030.00318.93
8.1.120.0040.00417.21
8.1.110.0000.00717.32
8.1.100.0040.00717.32
8.1.90.0000.00717.31
8.1.80.0040.00417.29
8.1.70.0040.00417.35
8.1.60.0040.00417.35
8.1.50.0060.00617.40
8.1.40.0040.00417.27
8.1.30.0070.00317.53
8.1.20.0040.00417.55
8.1.10.0000.00717.27
8.1.00.0080.00017.15
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0040.00418.22
8.0.270.0030.00317.11
8.0.260.0080.00019.01
8.0.250.0050.00216.86
8.0.240.0060.00316.75
8.0.230.0000.00716.87
8.0.220.0000.00916.70
8.0.210.0030.00316.70
8.0.200.0030.00316.88
8.0.190.0040.00416.86
8.0.180.0040.00416.86
8.0.170.0000.00816.84
8.0.160.0080.00016.71
8.0.150.0070.00016.69
8.0.140.0030.00416.77
8.0.130.0060.00013.33
8.0.120.0050.00316.76
8.0.110.0070.00016.73
8.0.100.0040.00416.75
8.0.90.0000.00816.88
8.0.80.0060.00916.85
8.0.70.0040.00416.82
8.0.60.0040.00416.90
8.0.50.0040.00416.88
8.0.30.0090.00916.93
8.0.20.0170.01217.40
8.0.10.0030.00316.95
8.0.00.0140.00316.54
7.4.330.0050.00015.55
7.4.320.0030.00316.58
7.4.300.0060.00016.52
7.4.290.0070.00016.44
7.4.280.0040.00416.43
7.4.270.0030.00316.48
7.4.260.0030.00316.51
7.4.250.0070.00016.34
7.4.240.0000.00716.34
7.4.230.0000.00816.55
7.4.220.0000.00816.33
7.4.210.0060.00916.62
7.4.200.0000.00716.40
7.4.160.0080.01016.42
7.4.150.0140.00317.40
7.4.140.0130.00917.86
7.4.130.0070.01716.52
7.4.120.0120.00816.47
7.4.110.0080.00816.43
7.4.100.0110.00616.38
7.4.90.0100.01316.49
7.4.80.0060.01219.39
7.4.70.0100.00716.53
7.4.60.0090.00616.60
7.4.50.0050.00516.34
7.4.40.0030.01316.52
7.4.00.0030.01214.86
7.3.330.0050.00013.27
7.3.320.0030.00313.30
7.3.310.0050.00216.28
7.3.300.0030.00316.14
7.3.290.0020.01416.29
7.3.280.0090.01116.29
7.3.270.0100.00717.40
7.3.260.0120.00716.35
7.3.250.0060.01216.42
7.3.240.0100.01016.37
7.3.230.0070.01016.32
7.3.210.0100.00716.40
7.3.200.0060.00916.45
7.3.190.0110.00616.56
7.3.180.0080.00816.34
7.3.170.0160.00016.30
7.3.160.0070.01316.30
7.3.120.0060.01214.98
7.3.110.0060.00914.82
7.3.100.0090.00914.61
7.3.90.0030.01414.89
7.3.80.0030.01014.99
7.3.70.0060.00614.86
7.3.60.0060.01014.82
7.3.50.0100.00314.80
7.3.40.0070.00314.86
7.3.30.0070.00714.70
7.3.20.0080.00816.78
7.3.10.0110.00316.80
7.3.00.0100.00216.65
7.2.330.0120.01416.58
7.2.320.0170.00416.63
7.2.310.0120.01216.71
7.2.300.0070.01016.66
7.2.290.0060.01016.49
7.2.250.0030.01315.13
7.2.240.0100.01015.16
7.2.230.0090.00914.88
7.2.220.0040.00814.72
7.2.210.0050.00814.94
7.2.200.0030.01215.05
7.2.190.0100.00014.71
7.2.180.0070.00714.86
7.2.170.0040.01214.99
7.2.130.0160.00016.80
7.2.120.0130.00016.85
7.2.110.0070.01016.90
7.2.100.0050.00916.89
7.2.90.0090.00616.78
7.2.80.0070.00716.88
7.2.70.0070.01016.72
7.2.60.0060.00816.77
7.2.50.0140.00416.98
7.2.40.0030.01216.91
7.2.30.0040.00716.58
7.2.20.0100.00416.83
7.2.10.0170.00517.43
7.2.00.0160.00917.09
7.1.330.0030.00915.38
7.1.320.0040.00715.71
7.1.310.0080.00415.64
7.1.300.0100.00315.73
7.1.290.0070.00715.49
7.1.280.0040.00415.57
7.1.270.0060.00615.23
7.1.260.0080.00815.60
7.1.250.0040.00815.63
7.1.200.0040.00415.60
7.1.130.0700.00716.41
7.1.120.0270.00316.47
7.1.110.0220.01615.93
7.1.100.0290.00616.14
7.1.90.0310.00616.09
7.1.80.0120.00615.84
7.1.70.0040.01215.10
7.1.60.0500.01133.23
7.1.50.0200.00732.97
7.1.40.0400.00732.49
7.1.30.0390.01632.27
7.1.20.0400.01332.54
7.1.10.0350.01014.50
7.1.00.0320.00714.63

preferences:
50.43 ms | 400 KiB | 5 Q