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'; } } var_dump(new A);

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.0100.00718.55
8.3.50.0110.00418.30
8.3.40.0120.00618.79
8.3.30.0090.00618.66
8.3.20.0000.00720.32
8.3.10.0000.00823.50
8.3.00.0030.00619.25
8.2.180.0120.00316.50
8.2.170.0040.01122.96
8.2.160.0100.00320.35
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0060.00317.63
8.2.120.0030.00626.35
8.2.110.0070.00321.04
8.2.100.0030.00917.63
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0060.00317.80
8.2.50.0040.00718.07
8.2.40.0020.00519.28
8.2.30.0030.00420.52
8.2.20.0090.00017.55
8.2.10.0050.00317.97
8.2.00.0000.00817.98
8.1.280.0070.01425.92
8.1.270.0030.00623.77
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0000.00823.98
8.1.230.0070.00417.63
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0080.00017.22
8.1.180.0080.00018.10
8.1.170.0060.00318.57
8.1.160.0040.00421.82
8.1.150.0080.00018.67
8.1.140.0000.00919.45
8.1.130.0070.00017.48
8.1.120.0070.00017.23
8.1.110.0000.00817.22
8.1.100.0070.00017.22
8.1.90.0040.00417.25
8.1.80.0030.00317.21
8.1.70.0000.00717.26
8.1.60.0040.00417.48
8.1.50.0000.00717.44
8.1.40.0000.00817.46
8.1.30.0060.00317.59
8.1.20.0000.00717.52
8.1.10.0050.00317.55
8.1.00.0000.00817.35
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00418.33
8.0.270.0000.00717.20
8.0.260.0030.00317.04
8.0.250.0030.00316.85
8.0.240.0030.00317.02
8.0.230.0040.00416.88
8.0.220.0040.00416.88
8.0.210.0040.00416.89
8.0.200.0000.00616.86
8.0.190.0050.00316.95
8.0.180.0000.00716.84
8.0.170.0000.00816.91
8.0.160.0000.00716.96
8.0.150.0030.00616.90
8.0.140.0000.00716.75
8.0.130.0030.00313.35
8.0.120.0030.00516.84
8.0.110.0000.00716.79
8.0.100.0000.00716.88
8.0.90.0050.00316.87
8.0.80.0090.00616.87
8.0.70.0000.00716.95
8.0.60.0070.00016.68
8.0.50.0050.00316.90
8.0.30.0100.01016.95
8.0.20.0110.01117.40
8.0.10.0040.00417.00
8.0.00.0070.01016.84
7.4.330.0000.00616.73
7.4.320.0000.00616.38
7.4.300.0050.00316.43
7.4.290.0070.00016.53
7.4.280.0040.00416.52
7.4.270.0000.00716.50
7.4.260.0030.00316.51
7.4.250.0070.00016.42
7.4.240.0030.00416.48
7.4.230.0080.00016.25
7.4.220.0060.01316.53
7.4.210.0120.00316.38
7.4.200.0070.00016.61
7.4.160.0060.00916.51
7.4.150.0120.00617.40
7.4.140.0140.00617.86
7.4.130.0120.01316.50
7.4.120.0130.00516.40
7.4.110.0130.01016.53
7.4.100.0190.00316.46
7.4.90.0040.01416.31
7.4.80.0060.01219.39
7.4.70.0070.01016.39
7.4.60.0060.01016.45
7.4.50.0070.01116.41
7.4.40.0090.00616.57
7.4.30.0100.00716.50
7.4.00.0030.01115.07
7.3.330.0060.00013.18
7.3.320.0020.00213.18
7.3.310.0030.00316.39
7.3.300.0070.00016.23
7.3.290.0060.01016.32
7.3.280.0060.01116.31
7.3.270.0100.00717.40
7.3.260.0100.00616.45
7.3.250.0140.00516.38
7.3.240.0130.00416.54
7.3.230.0090.00916.39
7.3.210.0100.00716.41
7.3.200.0030.01316.22
7.3.190.0120.00416.35
7.3.180.0040.01216.41
7.3.170.0030.01416.34
7.3.160.0050.01016.60
7.2.330.0090.00916.40
7.2.320.0060.01316.50
7.2.310.0070.01016.52
7.2.300.0040.01416.53
7.2.290.0120.00616.56
7.2.60.0110.00316.52
7.2.00.0090.00619.33
7.1.200.0120.00315.42
7.1.100.0090.00317.84
7.1.70.0000.00716.98
7.1.60.0070.01619.36
7.1.50.0070.01416.59
7.1.00.0030.07722.45
7.0.200.0000.00816.48
7.0.60.0070.03719.84
7.0.50.0030.04017.88
7.0.40.0030.07019.96
7.0.30.0230.04020.23
7.0.20.0370.07720.08
7.0.10.0130.08320.10
7.0.00.0100.08320.19
5.6.280.0030.03320.79
5.6.210.0100.03720.70
5.6.200.0070.07718.14
5.6.190.0130.04320.48
5.6.180.0330.07320.47
5.6.170.0270.08020.47
5.6.160.0030.05020.48
5.6.150.0100.08018.21
5.6.140.0030.07718.18
5.6.130.0030.05318.15
5.6.120.0070.08321.14
5.6.110.0070.08020.95
5.6.100.0030.06321.14
5.6.90.0100.07321.01
5.6.80.0030.08020.39
5.5.350.0230.07320.43
5.5.340.0030.04317.93
5.5.330.0070.04020.27
5.5.320.0270.07320.52
5.5.310.0200.05020.50
5.5.300.0130.07318.08
5.5.290.0030.04718.08
5.5.280.0130.08020.77
5.5.270.0000.09020.77
5.5.260.0130.07020.76
5.5.250.0030.08720.60
5.5.240.0330.06020.35

preferences:
52.15 ms | 400 KiB | 5 Q