3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(object $bar) { } foo(new stdClass());

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.130.0080.00018.53
8.3.120.0000.00818.93
8.3.110.0040.00420.94
8.3.100.0000.00924.06
8.3.90.0080.00026.77
8.3.80.0060.00317.97
8.3.70.0000.01418.18
8.3.60.0180.00416.75
8.3.50.0100.00717.29
8.3.40.0120.00318.67
8.3.30.0070.00718.67
8.3.20.0070.00021.77
8.3.10.0040.00421.89
8.3.00.0100.00019.66
8.2.250.0040.01418.29
8.2.240.0110.00717.14
8.2.230.0040.00422.58
8.2.220.0090.00037.54
8.2.210.0120.00626.77
8.2.200.0040.00418.04
8.2.190.0110.00716.58
8.2.180.0060.00918.16
8.2.170.0090.00618.74
8.2.160.0140.00322.96
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0070.00019.33
8.2.120.0080.00026.35
8.2.110.0060.00321.00
8.2.100.0120.00017.78
8.2.90.0040.00417.59
8.2.80.0080.00019.25
8.2.70.0080.00017.68
8.2.60.0000.00917.80
8.2.50.0000.00718.10
8.2.40.0020.00520.47
8.2.30.0000.00819.36
8.2.20.0040.00417.97
8.2.10.0000.00817.98
8.2.00.0020.00619.25
8.1.300.0140.00417.61
8.1.290.0000.00930.84
8.1.280.0110.00725.92
8.1.270.0040.00420.32
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00922.37
8.1.230.0110.00021.03
8.1.220.0050.00217.74
8.1.210.0000.00818.77
8.1.200.0050.00517.00
8.1.190.0000.00817.10
8.1.180.0070.00018.10
8.1.170.0040.00418.84
8.1.160.0080.00018.75
8.1.150.0000.00719.00
8.1.140.0030.00517.62
8.1.130.0030.00519.63
8.1.120.0030.00518.76
8.1.110.0050.00218.86
8.1.100.0030.00518.80
8.1.90.0030.00418.82
8.1.80.0050.00518.81
8.1.70.0030.00418.81
8.1.60.0050.00519.04
8.1.50.0050.00318.96
8.1.40.0050.00319.00
8.1.30.0030.00518.97
8.1.20.0020.00619.09
8.1.10.0030.00518.96
8.1.00.0050.00418.78
8.0.300.0040.00420.04
8.0.290.0030.00516.63
8.0.280.0030.00318.39
8.0.270.0040.00417.19
8.0.260.0040.00418.33
8.0.250.0050.00218.34
8.0.240.0010.00618.26
8.0.230.0030.00618.19
8.0.220.0050.00218.13
8.0.210.0060.00218.21
8.0.200.0050.00218.26
8.0.190.0040.00418.20
8.0.180.0060.00218.20
8.0.170.0020.00618.22
8.0.160.0040.00318.22
8.0.150.0000.00718.19
8.0.140.0020.00518.16
8.0.130.0000.00716.43
8.0.120.0050.00318.14
8.0.110.0050.00218.06
8.0.100.0060.00118.20
8.0.90.0050.00218.14
8.0.80.0000.01018.26
8.0.70.0020.00518.17
8.0.60.0040.00418.15
8.0.50.0040.00417.26
8.0.30.0080.00916.99
8.0.20.0080.00917.22
8.0.10.0080.00517.27
8.0.00.0090.00817.01
7.4.330.0070.00315.67
7.4.320.0070.00516.97
7.4.300.0080.00416.74
7.4.290.0080.00516.95
7.4.280.0090.00417.01
7.4.270.0110.00116.96
7.4.260.0040.00717.00
7.4.250.0080.00316.95
7.4.240.0070.00517.02
7.4.230.0060.00516.94
7.4.220.0080.00317.00
7.4.210.0090.00516.79
7.4.200.0030.00717.00
7.4.190.0150.00017.68
7.4.180.0130.00217.73
7.4.160.0100.00616.62
7.4.150.0100.00816.78
7.4.140.0090.00917.46
7.4.130.0090.00916.56
7.4.120.0090.00916.54
7.4.110.0100.00816.57
7.4.100.0110.00716.58
7.4.90.0110.00916.54
7.4.80.0090.01016.92
7.4.70.0100.00916.61
7.4.60.0100.00916.49
7.4.50.0110.00716.43
7.4.40.0110.00816.36
7.4.30.0090.00916.49
7.4.20.0120.00616.43
7.4.10.0100.00816.40
7.4.00.0090.00916.27
7.3.330.0100.00015.29
7.3.320.0070.00415.21
7.3.310.0070.00316.76
7.3.300.0080.00316.77
7.3.290.0080.00916.58
7.3.280.0090.00816.47
7.3.270.0100.00616.59
7.3.260.0100.00916.41
7.3.250.0090.00616.54
7.3.240.0090.00816.48
7.3.230.0110.00616.44
7.3.220.0100.00816.37
7.3.210.0100.00816.41
7.3.200.0090.00916.37
7.3.190.0090.00916.33
7.3.180.0090.01016.37
7.3.170.0110.00816.35
7.3.160.0090.00916.33
7.3.150.0080.01016.37
7.3.140.0100.00916.32
7.3.130.0090.00916.30
7.3.120.0100.00716.22
7.3.110.0090.00816.18
7.3.100.0080.00916.18
7.3.90.0100.00716.20
7.3.80.0090.00815.97
7.3.70.0080.00915.91
7.3.60.0090.00915.87
7.3.50.0110.00715.77
7.3.40.0070.01015.73
7.3.30.0080.00815.66
7.3.20.0140.00816.01
7.3.10.0200.00715.86
7.3.00.0170.00715.82
7.2.340.0160.01016.45
7.2.330.0150.01016.39
7.2.320.0150.01116.47
7.2.310.0160.00916.41
7.2.300.0150.00916.52
7.2.290.0110.01316.37
7.2.280.0140.00916.44
7.2.270.0120.01016.31
7.2.260.0120.00816.37
7.2.250.0120.00816.23
7.2.240.0100.01016.31
7.2.230.0120.00916.36
7.2.220.0110.00816.31
7.2.210.0120.00716.09
7.2.200.0100.01016.05
7.2.190.0110.00815.95
7.2.180.0120.00915.86
7.2.170.0120.00815.85
7.2.160.0100.00915.76
7.2.150.0160.00716.06
7.2.140.0170.00716.08
7.2.130.0180.00815.99
7.2.120.0180.00815.98
7.2.110.0160.00915.98
7.2.100.0160.00915.99
7.2.90.0220.00816.07
7.2.80.0190.00816.06
7.2.70.0180.00716.05
7.2.60.0170.00816.11
7.2.50.0200.00816.06
7.2.40.0200.00816.16
7.2.30.0190.01016.14
7.2.20.0260.00716.20
7.2.10.0180.00916.21
7.2.00.0190.00816.20
7.1.330.0130.00815.55
7.1.320.0140.00715.57
7.1.310.0250.00715.37
7.1.300.0140.00915.28
7.1.290.0140.00915.25
7.1.280.0180.00715.07
7.1.270.0270.00815.01
7.1.260.0160.00815.00
7.1.250.0230.00714.93
7.1.240.0190.00914.91
7.1.230.0200.00914.90
7.1.220.0190.00914.90
7.1.210.0200.01014.98
7.1.200.0200.00814.99
7.1.190.0200.00814.99
7.1.180.0220.00714.98
7.1.170.0210.00914.96
7.1.160.0230.00915.09
7.1.150.0280.00715.12
7.1.140.0220.00815.13
7.1.130.0200.00915.08
7.1.120.0210.00915.02
7.1.110.0200.00815.03
7.1.100.0200.00915.01
7.1.90.0210.01015.05
7.1.80.0260.00714.98
7.1.70.0220.00814.89
7.1.60.0280.00915.62
7.1.50.0240.00815.65
7.1.40.0210.00815.55
7.1.30.0210.00915.59
7.1.20.0220.00815.59
7.1.10.0210.00814.92
7.1.00.0230.00714.83
7.0.330.0220.00714.61
7.0.320.0160.00715.43
7.0.310.0140.00915.41
7.0.300.0140.01015.40
7.0.290.0160.00815.48
7.0.280.0160.00915.52
7.0.270.0160.01015.52
7.0.260.0140.00915.38
7.0.250.0160.00815.44
7.0.240.0170.00815.41
7.0.230.0160.00815.44
7.0.220.0150.00915.42
7.0.210.0150.00715.39
7.0.200.0150.00915.42
7.0.190.0160.00915.39
7.0.180.0130.00915.35
7.0.170.0160.00815.43
7.0.160.0170.00715.39
7.0.150.0160.00815.40
7.0.140.0210.00615.36
7.0.130.0150.00815.38
7.0.120.0220.00815.40
7.0.110.0140.00815.37
7.0.100.0150.00715.38
7.0.90.0160.00815.39
7.0.80.0140.00915.35
7.0.70.0160.00915.31
7.0.60.0160.00915.39
7.0.50.0130.01015.36
7.0.40.0170.00615.38
7.0.30.0180.00615.39
7.0.20.0200.00715.35
7.0.10.0150.00715.37
7.0.00.0180.00715.39
5.6.400.0130.00915.23
5.6.390.0140.00915.20
5.6.380.0140.00915.06
5.6.370.0140.01115.78
5.6.360.0140.01015.82
5.6.350.0150.00915.84
5.6.340.0160.00915.81
5.6.330.0140.01015.84
5.6.320.0130.01015.77
5.6.310.0130.01115.82
5.6.300.0150.01015.77
5.6.290.0150.01015.87
5.6.280.0140.01215.82
5.6.270.0140.01115.82
5.6.260.0140.01015.89
5.6.250.0130.01215.78
5.6.240.0140.01015.82
5.6.230.0140.00915.81
5.6.220.0160.00815.78
5.6.210.0170.00715.77
5.6.200.0140.01115.78
5.6.190.0130.01115.85
5.6.180.0160.01015.79
5.6.170.0140.01015.82
5.6.160.0160.01015.80
5.6.150.0140.01115.76
5.6.140.0150.01015.77
5.6.130.0140.01115.89
5.6.120.0160.01015.83
5.6.110.0150.01115.75
5.6.100.0160.01015.88
5.6.90.0160.01015.85
5.6.80.0140.01115.74
5.6.70.0160.00915.75
5.6.60.0180.00915.82
5.6.50.0130.01215.76
5.6.40.0130.01215.69
5.6.30.0170.00715.71
5.6.20.0180.00815.74
5.6.10.0160.00915.74
5.6.00.0150.01015.72

preferences:
54.76 ms | 403 KiB | 5 Q