3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_FILES = [ 'file1' => [ 'name' => 'MyFile.txt', 'type' => 'text/plain', 'tmp_name' => '/tmp/php/php1h4j1o', 'error' => UPLOAD_ERR_OK, 'size' => 123, ], 'file2' => [ 'name' => 'MyFile.txt', 'type' => 'text/plain', 'tmp_name' => '/tmp/php/php137z5o', 'error' => UPLOAD_ERR_OK, 'size' => 123, ] ]; $files = $_FILES; // The above two are for demo purposes only, mocking the REST API. // Use the below code for WordPress. //$files = $request->get_file_params(); $cleanFiles = array_column($files, 'tmp_name'); var_dump($cleanFiles);

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.120.0080.00120.61
8.4.110.0110.00722.19
8.4.100.0040.00517.46
8.4.90.0060.00320.39
8.4.80.0150.00418.68
8.4.70.0060.00218.85
8.4.60.0040.00518.61
8.4.50.0120.00818.63
8.4.40.0120.00819.52
8.4.30.0100.01020.33
8.4.20.0150.00722.19
8.4.10.0100.00623.82
8.3.250.0100.00618.81
8.3.240.0100.00216.55
8.3.230.0140.00516.46
8.3.220.0140.00518.89
8.3.210.0090.00816.48
8.3.200.0060.00316.48
8.3.190.0040.00616.87
8.3.180.0090.00918.76
8.3.170.0120.00818.95
8.3.160.0090.00018.23
8.3.150.0150.00418.95
8.3.140.0040.00420.91
8.3.130.0070.01118.59
8.3.120.0000.00818.78
8.3.110.0050.00520.94
8.3.100.0070.01516.53
8.3.90.0000.00826.77
8.3.80.0090.00017.97
8.3.70.0120.00618.31
8.3.60.0100.00618.43
8.3.50.0120.00316.34
8.3.40.0100.00720.52
8.3.30.0140.00018.58
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0050.00326.16
8.2.290.0060.00416.63
8.2.280.0140.00618.17
8.2.270.0090.00916.61
8.2.260.0100.00716.88
8.2.250.0120.00616.43
8.2.240.0000.00817.13
8.2.230.0000.01522.58
8.2.220.0180.00024.06
8.2.210.0140.00326.77
8.2.200.0030.00616.25
8.2.190.0030.01616.58
8.2.180.0130.00316.38
8.2.170.0120.00418.96
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0070.00020.98
8.2.110.0100.00020.96
8.2.100.0060.00617.78
8.2.90.0060.00319.64
8.2.80.0040.00417.50
8.2.70.0040.00418.25
8.2.60.0080.00618.25
8.2.50.0180.00018.25
8.2.40.0080.00818.25
8.2.30.0080.00418.25
8.2.20.0090.00018.25
8.2.10.0100.00018.25
8.2.00.0090.00018.25
8.1.330.0120.00716.14
8.1.320.0110.00917.86
8.1.310.0100.00716.65
8.1.300.0080.00017.77
8.1.290.0030.00930.84
8.1.280.0110.00425.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0060.00322.67
8.1.230.0050.00520.93
8.1.220.0040.00417.79
8.1.210.0040.00418.97
8.1.200.0050.00518.25
8.1.190.0030.00618.25
8.1.180.0050.00518.25
8.1.170.0100.00018.25
8.1.160.0030.00618.25
8.1.150.0040.00718.25
8.1.140.0120.00418.25
8.1.130.0100.00618.25
8.1.120.0100.00718.25
8.1.110.0130.00318.25
8.1.100.0100.00718.25
8.1.90.0120.00218.25
8.1.80.0030.00618.25
8.1.70.0030.00618.25
8.1.60.0050.00518.25
8.1.50.0040.00418.25
8.1.40.0050.00318.25
8.1.30.0080.00018.25
8.1.20.0080.00018.25
8.1.10.0090.00018.25
8.1.00.0060.00318.25
8.0.300.0050.00219.94
8.0.290.0050.00518.25
8.0.280.0050.00518.25
8.0.270.0040.00818.25
8.0.260.0080.00018.25
8.0.250.0040.00418.25
8.0.240.0040.00418.25
8.0.230.0050.00318.25
8.0.220.0040.00418.25
8.0.210.0040.00418.25
8.0.200.0030.00518.25
8.0.190.0080.00018.25
8.0.180.0060.00318.25
8.0.170.0050.00518.25
8.0.160.0060.00318.25
8.0.150.0110.00318.25
8.0.140.0020.00618.25
8.0.130.0050.00318.25
8.0.120.0090.00018.25
8.0.110.0060.00318.25
8.0.100.0120.00418.25
8.0.90.0020.00718.25
8.0.80.0040.00418.25
8.0.70.0110.00418.25
8.0.60.0030.00518.25
8.0.50.0100.00318.25
8.0.30.0000.00818.25
8.0.20.0090.00018.25
8.0.10.0130.00018.25
5.5.00.0140.00630.84

preferences:
27.55 ms | 403 KiB | 5 Q