3v4l.org

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

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.4.10.0090.00017.56
8.3.140.0100.00719.21
8.3.130.0110.00718.41
8.3.120.0040.00420.66
8.3.110.0190.00020.94
8.3.100.0030.00624.06
8.3.90.0060.00326.77
8.3.80.0060.00317.97
8.3.70.0130.00616.58
8.3.60.0160.00716.75
8.3.50.0130.00518.19
8.3.40.0090.00618.54
8.3.30.0070.00718.63
8.3.20.0040.00421.63
8.3.10.0000.00721.86
8.3.00.0060.00319.43
8.2.250.0080.00017.00
8.2.240.0050.00318.95
8.2.230.0030.00622.58
8.2.220.0080.00037.54
8.2.210.0070.00026.77
8.2.200.0040.00418.04
8.2.190.0100.00716.75
8.2.180.0040.01125.92
8.2.170.0000.01518.68
8.2.160.0030.01022.96
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0050.00221.12
8.2.110.0030.00620.59
8.2.100.0040.00817.78
8.2.90.0000.00720.63
8.2.80.0000.00917.97
8.2.70.0000.00817.80
8.2.60.0090.00218.14
8.2.50.0000.00818.10
8.2.40.0000.00820.55
8.2.30.0050.00319.22
8.2.20.0000.00918.03
8.2.10.0040.00417.82
8.2.00.0000.00817.80
8.1.300.0030.00620.13
8.1.290.0000.01030.84
8.1.280.0100.00725.92
8.1.270.0040.00420.23
8.1.260.0100.00026.35
8.1.250.0050.00228.09
8.1.240.0030.01723.78
8.1.230.0070.00420.88
8.1.220.0040.00417.74
8.1.210.0060.00618.77
8.1.200.0000.00817.10
8.1.190.0060.00316.97
8.1.180.0060.00318.10
8.1.170.0040.00418.84
8.1.160.0050.00218.75
8.1.150.0070.00018.99
8.1.140.0000.00717.52
8.1.130.0030.00318.89
8.1.120.0000.00817.28
8.1.110.0080.00017.34
8.1.100.0030.00317.29
8.1.90.0070.00017.32
8.1.80.0080.00317.24
8.1.70.0070.00017.32
8.1.60.0030.00517.39
8.1.50.0000.00817.41
8.1.40.0030.00717.42
8.1.30.0060.00317.54
8.1.20.0040.00417.59
8.1.10.0050.00317.32
8.1.00.0100.00317.38
8.0.300.0000.00719.98
8.0.290.0090.00016.63
8.0.280.0000.00718.36
8.0.270.0030.00316.74
8.0.260.0070.00018.91
8.0.250.0000.00716.78
8.0.240.0070.00016.91
8.0.230.0030.00616.88
8.0.220.0000.00716.82
8.0.210.0050.00216.84
8.0.200.0000.00716.82
8.0.190.0040.00416.89
8.0.180.0000.00816.88
8.0.170.0070.00316.82
8.0.160.0000.00716.82
8.0.150.0000.00716.73
8.0.140.0000.00716.82
8.0.130.0030.00313.20
8.0.120.0040.00416.66
8.0.110.0000.00716.73
8.0.100.0040.00416.65
8.0.90.0000.00716.83
8.0.80.0070.00716.84
8.0.70.0000.00716.76
8.0.60.0000.00716.67
8.0.50.0040.00416.84
8.0.30.0110.01116.84
8.0.20.0150.00917.10
8.0.10.0140.01516.95
8.0.00.0130.01016.78
7.4.330.0000.00515.55
7.4.320.0030.00316.45
7.4.300.0040.00416.34
7.4.290.0030.00316.43
7.4.280.0000.00816.37
7.4.270.0000.00716.52
7.4.260.0030.00316.39
7.4.250.0000.00716.39
7.4.240.0030.00316.50
7.4.230.0030.00316.32
7.4.220.0000.00716.61
7.4.210.0090.00816.49
7.4.200.0050.00216.59
7.4.160.0110.01016.32
7.4.150.0140.00716.47
7.4.140.0140.00617.42
7.4.130.0130.01016.42
7.4.120.0120.00916.38
7.4.110.0120.00916.37
7.4.100.0120.01116.30
7.4.90.0150.00816.21
7.4.80.0110.01216.82
7.4.70.0120.01116.35
7.4.60.0160.00716.24
7.4.50.0120.00916.21
7.4.40.0110.00916.28
7.4.30.0100.01116.22
7.4.20.0100.01116.27
7.4.10.0120.01016.28
7.4.00.0090.00916.05
7.3.330.0060.00515.21
7.3.320.0030.00313.11
7.3.310.0040.00416.34
7.3.300.0040.00416.21
7.3.290.0080.00016.25
7.3.280.0100.00716.30
7.3.270.0140.00516.26
7.3.260.0120.01116.33
7.3.250.0200.00616.25
7.3.240.0090.01216.32
7.3.230.0130.00916.31
7.3.220.0140.00916.16
7.3.210.0170.00616.18
7.3.200.0150.00916.28
7.3.190.0150.00916.29
7.3.180.0100.01216.26
7.3.170.0160.00816.23
7.3.160.0130.00916.29
7.3.150.0110.00916.23
7.3.140.0130.01016.27
7.3.130.0110.01016.33
7.3.120.0100.00916.13
7.3.110.0120.00816.08
7.3.100.0090.01016.08
7.3.90.0100.00916.15
7.3.80.0130.00816.03
7.3.70.0100.00915.85
7.3.60.0110.00815.89
7.3.50.0090.00915.57
7.3.40.0090.00815.57
7.3.30.0100.00715.42
7.3.20.0190.00815.90
7.3.10.0180.00716.01
7.3.00.0400.00815.92
7.2.340.0220.01116.14
7.2.330.0120.01316.18
7.2.320.0130.01316.28
7.2.310.0160.01016.19
7.2.300.0160.01016.26
7.2.290.0150.00816.25
7.2.280.0140.01216.31
7.2.270.0140.00916.29
7.2.260.0140.01016.30
7.2.250.0120.01016.14
7.2.240.0140.00716.14
7.2.230.0130.00916.17
7.2.220.0140.00916.19
7.2.210.0120.00916.18
7.2.200.0120.00915.98
7.2.190.0130.01215.97
7.2.180.0100.00915.67
7.2.170.0100.00915.61
7.2.160.0090.01015.51
7.2.150.0140.00816.02
7.2.140.0140.00916.08
7.2.130.0170.00816.11
7.2.120.0160.01016.11
7.2.110.0130.00916.04
7.2.100.0120.00816.08
7.2.90.0140.01016.07
7.2.80.0330.00916.14
7.2.70.0120.00916.09
7.2.60.0230.00916.06
7.2.50.0280.00916.13
7.2.40.0250.01016.26
7.2.30.0250.00816.22
7.2.20.0240.00816.22
7.2.10.0330.00716.16
7.2.00.0380.00816.22
7.1.330.0160.00915.45
7.1.320.0180.01015.40
7.1.310.0160.00915.53
7.1.300.0200.00715.19
7.1.290.0140.01015.21
7.1.280.0160.00715.19
7.1.270.0190.00914.97
7.1.260.0140.00715.10
7.1.250.0150.00915.09
7.1.240.0180.00715.05
7.1.230.0280.00715.02
7.1.220.0210.00814.98
7.1.210.0190.00915.00
7.1.200.0190.01015.05
7.1.190.0330.00815.05
7.1.180.0320.00915.07
7.1.170.0400.00815.04
7.1.160.0310.00915.11
7.1.150.0280.00815.09
7.1.140.0270.00815.08
7.1.130.0270.00815.13
7.1.120.0260.00815.15
7.1.110.0340.00815.13
7.1.100.0320.00915.05
7.1.90.0220.00615.10
7.1.80.0270.00815.13
7.1.70.0250.00715.05
7.1.60.0260.00815.98
7.1.50.0250.00816.00
7.1.40.0240.00715.93
7.1.30.0250.00815.98
7.1.20.0230.00915.98
7.1.10.0210.00914.99
7.1.00.0220.01014.99
7.0.330.0250.00714.72
7.0.320.0220.01114.95
7.0.310.0340.00714.93
7.0.300.0340.00714.94
7.0.290.0350.00814.98
7.0.280.0300.00814.93
7.0.270.0250.00814.95
7.0.260.0290.01015.00
7.0.250.0300.00814.99
7.0.240.0260.01015.04
7.0.230.0200.00615.08
7.0.220.0160.00715.01
7.0.210.0250.00814.93
7.0.200.0310.00715.01
7.0.190.0230.00614.99
7.0.180.0190.00915.01
7.0.170.0210.01014.98
7.0.160.0230.00815.01
7.0.150.0230.00914.99
7.0.140.0190.01015.01
7.0.130.0300.00814.98
7.0.120.0200.00815.03
7.0.110.0230.00514.99
7.0.100.0200.00815.00
7.0.90.0230.00914.97
7.0.80.0190.00814.97
7.0.70.0220.00615.00
7.0.60.0240.00815.00
7.0.50.0180.00714.97
7.0.40.0190.00914.98
7.0.30.0170.00915.02
7.0.20.0190.00915.01
7.0.10.0220.00815.04
7.0.00.0190.00814.97
5.6.400.0150.00914.76
5.6.390.0140.01014.82
5.6.380.0130.00914.82
5.6.370.0140.01215.27
5.6.360.0140.01015.20
5.6.350.0150.01015.26
5.6.340.0140.01115.29
5.6.330.0160.00815.26
5.6.320.0150.01015.26
5.6.310.0140.01115.20
5.6.300.0140.01415.64
5.6.290.0150.01315.67
5.6.280.0180.01215.66
5.6.270.0140.01315.69
5.6.260.0160.01215.62
5.6.250.0150.01415.71
5.6.240.0170.01115.61
5.6.230.0150.01515.63
5.6.220.0170.01215.62
5.6.210.0170.01215.63
5.6.200.0160.01315.69
5.6.190.0150.01415.72
5.6.180.0160.01315.75
5.6.170.0190.01015.68
5.6.160.0140.01415.70
5.6.150.0180.01315.68
5.6.140.0160.01415.73
5.6.130.0140.01815.69
5.6.120.0160.01215.64
5.6.110.0160.01415.64
5.6.100.0150.01415.62
5.6.90.0180.01115.66
5.6.80.0140.01415.57
5.6.70.0140.01415.56
5.6.60.0130.01415.55
5.6.50.0170.01015.54
5.6.40.0150.01315.55
5.6.30.0150.01315.58
5.6.20.0120.01415.52
5.6.10.0150.01315.55
5.6.00.0150.01415.55
5.5.380.0160.01215.11
5.5.370.0180.00815.22
5.5.360.0190.01115.10
5.5.350.0200.00815.09
5.5.340.0180.00915.12
5.5.330.0190.00815.13
5.5.320.0200.00815.08
5.5.310.0180.00915.12
5.5.300.0190.01015.18
5.5.290.0170.01215.16
5.5.280.0160.00915.01
5.5.270.0170.00915.05
5.5.260.0150.01015.14
5.5.250.0150.01015.02
5.5.240.0160.01015.07
5.5.230.0160.00915.08
5.5.220.0170.00715.09
5.5.210.0160.00815.04
5.5.200.0170.01015.01
5.5.190.0130.01015.11
5.5.180.0160.01015.17
5.5.170.0160.01015.08
5.5.160.0140.01015.02
5.5.150.0180.00814.97
5.5.140.0140.01115.02
5.5.130.0170.00815.02
5.5.120.0150.00915.02
5.5.110.0130.01214.94
5.5.100.0170.00915.08
5.5.90.0170.00715.11
5.5.80.0160.01015.04
5.5.70.0160.00915.11
5.5.60.0160.01015.13
5.5.50.0160.01015.01
5.5.40.0150.01115.00
5.5.30.0150.01015.09
5.5.20.0130.01215.04
5.5.10.0160.00814.94
5.5.00.0160.00915.02
5.4.450.0120.00712.56
5.4.440.0140.00612.56
5.4.430.0160.00712.60
5.4.420.0120.00812.54
5.4.410.0120.00812.53
5.4.400.0110.00812.50
5.4.390.0130.00612.52
5.4.380.0120.00712.43
5.4.370.0130.00712.44
5.4.360.0130.00712.45
5.4.350.0130.00712.53
5.4.340.0130.00612.51
5.4.330.0140.00712.51
5.4.320.0140.00612.53
5.4.310.0120.00812.45
5.4.300.0130.00612.55
5.4.290.0110.00712.53
5.4.280.0140.00512.50
5.4.270.0110.00712.51
5.4.260.0140.00612.48
5.4.250.0130.00712.48
5.4.240.0120.00812.48
5.4.230.0130.00612.48
5.4.220.0140.00712.48
5.4.210.0100.01112.49
5.4.200.0120.00712.55
5.4.190.0140.00512.51
5.4.180.0130.00612.46
5.4.170.0130.00712.45
5.4.160.0130.00712.52
5.4.150.0120.00712.42
5.4.140.0120.00712.57
5.4.130.0110.00812.50
5.4.120.0120.00612.51
5.4.110.0090.01012.52
5.4.100.0120.00712.54
5.4.90.0120.00712.55
5.4.80.0100.00912.55
5.4.70.0120.00812.54
5.4.60.0110.00712.53
5.4.50.0130.00612.51
5.4.40.0120.00712.50
5.4.30.0110.00712.52
5.4.20.0120.00612.53
5.4.10.0140.00612.51
5.4.00.0120.00712.46
5.3.290.0140.00712.75
5.3.280.0140.00712.66
5.3.270.0110.00912.70
5.3.260.0130.00712.70
5.3.250.0140.00712.74
5.3.240.0130.00712.63
5.3.230.0120.00612.67
5.3.220.0150.00412.70
5.3.210.0130.00612.66
5.3.200.0140.00712.68
5.3.190.0140.00612.68
5.3.180.0150.00612.80
5.3.170.0120.00812.78
5.3.160.0130.00812.77
5.3.150.0140.00712.79
5.3.140.0130.00912.74
5.3.130.0130.00712.74
5.3.120.0130.00812.73
5.3.110.0120.00912.73
5.3.100.0130.00812.80
5.3.90.0130.00612.78
5.3.80.0140.00512.73
5.3.70.0120.00712.69
5.3.60.0140.00712.77
5.3.50.0120.00712.70
5.3.40.0130.00712.73
5.3.30.0100.00912.72
5.3.20.0130.00512.68
5.3.10.0110.00812.58
5.3.00.0110.00812.55
5.2.170.0110.00612.05
5.2.160.0090.00912.06
5.2.150.0110.00612.05
5.2.140.0090.00712.01
5.2.130.0120.00512.04
5.2.120.0120.00412.02
5.2.110.0120.00612.05
5.2.100.0120.00612.02
5.2.90.0100.00812.08
5.2.80.0100.00712.01
5.2.70.0110.00612.01
5.2.60.0090.00811.96
5.2.50.0100.00612.03
5.2.40.0100.00712.05
5.2.30.0100.00711.98
5.2.20.0110.00711.95
5.2.10.0090.00711.95
5.2.00.0100.00711.88
5.1.60.0090.00611.67
5.1.50.0090.00611.64
5.1.40.0110.00411.71
5.1.30.0090.00611.75
5.1.20.0090.00711.70
5.1.10.0100.00611.65
5.1.00.0110.00411.64
5.0.50.0100.00511.46
5.0.40.0080.00511.42
5.0.30.0060.00711.41
5.0.20.0090.00511.42
5.0.10.0080.00511.43
5.0.00.0080.00511.42
4.4.90.0060.00311.30
4.4.80.0050.00311.30
4.4.70.0050.00411.30
4.4.60.0050.00411.30
4.4.50.0050.00411.30
4.4.40.0070.00211.30
4.4.30.0040.00411.30
4.4.20.0070.00211.30
4.4.10.0050.00411.30
4.4.00.0060.00311.30
4.3.110.0060.00311.30
4.3.100.0040.00511.30
4.3.90.0040.00511.30
4.3.80.0050.00311.30
4.3.70.0060.00311.30
4.3.60.0040.00411.30
4.3.50.0060.00311.30
4.3.40.0050.00311.30
4.3.30.0050.00411.30
4.3.20.0060.00211.30
4.3.10.0050.00311.30
4.3.00.0040.00411.30

preferences:
29.45 ms | 403 KiB | 5 Q