3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Gregory {public $age;public function __construct($age){$this->age=$age;}} $greg = new Gregory(31); $greg->age++;

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.40.0110.00418.76
8.3.30.0090.00618.63
8.3.20.0070.00720.09
8.3.10.0080.00023.36
8.3.00.0080.00019.56
8.2.170.0140.00022.96
8.2.160.0120.00618.95
8.2.150.0120.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00419.33
8.2.120.0050.00326.35
8.2.110.0030.00722.24
8.2.100.0040.00717.72
8.2.90.0000.00819.09
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0000.00817.93
8.2.50.0050.00318.10
8.2.40.0080.00020.60
8.2.30.0040.00420.91
8.2.20.0000.00718.06
8.2.10.0000.00818.05
8.2.00.0030.00617.96
8.1.270.0000.00723.96
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0140.00723.97
8.1.230.0040.00722.12
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0080.00018.50
8.1.160.0070.00018.93
8.1.150.0040.00420.48
8.1.140.0000.00719.57
8.1.130.0040.00418.81
8.1.120.0000.00717.45
8.1.110.0050.00217.35
8.1.100.0050.00317.29
8.1.90.0000.00817.28
8.1.80.0040.00417.26
8.1.70.0000.00717.27
8.1.60.0050.00317.57
8.1.50.0080.00017.48
8.1.40.0060.00617.45
8.1.30.0050.00317.64
8.1.20.0070.00017.68
8.1.10.0060.00317.42
8.1.00.0040.00417.43
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0070.00018.28
8.0.270.0040.00417.25
8.0.260.0000.00716.74
8.0.250.0070.00016.90
8.0.240.0050.00216.76
8.0.230.0070.00016.91
8.0.220.0050.00216.70
8.0.210.0030.00316.82
8.0.200.0000.00716.90
8.0.190.0040.00416.92
8.0.180.0000.00716.84
8.0.170.0040.00416.89
8.0.160.0050.00516.80
8.0.150.0040.00416.73
8.0.140.0000.00716.82
8.0.130.0000.00513.26
8.0.120.0030.00516.82
8.0.110.0030.00316.72
8.0.100.0040.00416.64
8.0.90.0070.00016.86
8.0.80.0050.01416.75
8.0.70.0040.00416.68
8.0.60.0030.00516.70
8.0.50.0050.00216.86
8.0.30.0080.00916.96
8.0.20.0140.01017.40
8.0.10.0000.00716.77
8.0.00.0090.00916.57
7.4.330.0000.00515.55
7.4.320.0030.00316.50
7.4.300.0000.00616.59
7.4.290.0030.00616.48
7.4.280.0080.00016.49
7.4.270.0070.00016.43
7.4.260.0070.00316.55
7.4.250.0040.00416.45
7.4.240.0000.00716.62
7.4.230.0000.00716.69
7.4.220.0090.01516.54
7.4.210.0130.00316.60
7.4.200.0030.00316.30
7.4.160.0150.00416.44
7.4.150.0110.00617.40
7.4.140.0100.01117.86
7.4.130.0060.01116.34
7.4.120.0140.00616.46
7.4.110.0100.00716.48
7.4.100.0060.01516.32
7.4.90.0090.01616.56
7.4.80.0060.00919.39
7.4.70.0060.01016.26
7.4.60.0110.00416.46
7.4.50.0060.00616.34
7.4.40.0130.00716.43
7.4.30.0070.01016.47
7.4.10.0060.01015.21
7.4.00.0060.01014.85
7.3.330.0000.00513.02
7.3.320.0030.00313.06
7.3.310.0000.00716.34
7.3.300.0070.00016.11
7.3.290.0090.00516.24
7.3.280.0110.00516.23
7.3.270.0120.01217.40
7.3.260.0080.00816.31
7.3.250.0110.00816.25
7.3.240.0100.00816.17
7.3.230.0100.01016.26
7.3.210.0030.01316.46
7.3.200.0170.00016.37
7.3.190.0060.01516.16
7.3.180.0060.01416.09
7.3.170.0160.00016.32
7.3.160.0040.01216.15
7.3.130.0070.01014.61
7.3.120.0090.00814.85
7.3.110.0090.00814.69
7.3.100.0050.01014.65
7.3.90.0080.00514.71
7.3.80.0060.00814.57
7.3.70.0080.00714.55
7.3.60.0080.00614.70
7.3.50.0040.01214.80
7.3.40.0070.00814.56
7.3.30.0080.00914.65
7.3.20.0060.00516.65
7.3.10.0080.00716.32
7.3.00.0080.00716.32
7.2.330.0140.00716.68
7.2.320.0100.00616.36
7.2.310.0030.01316.72
7.2.300.0080.00816.43
7.2.290.0120.00416.63
7.2.260.0070.01115.04
7.2.250.0050.01315.08
7.2.240.0100.00814.79
7.2.230.0080.00714.99
7.2.220.0040.01115.03
7.2.210.0050.01014.89
7.2.200.0080.00714.99
7.2.190.0060.00915.01
7.2.180.0100.00514.95
7.2.170.0070.00814.89
7.2.160.0070.01114.98
7.2.150.0000.01716.84
7.2.140.0090.00616.85
7.2.130.0070.00816.64
7.2.120.0110.00416.53
7.2.110.0080.00816.79
7.2.100.0110.00716.64
7.2.90.0100.00516.78
7.2.80.0090.00616.76
7.2.70.0040.01416.64
7.2.60.0060.01016.66
7.2.50.0110.00616.74
7.2.40.0080.01316.90
7.2.30.0110.00616.67
7.2.20.0100.00616.65
7.2.10.0080.00916.64
7.2.00.0080.01017.34
7.1.330.0070.00615.67
7.1.320.0020.01215.59
7.1.310.0060.00915.72
7.1.300.0090.00515.79
7.1.290.0090.00415.68
7.1.280.0070.00715.43
7.1.270.0060.00515.58
7.1.260.0090.00515.62
7.1.250.0070.00815.63
7.1.240.0000.01415.43
7.1.230.0040.01115.29
7.1.220.0060.00915.35
7.1.210.0030.00915.55
7.1.200.0080.00615.56
7.1.190.0090.00615.51
7.1.180.0070.00615.81
7.1.170.0030.01015.60
7.1.160.0090.00015.58
7.1.150.0000.01215.68
7.1.140.0070.01015.52
7.1.130.0040.00715.63
7.1.120.0110.00715.77
7.1.110.0040.01115.73
7.1.100.0050.00916.76
7.1.90.0070.00715.68
7.1.80.0100.00015.68
7.1.70.0050.01116.40
7.1.60.0550.01824.31
7.1.50.0530.01025.04
7.1.40.0170.01325.12
7.1.30.0210.00925.04
7.1.20.0190.01424.94
7.1.10.0060.00816.05
7.1.00.0080.01116.12
7.0.330.0060.00615.39
7.0.320.0100.00015.31
7.0.310.0120.00415.36
7.0.300.0070.00715.34
7.0.290.0070.00715.34
7.0.280.0080.00315.37
7.0.270.0060.00615.27
7.0.260.0070.01015.39
7.0.250.0030.01015.33
7.0.240.0090.00615.24
7.0.230.0030.01015.41
7.0.220.0080.00415.23
7.0.210.0030.00715.40
7.0.200.0450.00815.07
7.0.190.0060.00916.05
7.0.180.0050.01315.77
7.0.170.0030.01515.80
7.0.160.0030.01515.63
7.0.150.0070.01215.81
7.0.140.0070.00815.68
7.0.130.0120.00415.93
7.0.120.0050.01315.92
7.0.110.0060.01115.89
7.0.100.0060.01115.76
7.0.90.0090.00815.82
7.0.80.0040.01415.93
7.0.70.0100.00715.86
7.0.60.0080.01315.61
7.0.50.0080.01115.72
7.0.40.0030.01714.90
7.0.30.0070.01214.77
7.0.20.0070.01014.92
7.0.10.0110.00614.71
7.0.00.0080.00814.66
5.6.400.0040.00814.60
5.6.390.0110.00314.25
5.6.380.0030.01014.39
5.6.370.0030.01014.29
5.6.360.0140.00014.54
5.6.350.0090.00614.62
5.6.340.0040.01414.25
5.6.330.0030.00914.59
5.6.320.0060.00914.27
5.6.310.0110.00414.28
5.6.300.0120.00314.28
5.6.290.0090.00614.46
5.6.280.0040.00714.54
5.6.270.0070.00714.14
5.6.260.0080.00614.39
5.6.250.0110.00414.39
5.6.240.0060.00614.48
5.6.230.0060.00814.31
5.6.220.0030.01014.40
5.6.210.0090.00914.23
5.6.200.0100.00614.29
5.6.190.0040.01614.58
5.6.180.0080.00614.30
5.6.170.0000.01314.43
5.6.160.0120.00614.25
5.6.150.0040.01114.35
5.6.140.0070.00714.29
5.6.130.0030.00914.10
5.6.120.0090.00614.45
5.6.110.0030.00914.18
5.6.100.0000.01114.29
5.6.90.0060.00914.18
5.6.80.0140.00314.51
5.6.70.0100.00314.43
5.6.60.0090.00314.07
5.6.50.0000.01414.43
5.6.40.0000.00814.45
5.6.30.0050.00514.21
5.6.20.0060.00314.23
5.6.10.0000.01114.02
5.6.00.0110.00014.05

preferences:
37.77 ms | 400 KiB | 5 Q