3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(~0); $foo = new StdClass(); $foo->bar = '1234';

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.30.0070.00718.89
8.3.20.0040.00420.21
8.3.10.0070.00023.61
8.3.00.0080.00019.52
8.2.160.0130.00020.37
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.01420.83
8.2.110.0090.00022.24
8.2.100.0110.00017.78
8.2.90.0000.00822.14
8.2.80.0030.00617.97
8.2.70.0060.00317.91
8.2.60.0080.00018.09
8.2.50.0000.00718.10
8.2.40.0030.00618.09
8.2.30.0060.00318.18
8.2.20.0080.00017.49
8.2.10.0070.00517.66
8.2.00.0070.00017.66
8.1.270.0040.00420.70
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0070.00322.32
8.1.230.0070.00420.88
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0050.00318.55
8.1.160.0040.00421.85
8.1.150.0000.00718.72
8.1.140.0080.00017.39
8.1.130.0040.00717.63
8.1.120.0080.00317.37
8.1.110.0100.00217.40
8.1.100.0060.00517.39
8.1.90.0080.00317.38
8.1.80.0050.00617.44
8.1.70.0060.00617.39
8.1.60.0080.00517.53
8.1.50.0040.00518.34
8.1.40.0070.00218.43
8.1.30.0040.00418.44
8.1.20.0000.00918.46
8.1.10.0030.00718.43
8.1.00.0020.00818.36
8.0.300.0040.00419.89
8.0.290.0000.00816.75
8.0.280.0070.00018.41
8.0.270.0040.00416.66
8.0.260.0060.00317.28
8.0.250.0060.00317.12
8.0.240.0050.00717.07
8.0.230.0070.00217.11
8.0.220.0030.00617.71
8.0.210.0070.00117.70
8.0.200.0040.00417.66
8.0.190.0050.00417.67
8.0.180.0040.00517.72
8.0.170.0030.00517.65
8.0.160.0020.00617.75
8.0.150.0080.00117.57
8.0.140.0080.00117.57
8.0.130.0060.00315.80
8.0.120.0050.00417.59
8.0.110.0030.00617.65
8.0.100.0070.00217.62
8.0.90.0070.00317.65
8.0.80.0100.00617.61
8.0.70.0020.00617.59
8.0.60.0050.00317.59
8.0.50.0030.00717.66
8.0.30.0140.00717.02
8.0.20.0100.00717.39
8.0.10.0080.00217.14
8.0.00.0100.00417.42
7.4.330.0050.00516.19
7.4.320.0050.00716.91
7.4.300.0080.00416.88
7.4.290.0100.00216.91
7.4.280.0100.00316.94
7.4.270.0090.00316.98
7.4.260.0140.00016.88
7.4.250.0100.00516.84
7.4.240.0090.00316.97
7.4.230.0070.00517.01
7.4.220.0080.01016.92
7.4.210.0070.01016.69
7.4.200.0080.00316.81
7.4.190.0130.00317.37
7.4.180.0090.00517.37
7.4.160.0120.00516.88
7.4.150.0090.00917.39
7.4.140.0090.01017.69
7.4.130.0090.00716.75
7.4.120.0080.00916.68
7.4.110.0120.00416.90
7.4.100.0100.00816.88
7.4.90.0090.00716.90
7.4.80.0120.00718.38
7.4.70.0100.00716.86
7.4.60.0120.00616.89
7.4.50.0090.00216.75
7.4.40.0110.00516.93
7.4.30.0070.00816.93
7.4.20.0140.00017.37
7.4.10.0070.00717.37
7.4.00.0040.01115.96
7.3.330.0040.00615.24
7.3.320.0090.00115.22
7.3.310.0070.00416.77
7.3.300.0090.00216.79
7.3.290.0090.00716.50
7.3.280.0080.00816.49
7.3.270.0090.00817.39
7.3.260.0090.00916.97
7.3.250.0080.01116.63
7.3.240.0080.00816.76
7.3.230.0080.00716.96
7.3.220.0130.00317.37
7.3.210.0140.00317.01
7.3.200.0080.00918.38
7.3.190.0080.00816.96
7.3.180.0060.00916.77
7.3.170.0100.01016.82
7.3.160.0090.00616.89
7.3.150.0100.00517.37
7.3.140.0120.00317.37
7.3.130.0120.00317.37
7.3.120.0090.00515.98
7.3.110.0110.00417.37
7.3.100.0070.00915.68
7.3.90.0090.00615.34
7.3.80.0070.00615.29
7.3.70.0100.00715.14
7.3.60.0110.00315.23
7.3.50.0100.00615.27
7.3.40.0060.00915.14
7.3.30.0070.00815.11
7.3.20.0120.00615.28
7.3.10.0060.00915.36
7.3.00.0110.00715.27
7.2.340.0070.00717.37
7.2.330.0070.00916.90
7.2.320.0120.00716.95
7.2.310.0100.00516.89
7.2.300.0120.00617.05
7.2.290.0090.00716.95
7.2.280.0070.00717.37
7.2.270.0070.00717.37
7.2.260.0080.00617.37
7.2.250.0150.00017.37
7.2.240.0140.00317.37
7.2.230.0090.00815.76
7.2.220.0080.00715.54
7.2.210.0100.00415.30
7.2.200.0080.00815.27
7.2.190.0080.00815.37
7.2.180.0100.00615.34
7.2.170.0090.00815.37
7.2.160.0110.00515.44
7.2.150.0110.00715.64
7.2.140.0110.00615.61
7.2.130.0100.00715.61
7.2.120.0120.00515.55
7.2.110.0090.00815.61
7.2.100.0120.00715.63
7.2.90.0090.00815.66
7.2.80.0210.00615.38
7.2.70.0230.01015.55
7.2.60.0760.00715.43
7.2.50.0180.01115.48
7.2.40.0150.01015.50
7.2.30.0160.00715.50
7.2.20.0140.01016.49
7.2.10.0170.00616.03
7.2.00.0140.00916.54
7.1.330.0090.00517.37
7.1.320.0110.00314.70
7.1.310.0090.00714.53
7.1.300.0110.00614.52
7.1.290.0120.00614.48
7.1.280.0100.00714.51
7.1.270.0080.00714.39
7.1.260.0110.00714.56
7.1.250.0090.00714.49
7.1.240.0080.00814.41
7.1.230.0100.01014.42
7.1.220.0130.00514.53
7.1.210.0090.00914.46
7.1.200.0150.00714.39
7.1.190.0220.00614.31
7.1.180.0260.00714.30
7.1.170.0250.00714.29
7.1.160.0180.00614.28
7.1.150.0140.00814.29
7.1.140.0150.00714.94
7.1.130.0150.00814.96
7.1.120.0160.00615.37
7.1.110.0150.00715.19
7.1.100.0260.00715.22
7.1.90.0180.00715.21
7.1.80.0150.00715.22
7.1.70.0130.00515.01
7.1.60.0200.00721.78
7.1.50.0150.01021.62
7.1.40.0190.00821.66
7.1.30.0220.00721.55
7.1.20.0200.00621.61
7.1.10.0160.00714.85
7.1.00.0120.00814.95
7.0.330.0160.00214.08
7.0.320.0110.00714.11
7.0.310.0200.00514.03
7.0.300.0180.00814.07
7.0.290.0190.00614.00
7.0.280.0090.01014.22
7.0.270.0150.00914.68
7.0.260.0140.00714.94
7.0.250.0160.00714.94
7.0.240.0140.00814.97
7.0.230.0140.00914.94
7.0.220.0120.01014.93
7.0.210.0150.00514.69
7.0.200.0140.00714.68
7.0.190.0360.00814.72
7.0.180.0150.00914.60
7.0.170.0100.01014.62
7.0.160.0140.00714.66
7.0.150.0150.00714.55
7.0.140.0160.00714.67
7.0.130.0140.00714.67
7.0.120.0170.00614.63
7.0.110.0170.00714.55
7.0.100.0180.00614.62
7.0.90.0170.00814.67
7.0.80.0120.00914.59
7.0.70.0170.00714.77
7.0.60.0180.00914.82
7.0.50.0160.00714.91
7.0.40.0140.00714.69
7.0.30.0160.00914.74
7.0.20.0150.00714.66
7.0.10.0130.00814.64
7.0.00.0220.00714.64
5.6.400.0090.00814.86
5.6.390.0110.00614.87
5.6.380.0120.00614.88
5.6.370.0140.00614.85
5.6.360.0110.00614.97
5.6.350.0100.00714.86
5.6.340.0120.00614.81
5.6.330.0080.01014.89
5.6.320.0120.00614.81
5.6.310.0110.00914.86
5.6.300.0100.02416.30
5.6.290.0110.01916.33
5.6.280.0140.01716.15
5.6.270.0080.02216.27
5.6.260.0090.02316.32
5.6.250.0110.01916.30
5.6.240.0120.02116.30
5.6.230.0110.02016.30
5.6.220.0120.02016.32
5.6.210.0130.01716.30
5.6.200.0110.02416.29
5.6.190.0120.02016.35
5.6.180.0090.02016.21
5.6.170.0120.01816.34
5.6.160.0110.02116.24
5.6.150.0140.02016.17
5.6.140.0110.02016.30
5.6.130.0110.02016.25
5.6.120.0100.02116.21
5.6.110.0110.02116.31
5.6.100.0080.02316.30
5.6.90.0090.02016.39
5.6.80.0090.02316.19
5.6.70.0090.02316.09
5.6.60.0130.01616.09
5.6.50.0110.02116.06
5.6.40.0100.02016.06
5.6.30.0130.01916.01
5.6.20.0130.01616.12
5.6.10.0100.01916.11
5.6.00.0140.01816.08
5.5.380.0130.01514.96
5.5.370.0090.02114.99
5.5.360.0120.01814.96
5.5.350.0120.01615.06
5.5.340.0090.02115.03
5.5.330.0090.01915.13
5.5.320.0110.01715.19
5.5.310.0110.02015.24
5.5.300.0090.02114.99
5.5.290.0110.02415.11
5.5.280.0080.02115.06
5.5.270.0120.01715.08
5.5.260.0130.02015.12
5.5.250.0100.01815.06
5.5.240.0110.01714.98
5.5.230.0100.01814.97
5.5.220.0090.01814.88
5.5.210.0120.01814.91
5.5.200.0120.01814.90
5.5.190.0120.01614.97
5.5.180.0120.02114.99
5.5.170.0110.00814.76
5.5.160.0120.01814.98
5.5.150.0100.02314.98
5.5.140.0090.02014.93
5.5.130.0110.02014.95
5.5.120.0090.02115.02
5.5.110.0140.01714.96
5.5.100.0110.02114.84
5.5.90.0110.01714.91
5.5.80.0100.01914.83
5.5.70.0100.02214.97
5.5.60.0120.01914.87
5.5.50.0110.02114.92
5.5.40.0070.02014.86
5.5.30.0110.01614.95
5.5.20.0110.01914.76
5.5.10.0120.01914.82
5.5.00.0110.01614.85
5.4.450.0120.01913.93
5.4.440.0080.01813.96
5.4.430.0100.02014.01
5.4.420.0080.01814.01
5.4.410.0090.02014.05
5.4.400.0100.01613.97
5.4.390.0090.01913.92
5.4.380.0080.01713.91
5.4.370.0090.02013.92
5.4.360.0090.01713.93
5.4.350.0080.01714.01
5.4.340.0120.01413.93
5.4.330.0080.00512.47
5.4.320.0110.01813.86
5.4.310.0070.01813.93
5.4.300.0110.01813.97
5.4.290.0100.01713.91
5.4.280.0110.02013.88
5.4.270.0080.01913.92
5.4.260.0100.01813.92
5.4.250.0110.01713.96
5.4.240.0100.01613.99
5.4.230.0110.01813.92
5.4.220.0100.01813.90
5.4.210.0080.02013.94
5.4.200.0110.01613.97
5.4.190.0090.01613.86
5.4.180.0100.01713.96
5.4.170.0080.01913.88
5.4.160.0100.01613.94
5.4.150.0090.01713.86
5.4.140.0100.01713.37
5.4.130.0090.01613.34
5.4.120.0100.01613.31
5.4.110.0090.01813.31
5.4.100.0100.01713.32
5.4.90.0070.01713.28
5.4.80.0080.01913.30
5.4.70.0080.02013.25
5.4.60.0090.01813.30
5.4.50.0070.01913.26
5.4.40.0070.01613.29
5.4.30.0090.01513.25
5.4.20.0090.01513.31
5.4.10.0110.01513.31
5.4.00.0090.01813.16
5.3.290.0070.01626.08
5.3.280.0110.01412.70
5.3.270.0110.01512.71
5.3.260.0080.01912.70
5.3.250.0090.01612.75
5.3.240.0090.01612.69
5.3.230.0090.01512.71
5.3.220.0080.01912.64
5.3.210.0090.01712.64
5.3.200.0100.01812.62
5.3.190.0070.01612.62
5.3.180.0090.01812.65
5.3.170.0100.01612.67
5.3.160.0090.01712.69
5.3.150.0100.01512.67
5.3.140.0080.01512.65
5.3.130.0070.01912.68
5.3.120.0090.01612.66
5.3.110.0080.01812.65
5.3.100.0090.01712.47
5.3.90.0080.01712.52
5.3.80.0080.01712.48
5.3.70.0070.01612.52
5.3.60.0050.02212.52
5.3.50.0080.01812.47
5.3.40.0080.01712.44
5.3.30.0080.01512.42
5.3.20.0050.01812.42
5.3.10.0090.01312.34
5.3.00.0070.01612.37

preferences:
33.18 ms | 401 KiB | 5 Q