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.1rc30.0060.00316.74
8.1rc20.0030.00616.88
8.1rc10.0000.00816.84
8.0.120.0030.00616.80
8.0.110.0020.00516.73
8.0.100.0070.00016.64
8.0.90.0080.00016.86
8.0.80.0120.00916.73
8.0.70.0040.00416.60
8.0.60.0030.00316.68
8.0.50.0000.00816.80
8.0.30.0150.01016.85
8.0.20.0110.00817.40
8.0.10.0040.00416.92
8.0.00.0120.00516.80
7.4.250.0000.00716.32
7.4.240.0070.00016.57
7.4.230.0000.00716.64
7.4.220.0090.00916.47
7.4.210.0060.01116.55
7.4.200.0000.00716.25
7.4.160.0070.01016.40
7.4.150.0090.00917.40
7.4.140.0110.01017.86
7.4.130.0100.00816.44
7.4.120.0080.00816.34
7.4.110.0130.00416.43
7.4.100.0090.00916.38
7.4.90.0080.00816.44
7.4.80.0120.00919.39
7.4.70.0060.01016.35
7.4.60.0130.00616.41
7.4.50.0040.00416.13
7.4.40.0070.01016.49
7.4.30.0000.01616.49
7.4.00.0050.00914.56
7.3.320.0030.00313.07
7.3.310.0020.00516.18
7.3.300.0040.00416.21
7.3.290.0070.00916.21
7.3.280.0070.00916.20
7.3.270.0060.01117.40
7.3.260.0100.01116.56
7.3.250.0080.01316.25
7.3.240.0080.00816.16
7.3.230.0100.00716.56
7.3.210.0130.00316.66
7.3.200.0060.01219.39
7.3.190.0070.01016.54
7.3.180.0000.01516.16
7.3.170.0100.01316.27
7.3.160.0030.01316.41
7.3.120.0080.00814.59
7.3.100.0070.01014.83
7.3.90.0080.00614.67
7.3.80.0060.00814.77
7.3.70.0090.00814.58
7.3.60.0110.00414.69
7.3.50.0090.00714.74
7.3.40.0060.01014.59
7.3.30.0070.00914.55
7.3.20.0130.00614.61
7.3.10.0050.01014.68
7.3.00.0100.00814.61
7.2.330.0030.01316.43
7.2.320.0120.01016.53
7.2.310.0060.01016.42
7.2.300.0140.00716.73
7.2.290.0030.01216.53
7.2.230.0100.00714.96
7.2.220.0060.00814.93
7.2.210.0090.00514.78
7.2.200.0070.00914.75
7.2.190.0080.00814.87
7.2.180.0100.00614.83
7.2.170.0080.00914.87
7.2.160.0100.00514.96
7.2.150.0100.00814.99
7.2.140.0110.00714.99
7.2.130.0110.00814.95
7.2.120.0130.00514.90
7.2.110.0090.00814.95
7.2.100.0130.00714.98
7.2.90.0090.00914.99
7.2.80.0230.00714.79
7.2.70.0260.01014.99
7.2.60.0860.00814.98
7.2.50.0200.01114.90
7.2.40.0170.01114.92
7.2.30.0160.00914.98
7.2.20.0150.01116.21
7.2.10.0170.00815.63
7.2.00.0140.01016.27
7.1.320.0110.00313.81
7.1.310.0080.00813.82
7.1.300.0130.00513.81
7.1.290.0120.00713.76
7.1.280.0090.00913.80
7.1.270.0060.00913.65
7.1.260.0120.00813.86
7.1.250.0080.00713.76
7.1.240.0080.00913.67
7.1.230.0100.01013.69
7.1.220.0130.00613.82
7.1.210.0090.01013.73
7.1.200.0160.00813.79
7.1.190.0260.00613.70
7.1.180.0280.00813.69
7.1.170.0280.00813.67
7.1.160.0200.00613.66
7.1.150.0160.00813.67
7.1.140.0160.00814.53
7.1.130.0150.00914.56
7.1.120.0170.00715.09
7.1.110.0150.00714.88
7.1.100.0270.00914.91
7.1.90.0190.00814.90
7.1.80.0150.00714.91
7.1.70.0140.00514.67
7.1.60.0210.00822.41
7.1.50.0160.01122.23
7.1.40.0210.00922.27
7.1.30.0250.00722.15
7.1.20.0210.00622.21
7.1.10.0160.00814.49
7.1.00.0120.00914.60
7.0.330.0170.00213.26
7.0.320.0120.00813.30
7.0.310.0210.00513.36
7.0.300.0190.00813.41
7.0.290.0200.00713.33
7.0.280.0090.01113.44
7.0.270.0160.00914.23
7.0.260.0140.00814.59
7.0.250.0170.00714.59
7.0.240.0150.00814.63
7.0.230.0140.01014.59
7.0.220.0120.01114.59
7.0.210.0160.00514.31
7.0.200.0150.00814.29
7.0.190.0400.00914.34
7.0.180.0150.01114.20
7.0.170.0100.01114.23
7.0.160.0150.00714.28
7.0.150.0160.00714.15
7.0.140.0170.00814.28
7.0.130.0140.00714.28
7.0.120.0170.00614.24
7.0.110.0180.00814.15
7.0.100.0190.00614.22
7.0.90.0180.00814.28
7.0.80.0140.00914.19
7.0.70.0180.00814.40
7.0.60.0200.00914.46
7.0.50.0160.00814.55
7.0.40.0160.00614.31
7.0.30.0180.00914.36
7.0.20.0160.00714.27
7.0.10.0130.00814.25
7.0.00.0240.00614.25
5.6.400.0080.01014.24
5.6.390.0120.00714.25
5.6.380.0110.00714.26
5.6.370.0150.00614.23
5.6.360.0120.00614.37
5.6.350.0100.00814.23
5.6.340.0110.00714.17
5.6.330.0090.01114.27
5.6.320.0120.00714.17
5.6.310.0120.01014.23
5.6.300.0110.02616.15
5.6.290.0110.02116.18
5.6.280.0150.01915.97
5.6.270.0090.02316.11
5.6.260.0080.02616.17
5.6.250.0120.02116.14
5.6.240.0110.02316.14
5.6.230.0110.02216.15
5.6.220.0130.02216.17
5.6.210.0130.01916.14
5.6.200.0110.02716.14
5.6.190.0120.02216.20
5.6.180.0100.02216.05
5.6.170.0120.02016.19
5.6.160.0110.02416.08
5.6.150.0140.02215.99
5.6.140.0110.02316.14
5.6.130.0110.02216.09
5.6.120.0090.02416.04
5.6.110.0120.02216.16
5.6.100.0080.02616.15
5.6.90.0100.02116.25
5.6.80.0100.02516.02
5.6.70.0100.02515.91
5.6.60.0130.01815.91
5.6.50.0120.02315.87
5.6.40.0110.02015.88
5.6.30.0130.02215.82
5.6.20.0130.01815.95
5.6.10.0100.02015.93
5.6.00.0140.02115.90
5.5.380.0130.01714.62
5.5.370.0080.02414.65
5.5.360.0120.02014.62
5.5.350.0130.01814.73
5.5.340.0090.02314.70
5.5.330.0090.02214.81
5.5.320.0110.01914.88
5.5.310.0120.02214.94
5.5.300.0090.02314.65
5.5.290.0110.02714.79
5.5.280.0080.02314.73
5.5.270.0120.01914.75
5.5.260.0140.02214.80
5.5.250.0100.02014.73
5.5.240.0110.01914.64
5.5.230.0100.02114.63
5.5.220.0100.02014.52
5.5.210.0130.02014.56
5.5.200.0120.02114.54
5.5.190.0130.01814.63
5.5.180.0120.02414.65
5.5.170.0100.01014.11
5.5.160.0110.02114.64
5.5.150.0110.02414.63
5.5.140.0090.02214.58
5.5.130.0120.02014.61
5.5.120.0100.02314.68
5.5.110.0140.01914.62
5.5.100.0110.02314.48
5.5.90.0110.02014.56
5.5.80.0100.02114.47
5.5.70.0110.02414.63
5.5.60.0120.02114.52
5.5.50.0110.02414.57
5.5.40.0080.02214.51
5.5.30.0110.01914.60
5.5.20.0110.02114.38
5.5.10.0130.02214.45
5.5.00.0120.01814.49
5.4.450.0120.02113.44
5.4.440.0070.02113.47
5.4.430.0100.02213.53
5.4.420.0090.01913.53
5.4.410.0090.02313.57
5.4.400.0110.01813.49
5.4.390.0090.02113.43
5.4.380.0090.01813.42
5.4.370.0090.02213.43
5.4.360.0100.01813.44
5.4.350.0090.01913.53
5.4.340.0110.01613.43
5.4.330.0080.00711.25
5.4.320.0120.02113.36
5.4.310.0070.02013.44
5.4.300.0110.02013.48
5.4.290.0100.01913.41
5.4.280.0120.02313.39
5.4.270.0080.02113.42
5.4.260.0110.01913.43
5.4.250.0110.01913.47
5.4.240.0100.01913.50
5.4.230.0110.02113.43
5.4.220.0110.02013.41
5.4.210.0080.02213.45
5.4.200.0110.01813.48
5.4.190.0100.01713.36
5.4.180.0100.01913.47
5.4.170.0080.02013.38
5.4.160.0110.01813.45
5.4.150.0090.01913.36
5.4.140.0110.01912.80
5.4.130.0090.01712.77
5.4.120.0100.01912.73
5.4.110.0100.01912.73
5.4.100.0110.01812.74
5.4.90.0070.01812.69
5.4.80.0090.02112.72
5.4.70.0090.02312.66
5.4.60.0090.02012.72
5.4.50.0080.02112.67
5.4.40.0070.01812.71
5.4.30.0090.01712.66
5.4.20.0090.01712.73
5.4.10.0110.01712.73
5.4.00.0090.02012.56
5.3.290.0070.02212.11
5.3.280.0120.01512.03
5.3.270.0120.01612.04
5.3.260.0090.02112.03
5.3.250.0090.01712.09
5.3.240.0090.01812.02
5.3.230.0080.01812.05
5.3.220.0080.02111.96
5.3.210.0090.01911.97
5.3.200.0100.02011.94
5.3.190.0070.01811.94
5.3.180.0100.02011.97
5.3.170.0100.01812.00
5.3.160.0090.01912.03
5.3.150.0100.01612.00
5.3.140.0080.01711.98
5.3.130.0070.02112.01
5.3.120.0090.01811.99
5.3.110.0070.02011.97
5.3.100.0080.02011.77
5.3.90.0080.01811.83
5.3.80.0090.01911.78
5.3.70.0070.01711.83
5.3.60.0050.02311.83
5.3.50.0090.02011.77
5.3.40.0080.01811.74
5.3.30.0080.01711.72
5.3.20.0060.02011.71
5.3.10.0090.01511.63
5.3.00.0070.01811.66
4.3.110.0040.0039.89

preferences:
86.18 ms | 455 KiB | 5 Q