3v4l.org

run code in 300+ PHP versions simultaneously
<?php function save($args) { $args = $args + array( 'fID' => 0, 'fOnstateID' => 0, 'maxWidth' => 0, 'maxHeight' => 0, 'constrainImage' => 0, 'linkType' => 0, 'externalLink' => '', 'internalLinkCID' => 0, ); var_dump($args); } save(array()); save(null);

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.60
8.3.50.0120.01021.12
8.3.40.0090.00618.84
8.3.30.0140.00018.73
8.3.20.0070.00020.13
8.3.10.0080.00023.65
8.3.00.0080.00023.55
8.2.180.0130.00918.19
8.2.170.0110.00722.96
8.2.160.0110.00420.57
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0000.00819.83
8.2.120.0070.00026.35
8.2.110.0100.00021.18
8.2.100.0120.00017.91
8.2.90.0000.00919.07
8.2.80.0030.00618.05
8.2.70.0080.00017.50
8.2.60.0030.00517.80
8.2.50.0080.00018.07
8.2.40.0070.00322.27
8.2.30.0000.00719.39
8.2.20.0000.00717.55
8.2.10.0050.00517.89
8.2.00.0040.00417.98
8.1.280.0090.00625.92
8.1.270.0080.00023.84
8.1.260.0080.00028.09
8.1.250.0050.00328.09
8.1.240.0040.00423.98
8.1.230.0030.00920.87
8.1.220.0040.00417.76
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0050.00517.25
8.1.180.0040.00418.10
8.1.170.0040.00418.55
8.1.160.0040.00420.61
8.1.150.0000.00718.70
8.1.140.0080.00019.55
8.1.130.0000.00717.73
8.1.120.0080.00017.38
8.1.110.0080.00017.26
8.1.100.0000.00717.27
8.1.90.0040.00417.42
8.1.80.0040.00417.27
8.1.70.0040.00417.39
8.1.60.0000.00917.58
8.1.50.0030.00617.54
8.1.40.0000.00817.38
8.1.30.0040.00417.56
8.1.20.0000.00817.63
8.1.10.0040.00417.54
8.1.00.0070.00017.53
8.0.300.0000.00819.98
8.0.290.0000.00816.75
8.0.280.0040.00418.28
8.0.270.0000.00717.04
8.0.260.0030.00317.18
8.0.250.0050.00316.95
8.0.240.0000.00716.90
8.0.230.0030.00316.91
8.0.220.0050.00216.86
8.0.210.0070.00016.90
8.0.200.0000.01016.89
8.0.190.0040.00416.98
8.0.180.0060.00316.96
8.0.170.0040.00416.97
8.0.160.0000.00716.98
8.0.150.0080.00016.84
8.0.140.0040.00716.82
8.0.130.0080.00013.30
8.0.120.0050.00316.89
8.0.110.0040.00416.89
8.0.100.0070.00016.66
8.0.90.0040.00416.78
8.0.80.0060.01016.91
8.0.70.0050.00316.94
8.0.60.0040.00416.78
8.0.50.0070.00016.94
8.0.30.0120.00817.14
8.0.20.0090.00917.40
8.0.10.0000.00716.86
8.0.00.0100.01016.75
7.4.330.0050.00016.88
7.4.320.0060.00016.41
7.4.300.0050.00316.50
7.4.290.0080.00216.51
7.4.280.0070.00216.60
7.4.270.0070.00016.62
7.4.260.0070.00016.34
7.4.250.0020.00516.47
7.4.240.0030.00516.53
7.4.230.0000.00716.60
7.4.220.0090.00916.68
7.4.210.0080.00516.69
7.4.200.0000.00716.66
7.4.160.0080.00816.48
7.4.150.0040.01317.40
7.4.140.0120.00917.86
7.4.130.0060.02116.29
7.4.120.0090.00916.39
7.4.110.0100.00716.57
7.4.100.0150.00316.44
7.4.90.0070.01016.38
7.4.80.0060.01219.39
7.4.70.0090.00916.47
7.4.60.0130.00316.51
7.4.50.0100.00316.64
7.4.40.0060.01516.59
7.4.30.0100.01316.51
7.4.00.0100.00714.82
7.3.330.0000.00513.29
7.3.320.0070.00013.39
7.3.310.0050.00316.26
7.3.300.0040.00416.38
7.3.290.0080.00816.35
7.3.280.0100.01016.33
7.3.270.0100.00717.40
7.3.260.0170.00716.45
7.3.240.0080.00916.56
7.3.230.0060.01216.50
7.3.210.0080.00816.54
7.3.200.0040.01419.39
7.3.190.0080.01316.51
7.3.180.0140.00316.27
7.3.170.0060.01016.37
7.3.160.0100.00616.53
7.2.330.0060.01416.33
7.2.320.0060.01216.69
7.2.310.0030.01316.66
7.2.300.0070.01116.69
7.2.290.0070.01416.65
7.2.60.0030.01016.59
7.2.00.0000.01219.17
7.1.200.0030.00915.52
7.1.100.0000.01418.08
7.1.70.0040.00417.13
7.1.60.0150.01119.30
7.1.50.0100.01017.09
7.1.00.0070.07322.57
7.0.200.0050.00216.63
7.0.60.0370.07320.07
7.0.50.0030.08317.94
7.0.40.0070.08720.40
7.0.30.0170.04320.13
7.0.20.0330.07020.09
7.0.10.0030.07020.33
7.0.00.0030.04320.09
5.6.280.0070.06321.10
5.6.210.0070.05020.75
5.6.200.0130.08018.12
5.6.190.0100.06320.63
5.6.180.0400.06320.57
5.6.170.0170.06020.47
5.6.160.0070.08320.54
5.6.150.0030.08018.21
5.6.140.0070.07018.18
5.6.130.0100.06318.28
5.6.120.0100.06021.12
5.6.110.0030.09021.14
5.6.100.0130.04021.00
5.6.90.0000.04721.04
5.6.80.0070.03720.41
5.5.350.0100.07020.41
5.5.340.0170.07317.96
5.5.330.0030.04320.21
5.5.320.0230.04320.28
5.5.310.0230.04020.30
5.5.300.0070.08317.98
5.5.290.0100.07718.06
5.5.280.0130.08020.90
5.5.270.0000.05320.65
5.5.260.0070.08320.74
5.5.250.0030.05320.55
5.5.240.0100.08320.35

preferences:
49.07 ms | 401 KiB | 5 Q