3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ /** * [getData description] * @param array $data [description] * @param string $a [description] * @param int $b [description] * @param boolean $c [description] * @param float $d [description] * @return [type] [description] */ public function getData(array $data, string $a, int $b, float $f, double $d, boolean $c) {} } $a = new A(); $a->getData(["as"],"assasa",12345, 64.153454, 65.41, true);

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.01016.75
8.3.50.0110.00521.97
8.3.40.0040.01118.65
8.3.30.0080.00818.89
8.3.20.0050.00318.78
8.3.10.0040.00421.59
8.3.00.0050.00321.89
8.2.180.0000.01416.88
8.2.170.0100.00722.96
8.2.160.0130.00022.09
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0080.00022.13
8.2.120.0000.00726.35
8.2.110.0070.00322.26
8.2.100.0040.00717.72
8.2.90.0060.00317.75
8.2.80.0050.00317.97
8.2.70.0030.00517.91
8.2.60.0020.00519.14
8.2.50.0000.00818.10
8.2.40.0040.00420.55
8.2.30.0030.00521.07
8.2.20.0050.00217.99
8.2.10.0000.00717.92
8.2.00.0040.00417.67
8.1.280.0040.01125.92
8.1.270.0080.00023.97
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0090.00019.06
8.1.230.0110.00020.89
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0080.00017.23
8.1.190.0000.00817.22
8.1.180.0060.00318.10
8.1.170.0060.00318.32
8.1.160.0000.00722.16
8.1.150.0040.00418.75
8.1.140.0070.00019.43
8.1.130.0070.00017.40
8.1.120.0040.00417.34
8.1.110.0030.00517.28
8.1.100.0100.00017.36
8.1.90.0040.00417.36
8.1.80.0000.00817.43
8.1.70.0000.00717.46
8.1.60.0000.00817.60
8.1.50.0030.00617.54
8.1.40.0030.00617.55
8.1.30.0090.00017.66
8.1.20.0040.00417.57
8.1.10.0000.00717.59
8.1.00.0000.00917.38
8.0.300.0040.00419.85
8.0.290.0070.00016.75
8.0.280.0030.00318.34
8.0.270.0050.00317.22
8.0.260.0030.00316.75
8.0.250.0030.00317.01
8.0.240.0030.00516.83
8.0.230.0040.00416.96
8.0.220.0090.00016.90
8.0.210.0000.00716.74
8.0.200.0000.00616.90
8.0.190.0040.00416.96
8.0.180.0070.00016.90
8.0.170.0050.00316.90
8.0.160.0000.00816.80
8.0.150.0040.00416.86
8.0.140.0030.00516.79
8.0.130.0070.00013.30
8.0.120.0000.00716.93
8.0.110.0030.00316.73
8.0.100.0070.00016.95
8.0.90.0070.00016.70
8.0.80.0060.01016.79
8.0.70.0050.00216.79
8.0.60.0040.00416.96
8.0.50.0000.00716.88
8.0.30.0100.01017.18
8.0.20.0120.00917.40
8.0.10.0000.00716.84
8.0.00.0070.01416.59
7.4.330.0000.00515.55
7.4.320.0030.00316.56
7.4.300.0030.00316.52
7.4.290.0070.00016.65
7.4.280.0040.00416.54
7.4.270.0000.00716.53
7.4.260.0030.00316.59
7.4.250.0040.00416.56
7.4.240.0040.00416.53
7.4.230.0040.00416.32
7.4.220.0150.00616.36
7.4.210.0130.00616.47
7.4.200.0000.00716.59
7.4.160.0080.01116.52
7.4.150.0120.00417.40
7.4.140.0110.01217.86
7.4.130.0060.01116.56
7.4.120.0080.01116.57
7.4.110.0070.01716.36
7.4.100.0060.01216.60
7.4.90.0070.01016.50
7.4.80.0100.00719.39
7.4.70.0180.00316.56
7.4.60.0060.00916.50
7.4.50.0000.01416.57
7.4.40.0100.00716.54
7.4.30.0030.01316.76
7.4.00.0050.00914.97
7.3.330.0000.00513.38
7.3.320.0040.00413.19
7.3.310.0000.00716.33
7.3.300.0000.00716.35
7.3.290.0100.00816.37
7.3.280.0100.00916.37
7.3.270.0140.00317.40
7.3.260.0130.00516.54
7.3.250.0110.00816.36
7.3.240.0100.00616.31
7.3.230.0120.00616.39
7.3.210.0150.00916.45
7.3.200.0030.01216.37
7.3.190.0120.00416.54
7.3.180.0180.00016.56
7.3.170.0080.01216.31
7.3.160.0110.00616.48
7.3.120.0140.00714.78
7.3.110.0030.00915.05
7.3.100.0000.01614.99
7.3.90.0000.00914.87
7.3.80.0070.00714.60
7.3.70.0070.01014.96
7.3.60.0110.00414.55
7.3.50.0000.01414.49
7.3.40.0000.01314.91
7.3.30.0030.00914.66
7.3.20.0030.00916.80
7.3.10.0070.00716.36
7.3.00.0040.00716.48
7.2.330.0070.01116.46
7.2.320.0060.01216.36
7.2.310.0140.01016.64
7.2.300.0110.00816.54
7.2.290.0080.00816.68
7.2.250.0120.00314.82
7.2.240.0070.01315.10
7.2.230.0060.01015.09
7.2.220.0060.00614.97
7.2.210.0060.00614.93
7.2.200.0030.01014.89
7.2.190.0090.00614.77
7.2.180.0070.00714.97
7.2.170.0060.00914.84
7.2.60.0030.01316.86
7.2.50.0000.01116.72
7.1.330.0030.01015.64
7.1.320.0060.00615.50
7.1.310.0060.01015.68
7.1.300.0000.01315.58
7.1.290.0030.01015.42
7.1.280.0040.00715.68
7.1.270.0070.00715.49
7.1.260.0030.01015.35
7.1.200.0060.00615.48
7.1.70.0090.00317.02
7.1.60.0070.00417.19
7.1.50.0100.01316.85
7.1.00.0000.07722.50
7.0.200.0140.00414.77
7.0.120.0470.05320.25
7.0.110.0470.05320.32
7.0.100.0230.06320.32
7.0.90.0430.05720.31
7.0.80.0370.05720.25
7.0.70.0170.07020.23
7.0.60.0330.06020.22
7.0.50.0270.08320.33
7.0.40.0230.06020.41
7.0.30.0370.06020.25
7.0.20.0430.07720.29
7.0.10.0470.07320.32
7.0.00.0370.05720.19
5.6.270.0170.05021.06
5.6.260.0130.05720.85
5.6.250.0130.06720.88
5.6.240.0100.06321.04
5.6.230.0170.06321.10
5.6.220.0270.06321.04
5.6.210.0170.06020.95
5.6.200.0200.07720.86
5.6.190.0100.08321.04
5.6.180.0170.05320.80
5.6.170.0070.06020.86
5.6.160.0030.06720.95
5.6.150.0070.06320.76
5.6.140.0130.06020.95
5.6.130.0070.05720.99
5.6.120.0000.07020.75
5.6.110.0130.06721.02
5.6.100.0130.05721.00
5.6.90.0070.06320.79
5.6.80.0070.05720.32
5.6.70.0070.06320.23
5.6.60.0130.06020.38
5.6.50.0170.05320.25
5.6.40.0030.06320.30
5.6.30.0070.06320.37
5.6.20.0130.06020.39
5.6.10.0230.05020.30
5.6.00.0230.07320.40

preferences:
33.17 ms | 401 KiB | 5 Q