3v4l.org

run code in 200+ PHP versions simultaneously
<?php $upload = array(array( 'errors' => array(), 'filename' => '/some/path/to/a/file.jpg'), array( 'errors' => array(), 'filename' => '/yet/another/path.jpg')); var_dump($upload); foreach ($upload as $x) echo $x['filename'],"<br>"; echo $upload[0]['filename'];

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)
7.4.00.0040.01415.01
7.3.120.0000.01414.70
7.2.110.0140.00316.73
7.2.100.0110.00316.55
7.2.90.0090.00616.73
7.2.80.0110.00616.49
7.2.70.0160.00715.90
7.2.60.0110.00816.23
7.2.50.0150.00915.87
7.2.40.0170.00816.07
7.2.30.0120.00916.04
7.2.20.0130.00915.67
7.2.10.0140.00815.89
7.2.00.0100.00717.10
7.1.230.0040.00815.49
7.1.220.0130.00315.70
7.1.210.0120.00415.89
7.1.200.0080.00715.74
7.1.190.0070.01115.62
7.1.180.0110.00415.79
7.1.170.0100.01014.74
7.1.160.0530.01314.87
7.1.150.0150.00214.95
7.1.140.0170.00514.95
7.1.130.0070.01314.94
7.1.120.0140.00714.89
7.1.110.0090.01114.92
7.1.100.0100.00815.99
7.1.90.0120.00614.87
7.1.80.0050.01314.91
7.1.70.0080.00715.74
7.1.60.0210.00622.63
7.1.50.0160.01221.66
7.1.40.0210.01323.81
7.1.30.0240.01023.83
7.1.20.0200.00623.94
7.1.10.0100.00714.76
7.1.00.0090.03017.43
7.0.310.0120.00615.13
7.0.300.0120.00914.45
7.0.290.0100.00614.34
7.0.280.0140.00315.14
7.0.270.0140.00314.48
7.0.260.0120.00414.42
7.0.250.0100.00714.34
7.0.240.0110.00514.44
7.0.230.0140.00714.41
7.0.220.0080.00814.23
7.0.210.0150.00514.54
7.0.200.0110.00615.04
7.0.190.0120.00814.22
7.0.180.0140.00314.45
7.0.170.0120.00514.35
7.0.160.0080.00814.08
7.0.150.0080.01014.30
7.0.140.0040.03016.79
7.0.130.0090.00914.59
7.0.120.0100.00514.44
7.0.110.0090.00914.17
7.0.100.0090.00814.41
7.0.90.0100.00914.46
7.0.80.0120.00514.16
7.0.70.0140.02216.22
7.0.60.0050.02716.86
7.0.50.0100.01615.64
7.0.40.0090.03315.65
7.0.30.0140.03315.66
7.0.20.0130.02315.74
7.0.10.0040.02115.71
7.0.00.0080.02115.73
5.6.380.0110.00414.52
5.6.370.0160.00514.21
5.6.360.0120.00514.46
5.6.350.0080.00814.53
5.6.340.0130.00314.32
5.6.330.0100.00714.33
5.6.320.0000.01413.94
5.6.310.0080.00514.52
5.6.300.0070.01214.18
5.6.290.0150.00314.27
5.6.280.0100.02916.43
5.6.270.0130.00514.25
5.6.260.0090.00914.14
5.6.250.0080.01014.29
5.6.240.0090.00914.22
5.6.230.0120.00914.12
5.6.220.0120.00414.22
5.6.210.0090.03316.40
5.6.200.0100.01715.59
5.6.190.0100.03016.52
5.6.180.0130.01616.40
5.6.170.0180.02716.27
5.6.160.0110.02116.34
5.6.150.0060.01915.57
5.6.140.0090.03215.49
5.6.130.0080.02315.55
5.6.120.0090.03416.66
5.6.110.0070.03716.71
5.6.100.0160.02616.49
5.6.90.0150.02916.46
5.6.80.0100.02716.29
5.6.70.0110.00814.19
5.6.60.0130.00814.16
5.6.50.0140.00714.28
5.6.40.0150.00614.41
5.6.30.0120.00714.30
5.6.20.0090.01114.14
5.6.10.0100.00814.40
5.6.00.0070.01314.27
5.5.380.0090.00311.76
5.5.370.0060.00811.63
5.5.360.0080.00711.92
5.5.350.0070.01814.66
5.5.340.0080.02214.04
5.5.330.0070.01614.65
5.5.320.0160.02914.75
5.5.310.0120.02214.74
5.5.300.0090.02913.94
5.5.290.0110.01513.96
5.5.280.0080.03114.94
5.5.270.0120.02814.95
5.5.260.0070.03314.92
5.5.250.0070.03214.77
5.5.240.0140.01814.73
5.5.230.0060.00811.82
5.5.220.0120.00411.83
5.5.210.0070.00811.85
5.5.200.0110.00311.84
5.5.190.0090.00711.94
5.5.180.0110.00311.95
5.5.170.0090.00613.93
5.5.160.0100.00611.90
5.5.150.0060.00911.80
5.5.140.0060.00911.78
5.5.130.0080.00411.90
5.5.120.0070.00711.82
5.5.110.0050.01011.90
5.5.100.0090.00911.80
5.5.90.0110.00511.88
5.5.80.0120.00311.92
5.5.70.0140.00311.82
5.5.60.0140.00311.82
5.5.50.0090.00711.94
5.5.40.0110.00211.81
5.5.30.0100.00511.94
5.5.20.0100.00511.96
5.5.10.0110.00411.81
5.5.00.0060.00911.80
5.4.450.0080.02114.31
5.4.440.0080.02614.39
5.4.430.0090.01914.39
5.4.420.0100.01714.46
5.4.410.0060.03214.34
5.4.400.0070.01714.21
5.4.390.0070.02414.27
5.4.380.0110.02414.24
5.4.370.0080.02914.22
5.4.360.0070.03014.17
5.4.350.0120.02314.28
5.4.340.0090.02514.29
5.4.330.0080.00312.79
5.4.320.0040.03314.26
5.4.310.0080.02714.20
5.4.300.0110.02714.20
5.4.290.0100.02614.27
5.4.280.0020.02414.24
5.4.270.0090.01414.31
5.4.260.0070.01614.26
5.4.250.0060.01614.29
5.4.240.0060.01914.36
5.4.230.0070.01614.25
5.4.220.0050.01814.16
5.4.210.0110.01614.22
5.4.200.0080.01514.20
5.4.190.0060.01614.15
5.4.180.0050.01814.16
5.4.170.0110.01414.26
5.4.160.0090.01414.30
5.4.150.0080.01514.33
5.4.140.0060.01913.31
5.4.130.0080.01413.31
5.4.120.0070.01413.38
5.4.110.0080.01413.24
5.4.100.0030.01713.33
5.4.90.0080.01513.37
5.4.80.0070.01513.29
5.4.70.0060.01513.44
5.4.60.0080.01413.33
5.4.50.0080.01313.34
5.4.40.0100.01113.35
5.4.30.0050.01713.38
5.4.20.0060.01713.42
5.4.10.0060.01613.37
5.4.00.0020.02113.22
5.3.290.0100.02512.64
5.3.280.0070.01712.52
5.3.270.0070.01612.61
5.3.260.0050.01812.57
5.3.250.0090.01512.53
5.3.240.0060.01612.57
5.3.230.0070.01512.50
5.3.220.0120.01112.53
5.3.210.0090.01712.56
5.3.200.0080.01512.52
5.3.190.0070.01512.49
5.3.180.0080.01312.59
5.3.170.0080.01612.56
5.3.160.0080.01512.55
5.3.150.0060.01712.59
5.3.140.0090.01412.62
5.3.130.0040.01812.57
5.3.120.0050.01912.59
5.3.110.0040.01812.56
5.3.100.0060.01412.27
5.3.90.0070.01512.49
5.3.80.0040.01612.31
5.3.70.0080.01412.27
5.3.60.0060.01612.43
5.3.50.0070.01312.37
5.3.40.0090.01712.39
5.3.30.0070.02212.31
5.3.20.0090.01312.22
5.3.10.0040.02812.20
5.3.00.0100.02512.16
5.2.170.0050.01511.11
5.2.160.0070.01111.11
5.2.150.0010.02311.08
5.2.140.0050.02511.10
5.2.130.0080.01811.10
5.2.120.0040.01611.12
5.2.110.0070.01411.08
5.2.100.0040.01811.02
5.2.90.0080.02211.05
5.2.80.0050.02011.06
5.2.70.0080.01210.95
5.2.60.0050.02711.08
5.2.50.0040.01411.02
5.2.40.0070.02311.07
5.2.30.0070.02211.06
5.2.20.0090.02210.99
5.2.10.0060.02310.92
5.2.00.0070.01410.86
5.1.60.0040.01810.54
5.1.50.0050.01310.59
5.1.40.0070.01910.54
5.1.30.0040.02110.68
5.1.20.0030.02310.65
5.1.10.0040.01410.56
5.1.00.0050.01310.53
5.0.50.0050.01310.05
5.0.40.0060.01410.00
5.0.30.0040.0159.94
5.0.20.0010.0159.96
5.0.10.0070.0119.94
5.0.00.0080.0229.95
4.4.90.0080.0069.80
4.4.80.0040.0079.80
4.4.70.0040.0149.80
4.4.60.0080.0099.80
4.4.50.0020.0159.80
4.4.40.0070.0179.80
4.4.30.0050.0119.80
4.4.20.0030.0099.80
4.4.10.0050.0079.80
4.4.00.0030.0199.80
4.3.110.0000.0149.80
4.3.100.0020.0149.80
4.3.90.0010.0169.80
4.3.80.0050.0169.80
4.3.70.0020.0169.80
4.3.60.0030.0139.80
4.3.50.0010.0169.80
4.3.40.0040.0179.80
4.3.30.0040.0119.80
4.3.20.0050.0109.80
4.3.10.0030.0119.80
4.3.00.0020.0109.80