3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cl = new stdClass(); $cl->prop = 1; $a = new ArrayObject($cl); print_r($cl->getArrayCopy());

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.70.0070.01018.18
8.3.60.0130.00316.63
8.3.50.0230.00821.99
8.3.40.0140.00018.77
8.3.30.0150.00018.67
8.3.20.0080.00020.13
8.3.10.0000.00723.48
8.3.00.0040.00419.98
8.2.180.0150.00018.36
8.2.170.0140.00422.96
8.2.160.0040.01120.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0090.00019.32
8.2.120.0000.00826.35
8.2.110.0040.00422.26
8.2.100.0090.00317.80
8.2.90.0040.00419.22
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0070.00317.79
8.2.50.0000.00818.07
8.2.40.0040.00422.33
8.2.30.0040.00420.67
8.2.20.0050.00317.66
8.2.10.0040.00418.05
8.2.00.0000.00817.90
8.1.280.0120.00625.92
8.1.270.0130.00320.25
8.1.260.0060.00328.09
8.1.250.0070.00028.09
8.1.240.0060.00323.95
8.1.230.0070.00719.16
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.13
8.1.180.0000.00818.10
8.1.170.0030.00618.58
8.1.160.0070.00020.67
8.1.150.0040.00418.74
8.1.140.0030.00519.43
8.1.130.0030.00317.54
8.1.120.0070.00017.30
8.1.110.0100.00017.23
8.1.100.0050.00217.40
8.1.90.0000.00717.25
8.1.80.0040.00417.44
8.1.70.0000.00717.45
8.1.60.0000.00817.50
8.1.50.0040.00417.57
8.1.40.0000.00817.48
8.1.30.0040.00417.48
8.1.20.0050.00317.63
8.1.10.0030.00517.44
8.1.00.0000.00717.52
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0070.00018.37
8.0.270.0030.00317.20
8.0.260.0000.00717.10
8.0.250.0030.00516.93
8.0.240.0060.00016.82
8.0.230.0030.00516.99
8.0.220.0000.00816.81
8.0.210.0000.00716.82
8.0.200.0030.00316.96
8.0.190.0000.00716.96
8.0.180.0070.00016.91
8.0.170.0040.00416.94
8.0.160.0070.00016.88
8.0.150.0000.00716.93
8.0.140.0030.00616.74
8.0.130.0050.00513.34
8.0.120.0040.00416.75
8.0.110.0040.00416.78
8.0.100.0040.00416.83
8.0.90.0070.00016.90
8.0.80.0030.01416.93
8.0.70.0040.00416.77
8.0.60.0040.00416.86
8.0.50.0000.00716.90
8.0.30.0100.00917.03
8.0.20.0070.01217.40
8.0.10.0000.00716.83
8.0.00.0150.00916.74
7.4.330.0000.00516.81
7.4.320.0070.00016.42
7.4.300.0030.00316.64
7.4.290.0040.00416.51
7.4.280.0000.00816.39
7.4.270.0050.00316.59
7.4.260.0040.00416.59
7.4.250.0040.00416.51
7.4.240.0060.00216.56
7.4.230.0000.00716.63
7.4.220.0100.01016.61
7.4.210.0070.01016.62
7.4.200.0040.00416.39
7.4.160.0110.00416.39
7.4.150.0090.00917.40
7.4.140.0110.01217.86
7.4.130.0080.01216.58
7.4.120.0120.00516.51
7.4.110.0060.01216.46
7.4.100.0090.00616.58
7.4.90.0090.00916.36
7.4.80.0070.01619.39
7.4.70.0030.01416.47
7.4.60.0070.01016.36
7.4.50.0060.00616.20
7.4.40.0090.00616.36
7.4.30.0100.00716.45
7.4.00.0040.01214.95
7.3.330.0000.00512.99
7.3.320.0020.00213.14
7.3.310.0040.00416.14
7.3.300.0030.00316.25
7.3.290.0060.00816.23
7.3.280.0070.00916.27
7.3.270.0070.01017.40
7.3.260.0120.01516.33
7.3.250.0120.00616.36
7.3.240.0050.01316.40
7.3.230.0100.00716.46
7.3.210.0130.00316.48
7.3.200.0110.01216.22
7.3.190.0150.00316.28
7.3.180.0090.00616.49
7.3.170.0140.00516.41
7.3.160.0090.00616.41
7.3.120.0100.00614.80
7.3.110.0040.01114.52
7.3.100.0040.01114.62
7.3.90.0070.01114.85
7.3.80.0030.00614.87
7.3.70.0060.00314.71
7.3.60.0030.01014.79
7.3.50.0120.00614.66
7.3.40.0040.00414.86
7.3.30.0090.00314.98
7.3.20.0100.00316.69
7.3.10.0080.00416.66
7.3.00.0090.00616.42
7.2.330.0100.01016.56
7.2.320.0120.00616.37
7.2.310.0060.01016.44
7.2.300.0070.01016.53
7.2.290.0110.00716.60
7.2.240.0060.01215.13
7.2.230.0040.01514.88
7.2.220.0030.01014.87
7.2.210.0000.01214.95
7.2.200.0130.00014.82
7.2.190.0070.00714.91
7.2.180.0070.00714.91
7.2.170.0100.00015.12
7.2.160.0030.01214.98
7.2.150.0060.00616.63
7.2.140.0070.01016.70
7.2.130.0060.01017.08
7.2.120.0060.00916.87
7.2.110.0110.00316.72
7.2.100.0060.00616.88
7.2.90.0100.00017.08
7.2.80.0070.00616.92
7.2.70.0110.00316.92
7.2.60.0060.00816.80
7.2.50.0000.01316.56
7.2.40.0070.00716.62
7.2.30.0000.01516.82
7.2.20.0080.00317.00
7.2.10.0100.00716.89
7.2.00.0070.00718.05
7.1.330.0100.00615.87
7.1.320.0000.01315.46
7.1.310.0070.00415.87
7.1.300.0060.00815.28
7.1.290.0060.00315.63
7.1.280.0040.00815.89
7.1.270.0000.01215.74
7.1.260.0030.01215.77
7.1.250.0030.01315.45
7.1.200.0030.01015.68
7.1.100.0070.00418.33
7.1.70.0030.00617.21
7.1.60.0140.01119.52
7.1.50.0110.00016.74
7.1.00.0070.07322.35
7.0.200.0070.00316.82
7.0.60.0070.07719.89
7.0.50.0100.08317.88
7.0.40.0070.04320.21
7.0.30.0270.07320.30
7.0.20.0270.05320.30
7.0.10.0170.07720.13
7.0.00.0000.05320.18
5.6.280.0030.03021.06
5.6.210.0100.08320.52
5.6.200.0070.05018.13
5.6.190.0070.07020.34
5.6.180.0170.04720.57
5.6.170.0170.05020.40
5.6.160.0100.05320.48
5.6.150.0030.04018.13
5.6.140.0100.07718.14
5.6.130.0170.07718.07
5.6.120.0100.05020.94
5.6.110.0070.06721.01
5.6.100.0070.07020.98
5.6.90.0000.05320.98
5.6.80.0030.07020.50
5.5.350.0470.07020.42
5.5.340.0100.07717.93
5.5.330.0100.04020.57
5.5.320.0170.04320.51
5.5.310.0130.04320.23
5.5.300.0030.08317.91
5.5.290.0030.05318.02
5.5.280.0000.04320.77
5.5.270.0100.08020.64
5.5.260.0100.04020.88
5.5.250.0070.04020.58
5.5.240.0430.05320.13

preferences:
57.29 ms | 401 KiB | 5 Q