3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'de' => [ 'slug' => 'de', 'url' => 'http://localhost/werk/Mol/de/haus/', 'flag' => 'http://localhost/werk/Mol/wp-content/plugins/polylang/flags/de.png' ], 'nl' => [ 'slug' => 'nl', 'url' => 'http://localhost/werk/Mol/', 'flag' => 'http://localhost/werk/Mol/wp-content/plugins/polylang/flags/nl.png' ] ]; $res = []; foreach($arr as $k => $v){ $res[$k] = [ 'slug' => $v['slug'], 'url' => $v['url'], 'flag' => $v['flag'] ]; } echo '<pre>'; print_r($res);

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.110.0030.01418.45
8.3.100.0090.00016.62
8.3.90.0040.01116.61
8.3.80.0090.00017.97
8.3.70.0040.01116.63
8.3.60.0120.00618.56
8.3.50.0120.00718.42
8.3.40.0070.00718.76
8.3.30.0100.00718.76
8.3.20.0050.00321.73
8.3.10.0080.00019.02
8.3.00.0040.00421.69
8.2.230.0090.00020.94
8.2.220.0030.00624.06
8.2.210.0090.00626.77
8.2.200.0090.00018.54
8.2.190.0180.00316.58
8.2.180.0100.00718.54
8.2.170.0150.00722.96
8.2.160.0080.00622.12
8.2.150.0000.00724.18
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0070.00026.16
8.2.110.0070.00421.18
8.2.100.0160.00017.50
8.2.90.0030.00617.90
8.2.80.0040.00419.34
8.2.70.0080.00017.93
8.2.60.0060.00318.16
8.2.50.0000.00719.41
8.2.40.0000.00719.46
8.2.30.0000.00720.38
8.2.20.0060.00318.02
8.2.10.0050.00318.99
8.2.00.0080.00018.04
8.1.290.0050.00518.88
8.1.280.0000.01425.92
8.1.270.0060.00321.99
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0090.00022.61
8.1.230.0070.00320.88
8.1.220.0040.00417.74
8.1.210.0050.00318.96
8.1.200.0030.00617.35
8.1.190.0060.00317.25
8.1.180.0000.00818.10
8.1.170.0000.00818.36
8.1.160.0000.00818.76
8.1.150.0000.00818.98
8.1.140.0050.00320.32
8.1.130.0030.00317.37
8.1.120.0030.00317.37
8.1.110.0040.00417.51
8.1.100.0000.00817.47
8.1.90.0040.00417.36
8.1.80.0030.00517.36
8.1.70.0030.00317.38
8.1.60.0030.00617.60
8.1.50.0060.00317.41
8.1.40.0000.00817.53
8.1.30.0080.00017.64
8.1.20.0040.00417.66
8.1.10.0000.00817.55
8.1.00.0040.00417.39
8.0.300.0050.00219.89
8.0.290.0040.00416.63
8.0.280.0070.00018.55
8.0.270.0040.00417.26
8.0.260.0000.00616.73
8.0.250.0030.00316.92
8.0.240.0040.00416.87
8.0.230.0030.00317.00
8.0.220.0070.00016.88
8.0.210.0040.00416.84
8.0.200.0000.00717.02
8.0.190.0050.00216.96
8.0.180.0000.00816.95
8.0.170.0000.00916.93
8.0.160.0040.00416.80
8.0.150.0000.00716.85
8.0.140.0040.00416.71
8.0.130.0060.00013.36
8.0.120.0070.00016.78
8.0.110.0080.00016.82
8.0.100.0000.00717.00
8.0.90.0050.00216.95
8.0.80.0100.00516.93
8.0.70.0030.00416.88
8.0.60.0070.00016.77
8.0.50.0000.00716.71
8.0.30.0120.00916.81
8.0.20.0120.00617.11
8.0.10.0050.00216.99
8.0.00.0090.00916.86
7.4.330.0030.00315.55
7.4.320.0030.00316.54
7.4.300.0030.00316.45
7.4.290.0050.00316.55
7.4.280.0000.00716.59
7.4.270.0070.00016.59
7.4.260.0050.00216.56
7.4.250.0040.00416.48
7.4.240.0070.00016.43
7.4.230.0000.00716.25
7.4.220.0040.00416.60
7.4.210.0080.00716.53
7.4.200.0030.00316.68
7.4.160.0090.00816.43
7.4.140.0110.01417.86
7.4.130.0140.00716.47
7.4.120.0130.00316.61
7.4.110.0060.01116.69
7.4.100.0100.00716.49
7.4.90.0100.01016.59
7.4.80.0080.01119.39
7.4.70.0100.00716.42
7.4.60.0040.02016.54
7.4.50.0070.01016.54
7.4.40.0160.00316.58
7.4.00.0150.00314.89
7.3.330.0050.00013.09
7.3.320.0000.00513.27
7.3.310.0040.00416.47
7.3.300.0030.00316.28
7.3.290.0030.01016.28
7.3.280.0080.00816.33
7.3.260.0090.01016.47
7.3.240.0110.00716.57
7.3.230.0030.01416.41
7.3.210.0110.00716.45
7.3.200.0120.00416.20
7.3.190.0100.01016.54
7.3.180.0140.00316.39
7.3.170.0080.00816.53
7.3.160.0030.01616.56
7.3.50.0100.00614.97
7.3.40.0040.01114.76
7.3.30.0200.00314.61
7.3.20.0420.00814.66
7.3.10.0210.00314.70
7.3.00.0210.00314.73
7.2.330.0100.01316.69
7.2.320.0140.00316.81
7.2.310.0070.01116.70
7.2.300.0120.00416.77
7.2.290.0080.00816.52
7.2.180.0070.01014.93
7.2.170.0090.00614.63
7.2.160.0130.00314.73
7.2.150.0150.00614.62
7.2.140.0120.00614.89
7.2.130.0180.01414.65
7.2.120.0190.01214.98
7.2.110.0180.00014.93
7.2.100.0090.00915.02
7.2.90.0140.01715.08
7.2.80.0130.00915.12
7.2.70.0150.00214.71
7.2.60.0140.00515.01
7.2.50.0280.00315.02
7.2.40.0160.01014.99
7.2.30.0090.00914.95
7.2.20.0110.00714.89
7.2.10.1240.01014.99
7.2.00.0190.00914.93
7.1.280.0160.00613.95
7.1.270.0160.01313.78
7.1.260.0210.00913.86
7.1.250.0100.00713.74

preferences:
28.29 ms | 403 KiB | 5 Q