3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = array(); for($x=0;$x<1000;$x++){ $o = new ArrayObject; $o->name = "Adam"; $o->age = 35; $s[] = $o; }

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.1rc20.0080.00017.64
8.1rc10.0000.00817.50
8.0.100.0000.00717.25
8.0.90.0060.00317.30
8.0.80.0100.00217.36
8.0.70.0040.00417.23
8.0.60.0050.00317.36
8.0.50.0000.00917.33
8.0.30.0060.00917.45
8.0.20.0070.00917.39
8.0.10.0000.00917.58
8.0.00.0080.00717.24
7.4.230.0000.00816.89
7.4.220.0120.00117.16
7.4.210.0070.00517.04
7.4.200.0060.00317.20
7.4.190.0060.00317.04
7.4.180.0000.00917.14
7.4.160.0010.01317.05
7.4.150.0050.00817.27
7.4.140.0050.01017.54
7.4.130.0050.01116.99
7.4.120.0120.00417.12
7.4.110.0070.00517.01
7.4.100.0060.00617.02
7.4.90.0100.00416.90
7.4.80.0070.00618.20
7.4.70.0050.00917.07
7.4.60.0110.00316.91
7.4.50.0110.00516.89
7.4.40.0170.00216.91
7.4.30.0110.01017.09
7.4.20.0110.00816.93
7.4.10.0100.01216.95
7.4.00.0080.01015.96
7.3.300.0000.00716.71
7.3.290.0090.00616.82
7.3.280.0070.00716.81
7.3.270.0060.00817.03
7.3.260.0070.01016.80
7.3.250.0110.00716.95
7.3.240.0090.00717.01
7.3.230.0030.01016.82
7.3.220.0040.00416.59
7.3.210.0090.00416.83
7.3.200.0100.00516.94
7.3.190.0020.01016.87
7.3.180.0070.00616.92
7.3.170.0120.01116.92
7.3.160.0140.00716.81
7.3.150.0140.00816.84
7.3.140.0150.00816.94
7.3.130.0110.01216.95
7.3.120.0120.00716.04
7.3.110.0150.00716.10
7.3.100.0090.00916.12
7.3.90.0080.00816.21
7.3.80.0110.00416.08
7.3.70.0060.00915.94
7.3.60.0140.00315.91
7.3.50.0100.00716.06
7.3.40.0120.00615.79
7.3.30.0110.00715.87
7.3.20.0300.00816.48
7.3.10.0110.00916.51
7.3.00.0120.00616.40
7.2.340.0030.00616.93
7.2.330.0040.01017.04
7.2.320.0060.00816.92
7.2.310.0070.00616.98
7.2.300.0100.00316.96
7.2.290.0100.01017.00
7.2.280.0150.00716.87
7.2.270.0180.00516.94
7.2.260.0150.00716.95
7.2.250.0120.00916.33
7.2.240.0100.01016.31
7.2.230.0100.00916.30
7.2.220.0090.00816.29
7.2.210.0090.00816.27
7.2.200.0100.00816.14
7.2.190.0100.00716.13
7.2.180.0100.00816.16
7.2.170.0100.00916.01
7.2.160.0110.01016.27
7.2.150.0140.00616.56
7.2.140.0150.00816.63
7.2.130.0130.00816.62
7.2.120.0140.00716.58
7.2.110.0170.00716.70
7.2.100.0140.00616.60
7.2.90.0130.00816.35
7.2.80.0340.00516.65
7.2.70.0130.00816.65
7.2.60.0180.00516.71
7.2.50.0120.00816.74
7.2.40.0170.00516.67
7.2.30.0280.00516.70
7.2.20.0120.00816.66
7.2.10.0150.00916.78
7.2.00.0150.00716.69
7.1.330.0100.00616.10
7.1.320.0060.00816.12
7.1.310.0090.00816.29
7.1.300.0140.00815.82
7.1.290.0090.00715.72
7.1.280.0130.00615.60
7.1.270.0090.00815.53
7.1.260.0140.00615.58
7.1.250.0120.00715.42
7.1.240.0090.01015.50
7.1.230.0090.01015.42
7.1.220.0090.00815.45
7.1.210.0170.00515.40
7.1.200.0090.01115.42
7.1.190.0120.00615.44
7.1.180.0120.00715.37
7.1.170.0110.00715.24
7.1.160.0140.00815.29
7.1.150.0120.00915.31
7.1.140.0130.00915.33
7.1.130.0100.01015.54
7.1.120.0090.00815.30
7.1.110.0110.01115.39
7.1.100.0140.01015.40
7.1.90.0170.00615.36
7.1.80.0210.00515.42
7.1.70.0180.00315.30
7.1.60.0130.00715.45
7.1.50.0110.00815.32
7.1.40.0140.00715.39
7.1.30.0140.00715.44
7.1.20.0150.00715.27
7.1.10.0140.00715.38
7.1.00.0170.00515.44
7.0.330.0150.00415.23
7.0.320.0120.00814.98
7.0.310.0140.00815.03
7.0.300.0120.00814.94
7.0.290.0100.00815.04
7.0.280.0160.00715.16
7.0.270.0110.00815.12
7.0.260.0130.00715.16
7.0.250.0110.00815.05
7.0.240.0110.00815.23
7.0.230.0120.00815.18
7.0.220.0160.00515.19
7.0.210.0160.00615.16
7.0.200.0130.00515.13
7.0.190.0130.00915.14
7.0.180.0140.00515.11
7.0.170.0120.01015.31
7.0.160.0120.00815.15
7.0.150.0200.00915.26
7.0.140.0120.00915.22
7.0.130.0120.00815.10
7.0.120.0100.01115.04
7.0.110.0090.01015.16
7.0.100.0150.00615.17
7.0.90.0180.00515.12
7.0.80.0210.01015.22
7.0.70.0120.00815.21
7.0.60.0460.00914.94
7.0.50.0410.00415.02
7.0.40.0460.00614.97
7.0.30.0440.00515.01
7.0.20.0400.00715.07
7.0.10.0360.00614.95
7.0.00.0440.00515.07
5.6.400.0110.00915.93
5.6.390.0110.01016.02
5.6.380.0130.00815.78
5.6.370.0060.01415.85
5.6.360.0110.01115.97
5.6.350.0110.01015.85
5.6.340.0080.01015.83
5.6.330.0140.00915.82
5.6.320.0090.01415.67
5.6.310.0110.01015.81
5.6.300.0120.01115.86
5.6.290.0090.01315.80
5.6.280.0120.01115.90
5.6.270.0110.01115.92
5.6.260.0150.00715.83
5.6.250.0120.01115.79
5.6.240.0170.00515.95
5.6.230.0140.00715.94
5.6.220.0090.01415.75
5.6.210.0120.00915.68
5.6.200.0140.00715.75
5.6.190.0130.00815.69
5.6.180.0120.01015.68
5.6.170.0090.00915.72
5.6.160.0100.01115.76
5.6.150.0110.00915.80
5.6.140.0150.00715.81
5.6.130.0110.00815.82
5.6.120.0180.00215.82
5.6.110.0090.01115.83
5.6.100.0140.00815.66
5.6.90.0140.00915.73
5.6.80.0140.00915.62
5.6.70.0110.01115.69
5.6.60.0140.01015.72
5.6.50.0090.01115.59
5.6.40.0110.01115.72
5.6.30.0170.00615.77
5.6.20.0140.00815.62
5.6.10.0110.01115.58
5.6.00.0100.01115.73
5.5.380.0090.01415.88
5.5.370.0100.01215.89
5.5.360.0140.00915.83
5.5.350.0120.00615.02
5.5.340.0100.00915.06
5.5.330.0130.00815.15
5.5.320.0110.00915.04
5.5.310.0120.00615.06
5.5.300.0110.01115.00
5.5.290.0100.01015.08
5.5.280.0110.01015.10
5.5.270.0100.00815.02
5.5.260.0120.00914.95
5.5.250.0120.00814.95
5.5.240.0100.01215.01
5.5.230.0110.00715.09
5.5.220.0160.00714.95
5.5.210.0120.01015.14
5.5.200.0120.01115.03
5.5.190.0130.00715.13
5.5.180.0120.00815.00
5.5.170.0130.00615.61
5.5.160.0140.00914.92
5.5.150.0130.00915.00
5.5.140.0120.00814.95
5.5.130.0130.00814.83
5.5.120.0120.00714.99
5.5.110.0120.00814.96
5.5.100.0090.01014.82
5.5.90.0090.01115.02
5.5.80.0110.01015.09
5.5.70.0110.00814.99
5.5.60.0110.00915.01
5.5.50.0140.00814.93
5.5.40.0110.01015.02
5.5.30.0070.01215.00
5.5.20.0100.01114.90
5.5.10.0120.00714.90
5.5.00.0130.00814.96

preferences:
54.23 ms | 454 KiB | 5 Q