3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(0=>array('tekstJeden' => 'jakas wartosc')); array_walk($array, function(&$i) { $i = array_combine(array_map('ucfirst', array_keys($i)), $i); });

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.0110.00416.38
8.3.50.0140.00718.32
8.3.40.0110.00318.54
8.3.30.0100.00319.10
8.3.20.0040.00420.38
8.3.10.0080.00021.68
8.3.00.0070.00020.95
8.2.180.0000.01418.54
8.2.170.0120.00318.93
8.2.160.0070.00722.96
8.2.150.0090.00024.18
8.2.140.0030.00624.66
8.2.130.0070.00026.16
8.2.120.0060.00317.80
8.2.110.0040.00420.47
8.2.100.0080.00317.74
8.2.90.0030.00519.10
8.2.80.0070.00317.97
8.2.70.0040.00417.63
8.2.60.0070.00317.93
8.2.50.0000.00918.07
8.2.40.0030.00618.09
8.2.30.0000.00717.95
8.2.20.0070.00017.63
8.2.10.0070.00018.03
8.2.00.0070.00017.73
8.1.280.0110.00425.92
8.1.270.0080.00018.88
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00620.63
8.1.230.0040.00817.76
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0060.00317.25
8.1.190.0030.00617.36
8.1.180.0040.00418.10
8.1.170.0040.00418.49
8.1.160.0000.00721.92
8.1.150.0030.00618.80
8.1.140.0030.00619.18
8.1.130.0000.00817.79
8.1.120.0030.00317.46
8.1.110.0070.00017.35
8.1.100.0070.00017.45
8.1.90.0000.00717.51
8.1.80.0050.00317.41
8.1.70.0000.00717.47
8.1.60.0000.00817.59
8.1.50.0040.00417.40
8.1.40.0040.00717.40
8.1.30.0060.00317.65
8.1.20.0000.00717.49
8.1.10.0000.00917.45
8.1.00.0030.00517.45
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.37
8.0.270.0030.00317.11
8.0.260.0030.00317.12
8.0.250.0000.00716.78
8.0.240.0030.00316.92
8.0.230.0040.00416.92
8.0.220.0000.00816.80
8.0.210.0040.00416.80
8.0.200.0030.00316.78
8.0.190.0030.00516.88
8.0.180.0040.00416.83
8.0.170.0050.00316.79
8.0.160.0030.00616.98
8.0.150.0000.00716.72
8.0.140.0030.00616.88
8.0.130.0030.00313.39
8.0.120.0040.00416.75
8.0.110.0040.00416.90
8.0.100.0040.00416.94
8.0.90.0000.00716.77
8.0.80.0060.01616.87
8.0.70.0040.00416.73
8.0.60.0070.00016.90
8.0.50.0000.00716.87
8.0.30.0090.01116.88
8.0.20.0130.00817.40
8.0.10.0070.00016.87
8.0.00.0080.01016.65
7.4.330.0000.00815.03
7.4.320.0060.00016.57
7.4.300.0000.00716.50
7.4.290.0000.00716.51
7.4.280.0040.00716.58
7.4.270.0000.00716.48
7.4.260.0040.00416.41
7.4.250.0000.00816.45
7.4.240.0030.00416.46
7.4.230.0000.00616.57
7.4.220.0090.00916.55
7.4.210.0060.00916.54
7.4.200.0000.00716.43
7.4.160.0120.00916.52
7.4.150.0040.01317.40
7.4.140.0110.01117.86
7.4.130.0140.00316.49
7.4.120.0080.00816.42
7.4.110.0100.01016.49
7.4.100.0140.01016.41
7.4.90.0030.01416.59
7.4.80.0070.01119.39
7.4.70.0090.01316.39
7.4.60.0120.00916.43
7.4.50.0040.00416.19
7.4.40.0120.00816.48
7.4.30.0130.00616.47
7.4.00.0000.01414.88
7.3.330.0060.00013.24
7.3.320.0000.00513.10
7.3.310.0030.00316.13
7.3.300.0060.00016.14
7.3.290.0060.00816.25
7.3.280.0090.00916.19
7.3.270.0060.01117.40
7.3.260.0070.01416.46
7.3.250.0090.00816.29
7.3.240.0120.00616.43
7.3.230.0100.00716.39
7.3.210.0110.01116.55
7.3.200.0090.00919.39
7.3.190.0180.00016.57
7.3.180.0150.00016.19
7.3.170.0090.00616.60
7.3.160.0080.00816.29
7.2.330.0070.01016.69
7.2.320.0090.00916.70
7.2.310.0060.01116.56
7.2.300.0090.00916.58
7.2.290.0100.00616.75
7.2.60.0090.00616.82
7.2.00.0030.01219.31
7.1.200.0080.00615.52
7.1.100.0070.00717.82
7.1.70.0070.00017.21
7.1.60.0090.01619.46
7.1.50.0040.00716.89
7.1.00.0030.07322.30
7.0.200.0180.00014.96
7.0.140.0000.07721.95
7.0.60.0070.06019.90
7.0.50.0030.04317.86
7.0.40.0030.05719.96
7.0.30.0300.05020.21
7.0.20.0230.04720.16
7.0.10.0100.08720.22
7.0.00.0070.07320.22
5.6.280.0070.07020.98
5.6.210.0130.06720.61
5.6.200.0030.07018.16
5.6.190.0070.03720.61
5.6.180.0370.04320.63
5.6.170.0330.07720.61
5.6.160.0130.08020.47
5.6.150.0170.07718.30
5.6.140.0200.07718.24
5.6.130.0170.05718.21
5.6.120.0030.04320.99
5.6.110.0000.04721.05
5.6.100.0100.08721.11
5.6.90.0230.04720.96
5.6.80.0100.03320.49
5.5.350.0370.05720.35
5.5.340.0070.07318.08
5.5.330.0100.07720.38
5.5.320.0470.05720.35
5.5.310.0400.07020.20
5.5.300.0130.07018.08
5.5.290.0070.08018.07
5.5.280.0030.05720.89
5.5.270.0070.04320.78
5.5.260.0030.07720.87
5.5.250.0070.05720.68
5.5.240.0030.08320.19
5.4.450.0630.06319.54
5.4.440.0730.05719.61
5.4.430.0630.08019.46
5.4.420.0870.05319.30
5.4.410.0830.05319.45
5.4.400.1200.04318.88
5.4.390.0100.06018.52
5.4.380.0170.05718.56
5.4.370.0270.04718.58
5.4.360.0270.05718.79
5.4.350.0200.05318.49
5.4.340.0100.06318.77
5.4.320.0170.06018.80
5.4.310.0170.05718.63
5.4.300.0200.05318.70
5.4.290.0170.06018.74
5.4.280.0230.06018.51
5.4.270.0100.06718.51
5.4.260.0230.05318.57
5.4.250.0100.08318.72
5.4.240.0230.07018.83
5.4.230.0270.07018.57
5.4.220.0170.05718.68
5.4.210.0130.05318.44
5.4.200.0200.04716.55
5.4.190.0230.05318.61
5.4.180.0300.04018.73
5.4.170.0170.06318.54
5.4.160.0230.04318.69
5.4.150.0170.06018.76
5.4.140.0170.05316.20
5.4.130.0200.05016.34
5.4.120.0130.05316.34
5.4.110.0270.05016.18
5.4.100.0200.05316.29
5.4.90.0200.05016.30
5.4.80.0230.04716.41
5.4.70.0300.05716.19
5.4.60.0200.06316.25
5.4.50.0230.06016.39
5.4.40.0170.06716.21
5.4.30.0100.06316.09
5.4.20.0230.05016.30
5.4.10.0170.05016.30
5.4.00.0170.06715.70
5.3.290.0170.07714.65
5.3.280.0130.07014.72
5.3.270.0230.05714.81
5.3.260.0230.06014.82
5.3.250.0170.05714.58
5.3.240.0300.04014.78
5.3.230.0270.05314.61
5.3.220.0170.06014.78
5.3.210.0130.06314.54
5.3.200.0230.04714.76
5.3.190.0270.04714.78
5.3.180.0170.05314.68
5.3.170.0170.06314.70
5.3.160.0270.04714.79
5.3.150.0170.06314.70
5.3.140.0330.04014.68
5.3.130.0200.05014.56
5.3.120.0230.05314.66
5.3.110.0270.04714.68
5.3.100.0200.04714.04
5.3.90.0300.03714.24
5.3.80.0130.05314.07
5.3.70.0270.04014.07
5.3.60.0130.05014.13
5.3.50.0170.06314.02
5.3.40.0270.04013.99
5.3.30.0370.03014.02
5.3.20.0230.04313.71
5.3.10.0030.06013.73
5.3.00.0270.06713.77
5.2.170.0170.05011.13
5.2.160.0070.04711.28
5.2.150.0130.05711.28
5.2.140.0100.04711.29
5.2.130.0100.04711.13
5.2.120.0130.04311.24
5.2.110.0100.05711.16
5.2.100.0100.05711.11
5.2.90.0230.04711.09
5.2.80.0230.03311.08
5.2.70.0170.05711.13
5.2.60.0270.03311.20
5.2.50.0070.05310.98
5.2.40.0130.04010.98
5.2.30.0130.04711.12
5.2.20.0100.04311.02
5.2.10.0170.04710.96
5.2.00.0200.04710.81
5.1.60.0130.0479.95
5.1.50.0130.04310.11
5.1.40.0070.04010.09
5.1.30.0130.03310.29
5.1.20.0200.04010.48
5.1.10.0100.03710.05
5.1.00.0070.04010.18
5.0.50.0170.0238.60
5.0.40.0170.0238.44
5.0.30.0100.0408.26
5.0.20.0030.0308.31
5.0.10.0130.0208.22
5.0.00.0130.0378.20
4.4.90.0070.0205.89
4.4.80.0100.0175.91
4.4.70.0130.0175.91
4.4.60.0170.0205.87
4.4.50.0000.0375.90
4.4.40.0070.0375.91
4.4.30.0070.0235.88
4.4.20.0130.0235.92
4.4.10.0070.0235.88
4.4.00.0070.0335.91
4.3.110.0000.0275.83
4.3.100.0030.0275.87
4.3.90.0030.0235.86
4.3.80.0000.0475.82
4.3.70.0170.0175.82
4.3.60.0070.0275.81
4.3.50.0030.0235.86
4.3.40.0070.0335.83
4.3.30.0070.0205.81
4.3.20.0030.0235.81
4.3.10.0030.0235.81
4.3.00.0100.01314.56

preferences:
51.3 ms | 400 KiB | 5 Q