3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ '1201' => ['docUpload' => 'html dom.txt'], '1202' => ['docUpload' => 'PYTHON AND DJANGO ARE HUGE IN FINTECH.txt'], '1203' => ['docUpload' => ''], ]; $new = array_column($array, 'docUpload'); $new = array_combine(array_keys($array), $new); print_r($new);

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.4.140.0110.00917.53
8.4.130.0100.01018.38
8.4.120.0110.00920.68
8.4.110.0060.00318.92
8.4.100.0110.01117.50
8.4.90.0070.01420.31
8.4.80.0120.00819.14
8.4.70.0110.00920.45
8.4.60.0120.00720.55
8.4.50.0090.01023.95
8.4.40.0100.00617.76
8.4.30.0060.00320.11
8.4.20.0090.00920.66
8.4.10.0090.00919.43
8.3.270.0060.01316.49
8.3.260.0080.01116.29
8.3.250.0070.00916.25
8.3.240.0140.00616.61
8.3.230.0110.00816.54
8.3.220.0140.00418.95
8.3.210.0110.00718.41
8.3.200.0120.00316.41
8.3.190.0090.00616.89
8.3.180.0110.00918.13
8.3.170.0110.00717.07
8.3.160.0070.01316.55
8.3.150.0050.00320.47
8.3.140.0070.01116.72
8.3.130.0030.00618.36
8.3.120.0000.00918.93
8.3.110.0000.00820.94
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0070.00317.93
8.3.70.0040.01116.63
8.3.60.0110.00418.18
8.3.50.0080.00916.43
8.3.40.0110.00418.76
8.3.30.0060.00918.57
8.3.20.0040.00420.75
8.3.10.0040.00420.16
8.3.00.0050.00223.46
8.2.290.0120.00617.23
8.2.280.0120.00720.19
8.2.270.0140.00417.39
8.2.260.0100.00319.09
8.2.250.0070.01116.75
8.2.240.0070.00417.14
8.2.230.0110.00422.58
8.2.220.0000.00837.54
8.2.210.0040.00426.77
8.2.200.0060.00318.88
8.2.190.0130.00318.16
8.2.180.0140.00425.92
8.2.170.0170.00322.96
8.2.160.0070.00719.34
8.2.150.0100.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0100.00020.94
8.2.100.0090.00318.09
8.2.90.0040.00417.71
8.2.80.0040.00417.97
8.2.70.0040.00418.00
8.2.60.0000.00818.03
8.2.50.0000.00818.10
8.2.40.0030.00519.36
8.2.30.0000.00719.08
8.2.20.0020.00517.99
8.2.10.0000.00718.87
8.2.00.0040.00419.36
8.1.330.0080.00715.96
8.1.320.0120.00718.00
8.1.310.0060.00920.30
8.1.300.0110.00716.07
8.1.290.0090.00030.84
8.1.280.0070.00725.92
8.1.270.0070.00024.02
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0080.00023.79
8.1.230.0040.00822.88
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0000.00917.23
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0000.00818.65
8.1.160.0030.00518.79
8.1.150.0000.00718.83
8.1.140.0020.00518.83
8.1.130.0040.00419.98
8.1.120.0050.00217.42
8.1.110.0000.00717.37
8.1.100.0000.00717.32
8.1.90.0040.00417.41
8.1.80.0040.00617.33
8.1.70.0070.00417.36
8.1.60.0090.00417.41
8.1.50.0040.00817.44
8.1.40.0090.00217.42
8.1.30.0060.00617.54
8.1.20.0110.00217.52
8.1.10.0060.00717.35
8.1.00.0070.00717.36
8.0.300.0000.00819.66
8.0.290.0040.00416.75
8.0.280.0000.00818.39
8.0.270.0030.00317.19
8.0.260.0000.00718.46
8.0.250.0000.00816.89
8.0.240.0080.00016.91
8.0.230.0000.00716.94
8.0.220.0000.00816.80
8.0.210.0060.00516.72
8.0.200.0030.00816.84
8.0.190.0060.00616.85
8.0.180.0050.00716.73
8.0.170.0110.00116.78
8.0.160.0070.00516.84
8.0.150.0080.00316.73
8.0.140.0050.00616.76
8.0.130.0080.00414.96
8.0.120.0070.00516.74
8.0.110.0090.00216.81
8.0.100.0070.00416.75
8.0.90.0080.00416.79
8.0.80.0110.00416.80
8.0.70.0060.00616.73
8.0.60.0060.00516.74
8.0.50.0060.00516.72
8.0.30.0130.00316.82
8.0.20.0100.00916.89
8.0.10.0090.00316.95
8.0.00.0130.00816.84
7.4.330.0020.00215.55
7.4.320.0070.00016.48
7.4.300.0040.00316.42
7.4.290.0070.00516.47
7.4.280.0040.00916.47
7.4.270.0090.00316.51
7.4.260.0050.00716.48
7.4.250.0080.00616.56
7.4.240.0100.00016.55
7.4.230.0050.00616.53
7.4.220.0070.00116.40
7.4.210.0060.01016.52
7.4.200.0070.00416.37
7.4.190.0130.00316.60
7.4.180.0100.00516.49
7.4.160.0140.00216.51
7.4.150.0110.00416.44
7.4.140.0100.00917.10
7.4.130.0110.00616.46
7.4.120.0080.00716.37
7.4.110.0040.01016.20
7.4.100.0120.00316.56
7.4.90.0080.00416.30
7.4.80.0140.00517.79
7.4.70.0080.00816.38
7.4.60.0060.00916.23
7.4.50.0050.00616.10
7.4.40.0060.00816.29
7.4.30.0040.00416.23
7.4.20.0080.00416.22
7.4.10.0050.01115.46
7.4.00.0070.00715.28
7.3.330.0030.00614.52
7.3.320.0060.00514.55
7.3.310.0090.00316.07
7.3.300.0040.00716.13
7.3.290.0050.00516.15
7.3.280.0090.00816.06
7.3.270.0110.00316.07
7.3.260.0130.00616.26
7.3.250.0090.00616.27
7.3.240.0070.01016.25
7.3.230.0120.00716.14
7.3.220.0140.00016.01
7.3.210.0100.00616.06
7.3.200.0090.01016.25
7.3.190.0110.00816.17
7.3.180.0120.00316.17
7.3.170.0100.00716.26
7.3.160.0120.00416.33
7.3.150.0000.01516.13
7.3.140.0070.00815.85
7.3.130.0090.00815.33
7.3.120.0130.00315.36
7.3.110.0120.00615.38
7.3.100.0050.00915.31
7.3.90.0080.00615.46
7.3.80.0120.00215.32
7.3.70.0110.00215.56
7.3.60.0080.00715.50
7.3.50.0080.00915.21
7.3.40.0080.00915.20
7.3.30.0050.00615.14
7.3.20.0090.00716.94
7.3.10.0070.00516.95
7.3.00.0110.00716.88
7.2.340.0080.00716.25
7.2.330.0160.00116.44
7.2.320.0150.00416.33
7.2.310.0080.00816.27
7.2.300.0100.00616.31
7.2.290.0040.01216.28
7.2.280.0140.00016.13
7.2.270.0110.00516.11
7.2.260.0050.01015.56
7.2.250.0120.00215.47
7.2.240.0100.00515.62
7.2.230.0090.00515.47
7.2.220.0110.00315.68
7.2.210.0080.00815.50
7.2.200.0110.00415.50
7.2.190.0090.00515.61
7.2.180.0090.00615.24
7.2.170.0120.00515.30
7.2.160.0070.01015.23
7.2.150.0080.00717.09
7.2.140.0090.00717.12
7.2.130.0120.00517.29
7.2.120.0110.00617.23
7.2.110.0060.01217.36
7.2.100.0050.01317.28
7.2.90.0110.00517.22
7.2.80.0100.00817.25
7.2.70.0130.00317.22
7.2.60.0110.00217.22
7.2.50.0100.00617.12
7.2.40.0120.00217.22
7.2.30.0110.00817.28
7.2.20.0090.00617.19
7.2.10.0110.00717.15
7.2.00.0050.01117.14
7.1.330.0130.00216.56
7.1.320.0080.00716.50
7.1.310.0110.00016.43
7.1.300.0110.00516.33
7.1.290.0060.00716.56
7.1.280.0080.00615.97
7.1.270.0100.00616.18
7.1.260.0100.00716.25
7.1.250.0050.00916.22
7.1.240.0080.00616.53
7.1.230.0090.00416.59
7.1.220.0090.00516.33
7.1.210.0060.00816.34
7.1.200.0100.00316.44
7.1.190.0100.00316.53
7.1.180.0050.01016.43
7.1.170.0080.00316.48
7.1.160.0100.00416.27
7.1.150.0070.00516.51
7.1.140.0110.00416.18
7.1.130.0100.00516.22
7.1.120.0130.00116.39
7.1.110.0060.00816.58
7.1.100.0070.00516.46
7.1.90.0090.00316.49
7.1.80.0060.00516.46
7.1.70.0120.00216.29
7.1.60.0070.00616.44
7.1.50.0070.00616.51
7.1.40.0110.00116.53
7.1.30.0070.00616.29
7.1.20.0040.00916.40
7.1.10.0080.00716.37
7.1.00.0070.00616.41

preferences:
39.44 ms | 403 KiB | 5 Q