3v4l.org

run code in 300+ PHP versions simultaneously
<?php class YourFavoriteFrameworkClass28 { public function process($name) { } } class YourFavoriteFrameworkClass44 { public function process(string $name) { } } class Implementer extends YourFavoriteFrameworkClass44 { public function process($name, $newArgument) { } } $app = new Implementer();

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.0120.00318.31
8.3.60.0090.01216.75
8.3.50.0110.00416.04
8.3.40.0070.01118.62
8.3.30.0090.00618.72
8.3.20.0060.00320.65
8.3.10.0080.00023.65
8.3.00.0070.00023.48
8.2.180.0170.00325.92
8.2.170.0070.00719.01
8.2.160.0130.00320.52
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00719.33
8.2.110.0030.00621.02
8.2.100.0090.00317.78
8.2.90.0080.00017.72
8.2.80.0000.00818.09
8.2.70.0030.00617.25
8.2.60.0040.00417.38
8.2.50.0000.00817.38
8.2.40.0030.00619.25
8.2.30.0040.00419.00
8.2.20.0000.00717.96
8.2.10.0020.00519.21
8.2.00.0000.00719.00
8.1.280.0070.01025.92
8.1.270.0140.00322.04
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0070.01022.24
8.1.230.0110.00020.85
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0060.00317.10
8.1.180.0050.00318.10
8.1.170.0050.00317.62
8.1.160.0050.00218.95
8.1.150.0040.00418.91
8.1.140.0040.00420.52
8.1.130.0060.00020.17
8.1.120.0080.00017.32
8.1.110.0000.00717.38
8.1.100.0000.00817.34
8.1.90.0040.00417.31
8.1.80.0040.00417.36
8.1.70.0070.00017.35
8.1.60.0040.00417.46
8.1.50.0030.00717.35
8.1.40.0030.00517.39
8.1.30.0000.00817.53
8.1.20.0040.00417.50
8.1.10.0040.00417.31
8.1.00.0050.00317.21
8.0.300.0080.00019.89
8.0.290.0050.00216.58
8.0.280.0030.00318.30
8.0.270.0040.00416.67
8.0.260.0000.00619.86
8.0.250.0040.00416.81
8.0.240.0070.00016.88
8.0.230.0000.00716.95
8.0.220.0060.00016.80
8.0.210.0030.00616.85
8.0.200.0030.00316.94
8.0.190.0000.00716.81
8.0.180.0050.00316.75
8.0.170.0040.00416.83
8.0.160.0040.00416.81
8.0.150.0000.00716.76
8.0.140.0030.00716.81
8.0.130.0030.00313.30
8.0.120.0000.00816.75
8.0.110.0030.00516.72
8.0.100.0040.00416.68
8.0.90.0000.00716.79
8.0.80.0080.00816.78
8.0.70.0050.00316.64
8.0.60.0000.00816.68
8.0.50.0050.00216.71
8.0.30.0040.01216.95
8.0.20.0040.01616.64
8.0.10.0040.00416.97
8.0.00.0130.00316.38
7.4.330.0060.00016.76
7.4.320.0060.00016.58
7.4.300.0030.00316.49
7.4.290.0040.00416.42
7.4.280.0060.00316.42
7.4.270.0030.00516.36
7.4.260.0050.00013.13
7.4.250.0030.00316.43
7.4.240.0030.00416.59
7.4.230.0000.00716.43
7.4.220.0070.00016.33
7.4.210.0080.00716.50
7.4.200.0000.00716.36
7.4.130.0100.01316.54
7.4.120.0170.00916.45
7.4.110.0170.00716.40
7.4.100.0150.00916.62
7.4.90.0140.00316.44
7.4.80.0100.01019.39
7.4.70.0030.01416.39
7.4.60.0130.00616.22
7.4.50.0070.00716.49
7.4.40.0040.01216.56
7.4.10.0070.01016.37
7.4.00.0100.00616.52
7.3.330.0040.00416.29
7.3.320.0000.00513.12
7.3.310.0030.00316.23
7.3.300.0070.00016.10
7.3.290.0070.00916.24
7.3.280.0070.00716.14
7.3.260.0090.00916.18
7.3.240.0090.00816.28
7.3.230.0080.00816.20
7.3.210.0110.00616.06
7.3.200.0140.00316.25
7.3.190.0000.02116.11
7.3.180.0090.01216.23
7.3.170.0060.01216.24
7.3.160.0140.00916.30
7.3.130.0110.00416.33
7.3.120.0000.01416.39
7.3.110.0080.00716.30
7.3.100.0060.00916.27
7.3.90.0060.00916.18
7.3.80.0080.00616.25
7.3.70.0100.00616.35
7.3.60.0130.00316.32
7.3.50.0000.01715.97
7.3.40.0120.00416.24
7.3.30.0040.01216.25
7.3.20.0090.00816.09
7.3.10.0070.01116.21
7.3.00.0100.00516.26
7.2.330.0130.00316.56
7.2.320.0130.00316.63
7.2.310.0140.00316.56
7.2.300.0130.01116.37
7.2.290.0080.00816.22
7.2.260.0070.01016.36
7.2.250.0060.00916.62
7.2.240.0090.00616.48
7.2.230.0030.01216.38
7.2.220.0060.01016.57
7.2.210.0060.01016.30
7.2.200.0070.01016.53
7.2.190.0100.00616.28
7.2.180.0130.00316.34
7.2.170.0030.01416.38
7.2.160.0080.00816.30
7.2.150.0060.01216.64
7.2.140.0060.01016.46
7.2.130.0080.00816.32
7.2.120.0040.01116.41
7.2.110.0130.00316.49
7.2.100.0030.01416.57
7.2.90.0140.00716.32
7.2.80.0110.00516.49
7.2.70.0110.00616.39
7.2.60.0100.00716.29
7.2.50.0030.01316.53
7.2.40.0110.00716.50
7.2.30.0030.01316.54
7.2.20.0040.01416.34
7.2.10.0100.00716.59
7.2.00.0130.00716.25

preferences:
55.66 ms | 401 KiB | 5 Q