3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = (object)array ('1' => array( 'id' => 225, 'user_id' => 1, 'name' => 'Blue Quilted Leather Jacket by Minusey - $499' ), '2' => array( 'id' => 222, 'user_id' => 1, 'name' => 'Darling New Bathtub by Duravit - $6300' ), '3' => array( 'id' => 222, 'user_id' => 1, 'name' => 'Darling New Bathtub by Duravit - $6300' ) ); print_r((object)$array);

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.60.0100.00716.50
8.3.50.0120.00721.99
8.3.40.0140.00718.84
8.3.30.0110.00318.92
8.3.20.0000.00720.33
8.3.10.0070.00021.85
8.3.00.0050.00317.80
8.2.180.0120.00316.50
8.2.170.0140.00022.96
8.2.160.0100.00320.25
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00320.95
8.2.110.0060.00322.24
8.2.100.0120.00017.91
8.2.90.0090.00019.06
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0000.00817.93
8.2.50.0000.00918.07
8.2.40.0040.00418.22
8.2.30.0000.00718.13
8.2.20.0000.00817.56
8.2.10.0040.00417.99
8.2.00.0000.00817.64
8.1.280.0040.01425.92
8.1.270.0090.00623.79
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0110.00019.16
8.1.220.0000.00717.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0030.00517.22
8.1.180.0040.00418.10
8.1.170.0060.00318.58
8.1.160.0030.00621.94
8.1.150.0050.00318.71
8.1.140.0000.00817.44
8.1.130.0000.00717.81
8.1.120.0050.00317.29
8.1.110.0080.00017.46
8.1.100.0040.00317.29
8.1.90.0000.00817.42
8.1.80.0070.00017.40
8.1.70.0060.00017.39
8.1.60.0040.00417.53
8.1.50.0000.00817.53
8.1.40.0000.00817.50
8.1.30.0040.00417.55
8.1.20.0030.00517.66
8.1.10.0070.00017.37
8.1.00.0000.00717.43
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.31
8.0.270.0080.00017.24
8.0.260.0040.00417.11
8.0.250.0030.00316.90
8.0.240.0000.00816.97
8.0.230.0030.00316.94
8.0.220.0000.00716.84
8.0.210.0040.00416.88
8.0.200.0060.00016.96
8.0.190.0000.00816.95
8.0.180.0000.00816.89
8.0.170.0000.00716.91
8.0.160.0070.00016.85
8.0.150.0000.00716.86
8.0.140.0040.00416.84
8.0.130.0030.00313.21
8.0.120.0050.00316.85
8.0.110.0000.00816.89
8.0.100.0040.00416.92
8.0.90.0040.00416.79
8.0.80.0000.01416.93
8.0.70.0040.00416.88
8.0.60.0030.00516.85
8.0.50.0000.00716.83
8.0.30.0210.00716.85
8.0.20.0130.00617.40
8.0.10.0000.00816.86
8.0.00.0100.00616.76
7.4.330.0050.00015.16
7.4.320.0030.00316.50
7.4.300.0030.00316.48
7.4.290.0050.00316.45
7.4.280.0000.01016.57
7.4.270.0000.00716.59
7.4.260.0040.00416.40
7.4.250.0030.00316.49
7.4.240.0020.00516.61
7.4.230.0000.00716.66
7.4.220.0030.01516.59
7.4.210.0080.00516.50
7.4.200.0000.00716.38
7.4.160.0040.01216.49
7.4.150.0060.01217.40
7.4.140.0070.00917.86
7.4.130.0070.01016.43
7.4.120.0100.00716.38
7.4.110.0160.00616.53
7.4.100.0140.00716.58
7.4.90.0220.00016.59
7.4.80.0030.01319.39
7.4.70.0030.01216.46
7.4.60.0130.00316.42
7.4.50.0000.00816.28
7.4.40.0080.00816.41
7.4.30.0120.00316.43
7.4.00.0070.01014.85
7.3.330.0000.00513.16
7.3.320.0020.00213.14
7.3.310.0040.00416.19
7.3.300.0040.00316.34
7.3.290.0070.00716.25
7.3.280.0070.00916.30
7.3.270.0060.01317.40
7.3.260.0100.01116.25
7.3.250.0070.01116.34
7.3.240.0090.01516.26
7.3.230.0120.00616.54
7.3.210.0100.00716.43
7.3.200.0070.01619.39
7.3.190.0090.01516.42
7.3.180.0070.01016.25
7.3.170.0030.01716.27
7.3.160.0080.00816.25
7.3.120.0000.01114.96
7.2.330.0000.01716.64
7.2.320.0150.00316.47
7.2.310.0080.00816.29
7.2.300.0030.01416.50
7.2.290.0100.00716.47
7.2.00.0070.01519.13
7.1.100.0000.00817.98
7.1.70.0000.00717.21
7.1.60.0080.00819.25
7.1.50.0080.01216.94
7.1.00.0000.07722.45
7.0.200.0040.00416.41
7.0.140.0070.06022.18
7.0.60.0100.07019.93
7.0.50.0070.04017.88
7.0.40.0100.07720.11
7.0.30.0330.07320.23
7.0.20.0300.04020.23
7.0.10.0070.08320.24
7.0.00.0070.07720.07
5.6.280.0030.07321.08
5.6.210.0000.04320.62
5.6.200.0070.08018.29
5.6.190.0100.04320.66
5.6.180.0200.04320.47
5.6.170.0100.05020.57
5.6.160.0100.08020.52
5.6.150.0030.08718.15
5.6.140.0100.07718.16
5.6.130.0070.08018.16
5.6.120.0130.06721.01
5.6.110.0100.07321.03
5.6.100.0000.04321.02
5.6.90.0100.08021.11
5.6.80.0070.06720.53
5.5.350.0130.08320.33
5.5.340.0000.04318.09
5.5.330.0070.08720.56
5.5.320.0330.06020.32
5.5.310.0270.09020.30
5.5.300.0070.05018.08
5.5.290.0030.04317.95
5.5.280.0070.05320.87
5.5.270.0030.05320.72
5.5.260.0100.05020.62
5.5.250.0100.05320.69
5.5.240.0070.07320.23
5.4.450.0800.07019.61
5.4.440.0130.06019.20
5.4.430.0330.05319.46
5.4.420.0200.05019.47
5.4.410.0000.06018.90
5.4.400.0200.04318.77
5.4.390.0370.04718.80
5.4.380.0270.04718.59
5.4.370.0030.04718.55
5.4.360.0130.03018.80
5.4.350.0020.04112.00
5.4.340.0050.03912.00
5.4.320.0070.04312.48
5.4.310.0120.04812.48
5.4.300.0100.03312.48
5.4.290.0050.04512.48
5.4.280.0050.04212.38
5.4.270.0070.03612.38
5.4.260.0070.04912.38
5.4.250.0100.04412.38
5.4.240.0040.03912.38
5.4.230.0070.03712.37
5.4.220.0070.03612.37
5.4.210.0070.03512.37
5.4.200.0080.04512.37
5.4.190.0050.04312.36
5.4.180.0080.03612.37
5.4.170.0060.03812.38
5.4.160.0060.03812.37
5.4.150.0110.03812.37
5.4.140.0050.04012.05
5.4.130.0120.04412.04
5.4.120.0050.04512.00
5.4.110.0070.03712.00
5.4.100.0060.03612.00
5.4.90.0070.04111.99
5.4.80.0030.04111.99
5.4.70.0090.03311.99
5.4.60.0080.03511.98
5.4.50.0100.03311.99
5.4.40.0080.03311.97
5.4.30.0080.03411.97
5.4.20.0070.03611.98
5.4.10.0090.03311.98
5.4.00.0100.03911.47
5.3.290.0070.03912.80
5.3.280.0090.03512.71
5.3.270.0080.03812.72
5.3.260.0080.03812.72
5.3.250.0070.03712.72
5.3.240.0060.03812.72
5.3.230.0050.03912.71
5.3.220.0050.03812.68
5.3.210.0050.04612.68
5.3.200.0060.03812.68
5.3.190.0070.03812.68
5.3.180.0120.03212.68
5.3.170.0070.03712.67
5.3.160.0050.03912.68
5.3.150.0100.03512.67
5.3.140.0050.04012.66
5.3.130.0090.03712.66
5.3.120.0090.03712.66
5.3.110.0060.03812.66
5.3.100.0080.03612.12
5.3.90.0090.03512.09
5.3.80.0090.03512.09
5.3.70.0120.03212.08
5.3.60.0060.03712.07
5.3.50.0090.03412.01
5.3.40.0080.04012.01
5.3.30.0060.03611.97
5.3.20.0070.03611.75
5.3.10.0070.03411.71
5.3.00.0120.03811.70
5.2.170.0080.0299.20
5.2.160.0020.0339.20
5.2.150.0010.0349.20
5.2.140.0040.0319.20
5.2.130.0030.0319.16
5.2.120.0030.0309.16
5.2.110.0060.0289.17
5.2.100.0090.0259.16
5.2.90.0080.0269.17
5.2.80.0070.0319.16
5.2.70.0040.0339.16
5.2.60.0040.0379.12
5.2.50.0070.0299.08
5.2.40.0080.0269.06
5.2.30.0050.0309.04
5.2.20.0080.0269.03
5.2.10.0070.0268.93
5.2.00.0030.0318.79
5.1.60.0070.0218.08
5.1.50.0040.0318.07
5.1.40.0050.0248.05
5.1.30.0050.0378.41
5.1.20.0080.0338.43
5.1.10.0100.0348.15
5.1.00.0050.0368.15
5.0.50.0020.0226.63
5.0.40.0080.0246.48
5.0.30.0060.0306.30
5.0.20.0050.0206.27
5.0.10.0050.0186.25
5.0.00.0030.0326.24
4.4.90.0010.0174.78
4.4.80.0030.0154.75
4.4.70.0020.0164.76
4.4.60.0050.0144.76
4.4.50.0040.0154.77
4.4.40.0030.0254.71
4.4.30.0040.0144.76
4.4.20.0050.0144.85
4.4.10.0030.0164.85
4.4.00.0040.0244.76
4.3.110.0020.0184.67
4.3.100.0040.0144.66
4.3.90.0040.0134.63
4.3.80.0030.0254.59
4.3.70.0050.0144.63
4.3.60.0020.0164.63
4.3.50.0020.0174.63
4.3.40.0020.0264.54
4.3.30.0030.0153.29
4.3.20.0000.0183.27
4.3.10.0020.0163.23
4.3.00.0100.0237.21

preferences:
41.65 ms | 400 KiB | 5 Q