3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ('1' => (object)array( 'id' => 225, 'user_id' => 1, 'name' => 'Blue Quilted Leather Jacket by Minusey - $499' ), '2' => (object)array( 'id' => 222, 'user_id' => 1, 'name' => 'Darling New Bathtub by Duravit - $6300' ), '3' => (object)array( 'id' => 222, 'user_id' => 1, 'name' => 'Darling New Bathtub by Duravit - $6300' ) ); print_r($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.0110.00722.11
8.3.40.0150.00418.88
8.3.30.0140.00018.92
8.3.20.0000.00720.21
8.3.10.0040.00421.81
8.3.00.0080.00017.89
8.2.180.0090.00618.54
8.2.170.0040.01122.96
8.2.160.0100.00320.58
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00821.04
8.2.110.0090.00022.30
8.2.100.0060.00617.91
8.2.90.0080.00019.23
8.2.80.0050.00317.97
8.2.70.0000.00817.59
8.2.60.0000.00918.04
8.2.50.0000.00818.07
8.2.40.0000.00818.22
8.2.30.0050.00218.31
8.2.20.0000.00717.72
8.2.10.0040.00418.05
8.2.00.0040.00417.78
8.1.280.0150.00625.92
8.1.270.0060.00323.92
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0090.00023.83
8.1.230.0110.00019.01
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.22
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0060.00318.57
8.1.160.0040.00421.82
8.1.150.0000.00718.75
8.1.140.0040.00417.38
8.1.130.0070.00017.30
8.1.120.0000.00717.30
8.1.110.0040.00417.38
8.1.100.0040.00417.28
8.1.90.0000.00717.38
8.1.80.0000.00717.37
8.1.70.0000.00717.35
8.1.60.0000.00817.50
8.1.50.0080.00017.47
8.1.40.0020.00517.42
8.1.30.0060.00317.44
8.1.20.0040.00417.65
8.1.10.0000.00917.52
8.1.00.0070.00017.37
8.0.300.0050.00218.77
8.0.290.0000.00716.88
8.0.280.0070.00018.28
8.0.270.0000.00917.25
8.0.260.0000.00716.81
8.0.250.0030.00316.99
8.0.240.0000.00716.79
8.0.230.0000.00716.84
8.0.220.0000.00716.80
8.0.210.0000.00816.87
8.0.200.0000.00616.93
8.0.190.0000.00716.81
8.0.180.0030.00416.80
8.0.170.0040.00416.82
8.0.160.0000.00717.01
8.0.150.0070.00016.68
8.0.140.0020.00516.72
8.0.130.0050.00013.35
8.0.120.0040.00416.84
8.0.110.0000.00816.97
8.0.100.0000.00816.84
8.0.90.0070.00016.87
8.0.80.0030.01216.83
8.0.70.0050.00216.88
8.0.60.0000.00816.89
8.0.50.0050.00216.90
8.0.30.0110.01316.82
8.0.20.0140.01217.40
8.0.10.0000.00717.00
8.0.00.0080.01016.65
7.4.330.0050.00015.00
7.4.320.0000.00716.48
7.4.300.0050.00216.42
7.4.290.0000.00816.52
7.4.280.0070.00316.52
7.4.270.0070.00016.57
7.4.260.0040.00416.42
7.4.250.0030.00316.49
7.4.240.0020.00516.47
7.4.230.0040.00416.64
7.4.220.0030.01616.44
7.4.210.0130.00016.38
7.4.200.0070.00016.62
7.4.160.0060.01016.55
7.4.150.0100.00717.40
7.4.140.0070.01417.86
7.4.130.0040.01516.46
7.4.120.0110.00516.48
7.4.110.0030.01416.52
7.4.100.0070.01316.53
7.4.90.0100.00616.43
7.4.80.0140.00319.39
7.4.70.0060.00916.66
7.4.60.0100.00716.38
7.4.50.0040.00416.44
7.4.40.0170.00316.45
7.4.30.0040.01216.51
7.4.00.0070.01015.05
7.3.330.0060.00013.02
7.3.320.0000.00512.95
7.3.310.0000.00716.23
7.3.300.0030.00316.15
7.3.290.0070.00716.29
7.3.280.0090.01016.25
7.3.270.0100.00917.40
7.3.260.0070.01316.52
7.3.250.0100.00916.31
7.3.240.0140.01016.22
7.3.230.0060.01016.39
7.3.210.0090.00916.20
7.3.200.0070.01019.39
7.3.190.0160.00616.59
7.3.180.0030.01316.41
7.3.170.0120.00816.27
7.3.160.0000.01416.23
7.3.120.0110.00714.90
7.2.330.0030.01316.54
7.2.320.0100.00716.54
7.2.310.0060.01016.50
7.2.300.0160.00616.58
7.2.290.0140.00816.69
7.2.00.0060.00918.57
7.1.100.0080.00517.97
7.1.70.0040.00416.79
7.1.60.0090.01219.25
7.1.50.0120.00916.66
7.1.00.0130.06722.45
7.0.200.0100.00316.48
7.0.140.0100.07022.18
7.0.60.0130.07019.84
7.0.50.0070.03717.87
7.0.40.0130.03720.42
7.0.30.0230.08020.25
7.0.20.0330.06320.30
7.0.10.0030.05020.33
7.0.00.0070.07020.32
5.6.280.0030.07021.15
5.6.210.0000.04320.69
5.6.200.0030.06718.12
5.6.190.0100.04320.49
5.6.180.0200.04320.47
5.6.170.0230.05720.51
5.6.160.0030.08720.44
5.6.150.0030.07318.14
5.6.140.0130.07318.13
5.6.130.0170.05718.18
5.6.120.0170.07321.13
5.6.110.0130.08020.97
5.6.100.0070.03721.02
5.6.90.0130.06020.87
5.6.80.0100.03720.34
5.5.350.0330.06320.49
5.5.340.0030.04017.95
5.5.330.0030.04720.56
5.5.320.0270.03320.32
5.5.310.0330.07320.34
5.5.300.0070.08018.04
5.5.290.0070.03718.08
5.5.280.0070.08320.89
5.5.270.0070.08320.95
5.5.260.0070.04720.83
5.5.250.0030.05020.58
5.5.240.0030.06720.15
5.4.450.0730.05719.48
5.4.440.0130.06019.58
5.4.430.0270.04319.47
5.4.420.0330.03719.46
5.4.410.0070.05719.02
5.4.400.0300.05318.75
5.4.390.0400.04718.85
5.4.380.0230.05018.63
5.4.370.0070.05318.68
5.4.360.0130.04318.76
5.4.350.0070.03512.00
5.4.340.0070.03512.00
5.4.320.0080.04112.48
5.4.310.0060.03912.48
5.4.300.0080.04912.48
5.4.290.0090.03612.48
5.4.280.0070.04012.38
5.4.270.0070.03512.38
5.4.260.0060.03812.38
5.4.250.0040.04012.38
5.4.240.0070.03912.38
5.4.230.0070.03712.37
5.4.220.0060.04412.37
5.4.210.0080.03512.37
5.4.200.0060.03812.37
5.4.190.0080.04012.37
5.4.180.0060.03712.36
5.4.170.0060.03612.38
5.4.160.0080.03412.38
5.4.150.0060.03712.37
5.4.140.0050.04012.05
5.4.130.0030.03812.04
5.4.120.0040.03712.00
5.4.110.0080.04611.99
5.4.100.0080.03412.00
5.4.90.0090.03511.99
5.4.80.0080.03511.99
5.4.70.0070.03511.98
5.4.60.0060.03511.99
5.4.50.0060.03511.99
5.4.40.0100.03111.97
5.4.30.0060.03911.97
5.4.20.0040.03711.98
5.4.10.0050.04211.98
5.4.00.0050.03811.47
5.3.290.0040.04512.80
5.3.280.0080.03712.71
5.3.270.0070.03912.73
5.3.260.0050.04112.72
5.3.250.0060.04012.72
5.3.240.0060.03712.71
5.3.230.0050.03912.70
5.3.220.0070.03612.68
5.3.210.0050.04112.68
5.3.200.0060.03712.68
5.3.190.0110.03312.67
5.3.180.0070.03612.67
5.3.170.0090.03412.66
5.3.160.0050.03812.68
5.3.150.0060.03812.68
5.3.140.0100.03312.66
5.3.130.0070.03712.66
5.3.120.0080.03712.66
5.3.110.0090.03712.66
5.3.100.0070.03712.12
5.3.90.0090.03512.09
5.3.80.0090.03412.08
5.3.70.0080.03412.08
5.3.60.0090.03512.07
5.3.50.0050.03912.01
5.3.40.0150.03912.01
5.3.30.0070.03411.97
5.3.20.0060.03611.75
5.3.10.0050.03711.72
5.3.00.0090.03611.71
5.2.170.0050.0339.20
5.2.160.0050.0309.21
5.2.150.0050.0389.21
5.2.140.0050.0349.20
5.2.130.0050.0299.16
5.2.120.0110.0349.16
5.2.110.0050.0299.17
5.2.100.0070.0279.16
5.2.90.0040.0309.16
5.2.80.0050.0309.16
5.2.70.0030.0339.16
5.2.60.0040.0319.11
5.2.50.0080.0389.09
5.2.40.0060.0319.06
5.2.30.0090.0269.04
5.2.20.0070.0359.03
5.2.10.0030.0328.93
5.2.00.0050.0308.80
5.1.60.0050.0248.08
5.1.50.0030.0338.07
5.1.40.0060.0238.05
5.1.30.0060.0248.41
5.1.20.0040.0278.43
5.1.10.0050.0258.15
5.1.00.0090.0218.15
5.0.50.0070.0176.63
5.0.40.0040.0196.49
5.0.30.0070.0286.30
5.0.20.0040.0196.27
5.0.10.0050.0196.25
5.0.00.0080.0376.25
4.4.90.0040.0154.78
4.4.80.0020.0164.75
4.4.70.0040.0144.76
4.4.60.0030.0154.76
4.4.50.0050.0144.77
4.4.40.0010.0274.70
4.4.30.0030.0204.76
4.4.20.0030.0164.85
4.4.10.0020.0174.84
4.4.00.0050.0234.76
4.3.110.0060.0134.67
4.3.100.0040.0154.67
4.3.90.0070.0114.64
4.3.80.0040.0244.58
4.3.70.0010.0164.63
4.3.60.0020.0184.62
4.3.50.0050.0204.63
4.3.40.0060.0334.53
4.3.30.0030.0223.29
4.3.20.0020.0173.27
4.3.10.0060.0193.23
4.3.00.0130.0207.21

preferences:
39.68 ms | 401 KiB | 5 Q