3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('page' => array('object' => '')); $ref = &$array['page']; //$array['page']['object'] = new stdObject(); $ref['object'] = new stdObject();

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.0140.00716.75
8.3.50.0150.00416.36
8.3.40.0070.00718.93
8.3.30.0070.00718.97
8.3.20.0040.00420.04
8.3.10.0050.00323.66
8.3.00.0040.00423.57
8.2.180.0110.00716.50
8.2.170.0120.00322.96
8.2.160.0100.00320.37
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00020.74
8.2.120.0070.00026.35
8.2.110.0050.00520.93
8.2.100.0000.01117.92
8.2.90.0040.00419.06
8.2.80.0080.00017.97
8.2.70.0090.00017.63
8.2.60.0060.00318.04
8.2.50.0040.00418.09
8.2.40.0000.00722.28
8.2.30.0050.00219.49
8.2.20.0040.00417.75
8.2.10.0000.00717.98
8.2.00.0070.00017.93
8.1.280.0140.00425.92
8.1.270.0050.00222.19
8.1.260.0040.00428.09
8.1.250.0060.00328.09
8.1.240.0030.00617.66
8.1.230.0080.00317.70
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0090.00017.35
8.1.180.0000.00718.10
8.1.170.0000.00818.29
8.1.160.0050.00220.69
8.1.150.0040.00420.56
8.1.140.0000.00819.46
8.1.130.0060.00317.64
8.1.120.0040.00417.38
8.1.110.0070.00017.30
8.1.100.0040.00417.36
8.1.90.0000.00717.38
8.1.80.0030.00517.29
8.1.70.0000.00717.29
8.1.60.0030.00617.53
8.1.50.0050.00317.48
8.1.40.0040.00417.55
8.1.30.0030.00517.64
8.1.20.0000.00717.53
8.1.10.0000.00717.60
8.1.00.0000.00717.43
8.0.300.0090.00018.77
8.0.290.0090.00016.75
8.0.280.0030.00318.34
8.0.270.0030.00317.11
8.0.260.0030.00317.07
8.0.250.0060.00316.99
8.0.240.0040.00416.95
8.0.230.0070.00016.98
8.0.220.0040.00416.86
8.0.210.0030.00316.93
8.0.200.0040.00416.84
8.0.190.0050.00316.99
8.0.180.0000.00716.88
8.0.170.0030.00516.96
8.0.160.0000.00817.00
8.0.150.0030.00316.81
8.0.140.0000.00716.86
8.0.130.0000.00513.39
8.0.120.0080.00016.75
8.0.110.0040.00416.84
8.0.100.0040.00416.91
8.0.90.0020.00516.68
8.0.80.0040.01116.88
8.0.70.0040.00416.84
8.0.60.0040.00417.00
8.0.50.0040.00416.75
8.0.30.0120.00617.07
8.0.20.0080.01017.40
8.0.10.0040.00416.98
8.0.00.0110.00516.71
7.4.330.0050.00016.89
7.4.320.0030.00316.54
7.4.300.0040.00416.58
7.4.290.0000.00716.49
7.4.280.0000.00716.43
7.4.270.0000.00716.52
7.4.260.0060.00316.48
7.4.250.0090.00016.47
7.4.240.0020.00516.61
7.4.230.0070.00016.57
7.4.220.0150.00316.52
7.4.210.0140.00016.42
7.4.200.0070.00016.53
7.4.160.0100.00716.50
7.4.150.0090.00917.40
7.4.140.0110.01017.86
7.4.130.0120.00916.59
7.4.120.0150.00716.48
7.4.110.0160.01016.48
7.4.100.0150.00616.65
7.4.90.0160.00016.57
7.4.80.0070.01119.39
7.4.70.0100.00716.55
7.4.60.0100.01316.66
7.4.50.0030.01416.40
7.4.40.0160.00816.49
7.4.30.0070.01516.48
7.4.00.0100.00715.08
7.3.330.0070.00013.20
7.3.320.0030.00313.21
7.3.310.0030.00516.32
7.3.300.0040.00416.24
7.3.290.0080.00716.32
7.3.280.0080.00916.31
7.3.270.0070.01017.40
7.3.260.0030.01416.23
7.3.250.0090.01016.31
7.3.240.0110.00616.33
7.3.230.0200.00016.46
7.3.210.0070.01016.54
7.3.200.0150.00319.39
7.3.190.0100.01016.43
7.3.180.0030.01716.38
7.3.170.0090.00916.27
7.3.160.0130.00316.41
7.3.120.0030.01315.10
7.3.110.0070.00714.44
7.3.100.0000.01414.91
7.3.90.0110.00014.91
7.3.80.0090.00614.79
7.3.70.0070.00714.89
7.3.60.0030.01214.83
7.3.50.0030.00614.76
7.3.40.0030.01414.71
7.3.30.0040.01114.79
7.3.20.0120.00616.73
7.3.10.0080.00616.76
7.3.00.0030.01016.56
7.2.330.0030.01316.29
7.2.320.0030.01716.53
7.2.310.0040.01216.59
7.2.300.0170.00016.34
7.2.290.0000.01616.57
7.2.250.0100.01014.95
7.2.240.0060.00914.90
7.2.230.0060.00915.19
7.2.220.0040.00714.72
7.2.210.0000.01015.04
7.2.200.0060.00914.91
7.2.190.0110.00415.03
7.2.180.0030.00814.80
7.2.170.0070.00714.99
7.2.130.0080.00316.62
7.2.120.0070.00716.63
7.2.110.0000.01016.93
7.2.100.0070.00716.86
7.2.90.0030.00716.82
7.2.80.0090.00616.91
7.2.70.0070.00716.66
7.2.60.0050.00616.89
7.2.50.0030.00917.03
7.2.40.0090.00616.75
7.2.30.0100.00316.87
7.2.20.0080.00416.52
7.2.10.0030.01416.61
7.2.00.0040.00918.12
7.1.330.0110.00315.78
7.1.320.0090.00915.86
7.1.310.0100.00315.56
7.1.300.0040.00815.66
7.1.290.0000.01615.83
7.1.280.0040.01215.70
7.1.270.0120.00615.43
7.1.260.0090.00315.72
7.1.250.0140.00015.80
7.1.200.0030.00915.67
7.1.100.0000.01318.02
7.1.70.0040.00417.10
7.1.60.0070.01819.40
7.1.50.0040.01116.93
7.1.00.0100.07022.54
7.0.200.0510.00314.52
7.0.60.0370.07319.95
7.0.50.0100.07717.66
7.0.40.0030.04319.98
7.0.30.0470.06720.04
7.0.20.0270.05020.13
7.0.10.0070.05720.12
7.0.00.0100.03720.12
5.6.210.0030.07720.68
5.6.200.0100.05018.22
5.6.190.0070.07320.21
5.6.180.0300.08320.39
5.6.170.0230.08320.62
5.6.160.0030.04320.54
5.6.150.0000.04018.13
5.6.140.0030.04318.09
5.6.130.0030.07718.14
5.6.120.0100.08021.11
5.6.110.0030.09320.91
5.6.100.0030.06721.12
5.6.90.0130.06720.96
5.6.80.0030.03720.48
5.5.350.0130.08020.44
5.5.340.0030.08317.91
5.5.330.0070.04320.21
5.5.320.0100.05320.20
5.5.310.0400.07020.13
5.5.300.0070.08017.96
5.5.290.0170.07017.95
5.5.280.0130.05720.86
5.5.270.0100.08020.75
5.5.260.0100.05320.85
5.5.250.0170.06720.68
5.5.240.0130.05320.25

preferences:
53.09 ms | 400 KiB | 5 Q