3v4l.org

run code in 300+ PHP versions simultaneously
<?php $object = new stdClass(); $array = array(); function process_array(array $param) { // Do nothing; } process_array($array); process_array($object);

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.01018.55
8.3.50.0150.00321.87
8.3.40.0120.00318.96
8.3.30.0030.01018.63
8.3.20.0050.00220.33
8.3.10.0070.00021.85
8.3.00.0040.00419.97
8.2.180.0130.00618.29
8.2.170.0070.00722.96
8.2.160.0100.00320.38
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00421.02
8.2.120.0000.00826.35
8.2.110.0060.00322.26
8.2.100.0080.00417.91
8.2.90.0030.00717.75
8.2.80.0040.00418.73
8.2.70.0040.00417.91
8.2.60.0050.00317.63
8.2.50.0040.00417.51
8.2.40.0040.00419.39
8.2.30.0030.00320.49
8.2.20.0050.00317.68
8.2.10.0040.00418.12
8.2.00.0040.00418.09
8.1.280.0120.00325.92
8.1.270.0060.00320.24
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0060.00323.64
8.1.230.0060.00621.04
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0060.00317.23
8.1.180.0030.00518.10
8.1.170.0040.00419.05
8.1.160.0050.00320.61
8.1.150.0040.00418.75
8.1.140.0030.00619.43
8.1.130.0000.00717.77
8.1.120.0000.00817.41
8.1.110.0000.01017.39
8.1.100.0070.00017.36
8.1.90.0080.00017.29
8.1.80.0050.00317.42
8.1.70.0070.00017.41
8.1.60.0000.00917.63
8.1.50.0000.00817.48
8.1.40.0040.00417.51
8.1.30.0040.00417.57
8.1.20.0000.00717.65
8.1.10.0060.00317.54
8.1.00.0000.00817.55
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.32
8.0.270.0070.00017.19
8.0.260.0000.00617.19
8.0.250.0030.00316.84
8.0.240.0030.00317.04
8.0.230.0070.00016.98
8.0.220.0070.00016.89
8.0.210.0030.00616.86
8.0.200.0000.00616.94
8.0.190.0000.00916.86
8.0.180.0000.00716.95
8.0.170.0070.00016.84
8.0.160.0000.00716.90
8.0.150.0030.00716.90
8.0.140.0030.00816.89
8.0.130.0030.00313.31
8.0.120.0080.00016.90
8.0.110.0070.00016.89
8.0.100.0070.00216.75
8.0.90.0000.00716.71
8.0.80.0090.01216.88
8.0.70.0040.00416.76
8.0.60.0080.00016.91
8.0.50.0000.00716.82
8.0.30.0090.01017.19
8.0.20.0110.00817.40
8.0.10.0050.00216.87
8.0.00.0060.01516.58
7.4.330.0000.00516.76
7.4.320.0060.00016.54
7.4.300.0000.00616.64
7.4.290.0030.00316.61
7.4.280.0090.00016.45
7.4.270.0070.00016.50
7.4.260.0080.00016.54
7.4.250.0000.00716.61
7.4.240.0020.00516.55
7.4.230.0000.00716.25
7.4.220.0120.01316.57
7.4.210.0060.01216.53
7.4.200.0020.00516.70
7.4.160.0040.01116.38
7.4.150.0070.01117.40
7.4.140.0090.01117.86
7.4.130.0110.01216.46
7.4.120.0100.00716.54
7.4.110.0120.00616.54
7.4.100.0130.01016.61
7.4.90.0090.00616.62
7.4.80.0100.00719.39
7.4.70.0090.00916.46
7.4.60.0060.01016.42
7.4.50.0050.00816.46
7.4.40.0110.00516.57
7.4.30.0070.01116.36
7.4.00.0100.00315.03
7.3.330.0070.00013.29
7.3.320.0060.00013.31
7.3.310.0030.00316.31
7.3.300.0070.00016.17
7.3.290.0060.01016.30
7.3.280.0090.00816.31
7.3.270.0090.00817.40
7.3.260.0030.01416.53
7.3.250.0080.01216.29
7.3.240.0030.01316.53
7.3.230.0070.01016.57
7.3.210.0130.00416.57
7.3.200.0100.00716.30
7.3.190.0080.00816.52
7.3.180.0090.00616.34
7.3.170.0140.00316.50
7.3.160.0140.00316.49
7.2.330.0060.01216.36
7.2.320.0080.01116.31
7.2.310.0130.00316.46
7.2.300.0100.00716.36
7.2.290.0080.01416.31
7.2.60.0030.01316.63
7.2.00.0130.00319.32
7.1.200.0070.00015.82
7.1.100.0030.00918.22
7.1.70.0050.00317.17
7.1.60.0070.01819.13
7.1.50.0060.01616.88
7.1.00.0100.07022.48
7.0.200.0030.00616.86
7.0.60.0070.05719.96
7.0.50.0100.07717.86
7.0.40.0130.06720.09
7.0.30.0230.04720.13
7.0.20.0330.07320.05
7.0.10.0100.05320.09
7.0.00.0100.03720.20
5.6.280.0030.05021.13
5.6.210.0000.04720.55
5.6.200.0030.08318.25
5.6.190.0100.08320.50
5.6.180.0200.05020.46
5.6.170.0330.06320.61
5.6.160.0130.06320.50
5.6.150.0100.07018.27
5.6.140.0030.08718.14
5.6.130.0170.04718.14
5.6.120.0000.04720.90
5.6.110.0100.04020.90
5.6.100.0070.07720.96
5.6.90.0030.07721.11
5.6.80.0030.07320.29
5.5.350.4230.04320.42
5.5.340.0030.04017.96
5.5.330.0130.08020.27
5.5.320.0170.04320.42
5.5.310.0330.06320.26
5.5.300.0100.07717.97
5.5.290.0130.07318.04
5.5.280.0100.07020.87
5.5.270.0170.07020.68
5.5.260.0030.04020.87
5.5.250.0030.07020.56
5.5.240.0130.08020.37

preferences:
57.49 ms | 401 KiB | 5 Q