3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { /** * @var string * */ private $uuid; /** * @var string * */ private $internalType; /** */ private $slug; /** */ private $title; public function __construct(string $internalType) { $this->internalType = $internalType; } /** * @return string */ public function getUuid() : string { return 'xx'; } }

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.0090.00918.55
8.3.50.0110.00722.05
8.3.40.0070.01018.45
8.3.30.0040.01118.42
8.3.20.0040.00420.31
8.3.10.0090.00023.39
8.3.00.0080.00019.26
8.2.180.0060.01216.38
8.2.170.0090.00622.96
8.2.160.0100.00320.32
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00417.38
8.2.120.0040.00426.35
8.2.110.0090.00020.50
8.2.100.0080.00317.97
8.2.90.0000.00918.90
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0060.00317.91
8.2.50.0070.00318.07
8.2.40.0040.00419.41
8.2.30.0040.00420.68
8.2.20.0040.00417.48
8.2.10.0000.00717.93
8.2.00.0050.00317.98
8.1.280.0200.00025.92
8.1.270.0090.00023.80
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0080.00022.02
8.1.230.0000.01219.14
8.1.220.0030.00517.74
8.1.210.0000.00718.77
8.1.200.0000.00917.00
8.1.190.0040.00417.45
8.1.180.0000.00718.10
8.1.170.0080.00018.43
8.1.160.0000.00721.94
8.1.150.0000.00718.80
8.1.140.0030.00719.32
8.1.130.0040.00417.57
8.1.120.0020.00517.37
8.1.110.0070.00317.30
8.1.100.0000.00717.36
8.1.90.0040.00417.23
8.1.80.0040.00417.22
8.1.70.0000.00817.20
8.1.60.0080.00017.43
8.1.50.0040.00417.39
8.1.40.0080.00017.41
8.1.30.0040.00417.55
8.1.20.0000.00717.50
8.1.10.0040.00417.40
8.1.00.0060.00317.20
8.0.300.0070.00018.77
8.0.290.0070.00016.58
8.0.280.0060.00318.23
8.0.270.0070.00017.13
8.0.260.0000.00617.00
8.0.250.0000.00716.82
8.0.240.0000.00816.86
8.0.230.0000.00716.86
8.0.220.0030.00616.67
8.0.210.0030.00516.65
8.0.200.0000.00616.81
8.0.190.0030.00616.84
8.0.180.0050.00216.84
8.0.170.0000.00816.85
8.0.160.0040.00416.66
8.0.150.0030.00616.69
8.0.140.0030.00516.69
8.0.130.0000.00713.16
8.0.120.0000.00916.73
8.0.110.0040.00416.64
8.0.100.0040.00416.59
8.0.90.0050.00316.75
8.0.80.0070.01016.64
8.0.70.0000.00716.78
8.0.60.0050.00216.80
8.0.50.0040.00416.69
8.0.30.0040.01216.72
8.0.20.0120.00917.40
8.0.10.0000.00816.91
8.0.00.0100.00716.75
7.4.330.0030.00316.77
7.4.320.0030.00316.34
7.4.300.0000.00716.43
7.4.290.0000.00716.35
7.4.280.0070.00016.38
7.4.270.0030.00516.45
7.4.260.0040.00416.25
7.4.250.0040.00416.29
7.4.240.0000.00816.38
7.4.230.0000.00716.40
7.4.220.0100.01016.48
7.4.210.0090.00616.32
7.4.200.0030.00316.42
7.4.160.0060.00916.39
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0090.01116.28
7.4.120.0050.01116.43
7.4.110.0150.00316.26
7.4.100.0060.01716.32
7.4.90.0060.01216.29
7.4.80.0100.00719.39
7.4.70.0140.00616.39
7.4.60.0090.00816.22
7.4.50.0030.01016.43
7.4.40.0120.00316.28
7.4.30.0120.00916.29
7.4.00.0000.01414.81
7.3.330.0060.00013.15
7.3.320.0050.00013.11
7.3.310.0000.00716.23
7.3.300.0050.00216.18
7.3.290.0040.01116.16
7.3.280.0130.00416.11
7.3.270.0100.00717.40
7.3.260.0030.01416.22
7.3.250.0090.01216.29
7.3.240.0100.00816.10
7.3.230.0060.01116.39
7.3.210.0040.01216.12
7.3.200.0130.00316.36
7.3.190.0100.01416.36
7.3.180.0070.01016.26
7.3.170.0030.01716.34
7.3.160.0060.01116.24
7.2.330.0160.00616.43
7.2.320.0090.01016.25
7.2.310.0090.01516.36
7.2.300.0130.00316.37
7.2.290.0070.01016.60
7.2.60.0090.00616.57
7.2.00.0070.01019.28
7.1.200.0040.00815.62
7.1.100.0000.01318.09
7.1.70.0040.00416.91
7.1.60.0090.01619.36
7.1.50.0030.01716.75
7.1.00.0000.08022.57
7.0.200.0040.00416.64
7.0.60.0000.04719.91
7.0.50.0070.03717.86
7.0.40.0170.07320.24
7.0.30.0300.03720.20
7.0.20.0270.07020.19
7.0.10.0100.08320.19
7.0.00.0070.08020.08
5.6.280.0030.03321.08
5.6.210.0030.04020.72
5.6.200.0000.05718.18
5.6.190.0170.07720.58
5.6.180.0400.06720.52
5.6.170.0300.06320.48
5.6.160.0000.05020.56
5.6.150.0070.07718.12
5.6.140.0100.08018.27
5.6.130.0100.08318.24
5.6.120.0130.06020.91
5.6.110.0100.07021.14
5.6.100.0070.08321.02
5.6.90.0070.05321.08
5.6.80.0170.06720.36
5.5.350.0130.08320.41
5.5.340.0030.03718.02
5.5.330.0030.04720.57
5.5.320.0200.08020.25
5.5.310.0270.05020.50
5.5.300.0130.04017.92
5.5.290.0030.04018.05
5.5.280.0100.08320.66
5.5.270.0100.05020.77
5.5.260.0100.06020.96
5.5.250.0130.06720.46
5.5.240.0300.07020.08

preferences:
58.03 ms | 401 KiB | 5 Q