3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_param_data = new stdClass(); $_param_data->image = new stdClass(); $_param_data->testing = 'testing'; // Loop _param foreach ($_param_data as $_key => $_value) { if (!is_string($_key)) { continue; } }

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.0070.00716.75
8.3.50.0070.01122.10
8.3.40.0070.01118.54
8.3.30.0130.00319.13
8.3.20.0040.00420.20
8.3.10.0040.00421.77
8.3.00.0040.00419.26
8.2.180.0070.00716.63
8.2.170.0120.00922.96
8.2.160.0120.00320.34
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.36
8.2.110.0090.00019.45
8.2.100.0040.00717.63
8.2.90.0050.00219.23
8.2.80.0080.00017.97
8.2.70.0000.00917.38
8.2.60.0030.00517.67
8.2.50.0040.00418.07
8.2.40.0040.00417.97
8.2.30.0050.00217.94
8.2.20.0000.00717.68
8.2.10.0000.00818.16
8.2.00.0060.00317.64
8.1.280.0030.01425.92
8.1.270.0030.00620.61
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.21
8.1.230.0080.00317.64
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0090.00017.35
8.1.190.0000.00817.36
8.1.180.0030.00618.10
8.1.170.0030.00620.14
8.1.160.0000.00721.97
8.1.150.0070.00018.88
8.1.140.0040.00417.52
8.1.130.0000.00717.70
8.1.120.0000.00717.37
8.1.110.0040.00417.46
8.1.100.0040.00417.36
8.1.90.0030.00317.36
8.1.80.0040.00417.39
8.1.70.0000.00817.33
8.1.60.0000.00917.55
8.1.50.0040.00417.55
8.1.40.0120.00017.48
8.1.30.0030.00517.70
8.1.20.0000.00717.57
8.1.10.0040.00417.46
8.1.00.0060.00617.49
8.0.300.0070.00018.77
8.0.290.0030.00316.75
8.0.280.0040.00418.36
8.0.270.0000.00717.21
8.0.260.0000.00617.28
8.0.250.0040.00416.86
8.0.240.0070.00016.98
8.0.230.0000.00716.91
8.0.220.0070.00016.80
8.0.210.0000.00716.78
8.0.200.0000.00616.87
8.0.190.0000.00716.97
8.0.180.0030.00616.80
8.0.170.0040.00416.92
8.0.160.0030.00316.83
8.0.150.0000.00716.77
8.0.140.0070.00016.75
8.0.130.0030.00313.32
8.0.120.0000.00716.87
8.0.110.0000.00816.91
8.0.100.0000.00716.84
8.0.90.0040.00416.93
8.0.80.0070.01516.78
8.0.70.0040.00416.77
8.0.60.0000.00716.74
8.0.50.0050.00316.92
8.0.30.0150.00917.12
8.0.20.0220.00517.40
8.0.10.0040.00417.06
8.0.00.0110.00816.70
7.4.330.0000.00515.16
7.4.320.0000.00816.53
7.4.300.0000.00616.61
7.4.290.0070.00316.49
7.4.280.0040.00416.60
7.4.270.0030.00316.61
7.4.260.0020.00516.49
7.4.250.0040.00416.54
7.4.240.0020.00516.56
7.4.230.0000.00716.67
7.4.220.0120.00616.61
7.4.210.0090.00516.49
7.4.200.0040.00416.54
7.4.160.0060.00916.77
7.4.150.0120.00617.40
7.4.140.0140.00717.86
7.4.130.0110.01016.42
7.4.120.0070.00916.44
7.4.110.0120.00616.34
7.4.100.0130.00416.61
7.4.90.0130.01016.63
7.4.80.0100.01019.39
7.4.70.0140.00316.68
7.4.60.0120.01116.55
7.4.50.0000.00816.35
7.4.40.0060.01316.61
7.4.30.0090.01216.71
7.4.00.0000.00814.72
7.3.330.0000.00513.18
7.3.320.0070.00713.11
7.3.310.0040.00416.35
7.3.300.0040.00416.24
7.3.290.0030.00316.25
7.3.280.0050.01216.27
7.3.270.0140.00617.40
7.3.260.0140.00316.26
7.3.250.0100.00616.47
7.3.240.0040.01316.56
7.3.230.0120.00616.45
7.3.210.0080.00816.36
7.3.200.0170.00719.39
7.3.190.0000.01716.52
7.3.180.0160.00016.31
7.3.170.0120.00916.57
7.3.160.0100.00616.75
7.2.330.0090.01516.67
7.2.320.0090.00616.66
7.2.310.0120.00616.39
7.2.300.0140.00316.66
7.2.290.0060.01616.71
7.2.60.0030.01017.06
7.2.00.0000.01819.50
7.1.200.0070.00715.68
7.1.100.0040.01218.16
7.1.70.0090.00017.16
7.1.60.0110.01419.50
7.1.50.0030.01316.78
7.1.00.0070.07322.33
7.0.200.0160.00316.64
7.0.140.0030.07322.18
7.0.60.0100.03319.93
7.0.50.0100.07317.89
7.0.40.0170.04320.04
7.0.30.0300.07320.11
7.0.20.0370.08020.00
7.0.10.0070.04320.30
7.0.00.0170.07020.04
5.6.280.0030.07321.10
5.6.210.0030.08720.52
5.6.200.0100.07018.16
5.6.190.0100.04320.39
5.6.180.0000.06720.57
5.6.170.0330.07720.71
5.6.160.0130.05720.42
5.6.150.0030.06018.22
5.6.140.0070.05718.20
5.6.130.0030.09018.15
5.6.120.0130.07721.00
5.6.110.0100.08021.00
5.6.100.0070.08321.10
5.6.90.0070.05020.96
5.6.80.0070.07720.37
5.5.350.2200.04020.32
5.5.340.0030.08317.91
5.5.330.0100.08320.22
5.5.320.0270.07720.32
5.5.310.0370.05720.36
5.5.300.0000.06017.98
5.5.290.0030.05317.91
5.5.280.0030.06720.85
5.5.270.0070.04020.79
5.5.260.0170.06720.71
5.5.250.0030.08320.69
5.5.240.0200.07020.19
5.4.450.0100.05719.60
5.4.440.0900.05019.29
5.4.430.0900.05319.57
5.4.420.0700.07019.44
5.4.410.0400.06319.34
5.4.400.0170.06318.69
5.4.390.0270.06018.71
5.4.380.0230.06018.74
5.4.370.0370.05718.63
5.4.360.0270.06018.50
5.4.350.0270.05718.72
5.4.340.0230.05318.53
5.4.320.0300.05018.55
5.4.310.0230.05718.50
5.4.300.0200.05718.52
5.4.290.0230.05718.58
5.4.280.0330.07018.68
5.4.270.0330.07018.73
5.4.260.0270.07318.50
5.4.250.0270.05718.72
5.4.240.0270.06718.58
5.4.230.0200.05718.55
5.4.220.0200.05318.60
5.4.210.0270.04718.66
5.4.200.0300.04316.56
5.4.190.0200.06018.68
5.4.180.0170.06018.66
5.4.170.0270.05718.47
5.4.160.0330.04318.65
5.4.150.0170.06018.56
5.4.140.0230.04716.16
5.4.130.0200.05316.17
5.4.120.0270.04316.22
5.4.110.0200.05016.18
5.4.100.0230.05716.09
5.4.90.0230.05016.04
5.4.80.0200.05716.15
5.4.70.0230.05016.29
5.4.60.0300.06716.10
5.4.50.0230.05716.32
5.4.40.0100.06716.22
5.4.30.0330.05716.30
5.4.20.0230.05715.98
5.4.10.0230.05016.23
5.4.00.0130.06015.70
5.3.290.0230.05714.64
5.3.280.0170.06314.60
5.3.270.0300.05014.54
5.3.260.0270.05014.70
5.3.250.0370.05014.59
5.3.240.0230.06014.68
5.3.230.0300.04714.49
5.3.220.0200.06014.57
5.3.210.0230.05314.52
5.3.200.0230.05014.55
5.3.190.0270.05014.57
5.3.180.0230.05014.53
5.3.170.0200.05314.54
5.3.160.0270.04714.49
5.3.150.0170.05714.47
5.3.140.0230.05014.52
5.3.130.0270.06314.59
5.3.120.0200.06314.54
5.3.110.0370.05714.54
5.3.100.0370.04314.05
5.3.90.0330.05714.07
5.3.80.0270.04713.91
5.3.70.0170.05714.12
5.3.60.0230.05313.98
5.3.50.0330.03713.84
5.3.40.0300.04013.88
5.3.30.0200.05013.84
5.3.20.0130.06313.66
5.3.10.0100.06313.64
5.3.00.0230.06313.60
5.2.170.0130.04311.05
5.2.160.0270.03311.05
5.2.150.0130.04711.30
5.2.140.0100.05011.14
5.2.130.0200.03711.15
5.2.120.0170.04311.15
5.2.110.0330.04311.14
5.2.100.0230.03711.03
5.2.90.0270.03011.07
5.2.80.0130.05311.03
5.2.70.0200.04011.08
5.2.60.0170.04011.10
5.2.50.0130.04711.07
5.2.40.0100.04310.92
5.2.30.0230.05010.94
5.2.20.0270.04010.87
5.2.10.0200.04310.84
5.2.00.0130.05010.85
5.1.60.0230.0279.97
5.1.50.0170.04710.02
5.1.40.0230.04310.11
5.1.30.0230.04710.37
5.1.20.0200.04710.39
5.1.10.0230.03310.14
5.1.00.0100.04310.10
5.0.50.0030.0378.61
5.0.40.0200.0238.52
5.0.30.0070.0478.20
5.0.20.0200.0278.30
5.0.10.0100.0308.26
5.0.00.0230.0378.19
4.4.90.0070.0337.05
4.4.80.0030.0307.05
4.4.70.0100.0207.05
4.4.60.0130.0207.05
4.4.50.0070.0307.05
4.4.40.0100.0337.05
4.4.30.0070.0277.05
4.4.20.0100.0237.05
4.4.10.0170.0177.05
4.4.00.0170.0407.05
4.3.110.0100.0307.05
4.3.100.0170.0277.05
4.3.90.0100.0307.05
4.3.80.0070.0377.05
4.3.70.0100.0207.05
4.3.60.0130.0207.05
4.3.50.0000.0307.05
4.3.40.0100.0377.05
4.3.30.0030.0237.05
4.3.20.0070.0237.05
4.3.10.0000.0337.05
4.3.00.0030.0207.00

preferences:
36.69 ms | 401 KiB | 5 Q