3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = new HttpRequest('http://example.com/form.php', HttpRequest::METH_POST); $r->setOptions(array('cookies' => array('lang' => 'de'))); $r->addPostFields(array('user' => 'mike', 'pass' => 's3c|r3t')); $r->addPostFile('image', 'profile.jpg', 'image/jpeg'); try { echo $r->send()->getBody(); } catch (HttpException $ex) { echo $ex; } ?>

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.0120.00616.75
8.3.50.0150.00721.88
8.3.40.0090.00618.70
8.3.30.0040.01118.56
8.3.20.0040.00420.30
8.3.10.0040.00423.64
8.3.00.0040.00419.68
8.2.180.0110.00716.63
8.2.170.0100.00722.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0100.00017.38
8.2.110.0060.00322.25
8.2.100.0100.00317.63
8.2.90.0080.00019.05
8.2.80.0030.00617.97
8.2.70.0090.00017.50
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0030.00619.36
8.2.30.0040.00419.32
8.2.20.0040.00417.70
8.2.10.0040.00417.94
8.2.00.0030.00617.98
8.1.280.0100.00725.92
8.1.270.0060.00322.11
8.1.260.0110.00326.35
8.1.250.0050.00228.09
8.1.240.0090.00022.59
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0110.00017.10
8.1.180.0030.00618.10
8.1.170.0040.00418.32
8.1.160.0030.00521.91
8.1.150.0040.00418.73
8.1.140.0000.00717.25
8.1.130.0030.00617.49
8.1.120.0030.00317.31
8.1.110.0000.00817.32
8.1.100.0000.00717.35
8.1.90.0050.00217.38
8.1.80.0000.00817.29
8.1.70.0000.00717.30
8.1.60.0000.00917.52
8.1.50.0040.00417.45
8.1.40.0070.00317.35
8.1.30.0030.00517.46
8.1.20.0000.00717.55
8.1.10.0040.00417.54
8.1.00.0070.00317.38
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.45
8.0.270.0000.00717.21
8.0.260.0000.00617.20
8.0.250.0040.00416.85
8.0.240.0070.00016.83
8.0.230.0030.00316.86
8.0.220.0000.00716.81
8.0.210.0000.00716.91
8.0.200.0000.00716.96
8.0.190.0000.00716.97
8.0.180.0040.00416.95
8.0.170.0000.00816.81
8.0.160.0000.00816.86
8.0.150.0050.00316.90
8.0.140.0040.00416.89
8.0.130.0050.00013.36
8.0.120.0050.00316.85
8.0.110.0040.00416.94
8.0.100.0040.00416.69
8.0.90.0000.00716.68
8.0.80.0090.00616.83
8.0.70.0070.00016.89
8.0.60.0000.00716.79
8.0.50.0070.00016.93
8.0.30.0090.00916.90
8.0.20.0110.01017.40
8.0.10.0000.00716.98
8.0.00.0060.01616.82
7.4.330.0030.00315.08
7.4.320.0000.00716.46
7.4.300.0030.00316.49
7.4.290.0060.00016.46
7.4.280.0000.00716.58
7.4.270.0070.00016.59
7.4.260.0030.00316.53
7.4.250.0000.00716.49
7.4.240.0020.00516.51
7.4.230.0020.00516.55
7.4.220.0090.01216.49
7.4.210.0090.00616.48
7.4.200.0070.00016.33
7.4.160.0130.00316.55
7.4.150.0140.00517.40
7.4.140.0060.01217.86
7.4.130.0090.00916.58
7.4.120.0120.00716.49
7.4.110.0100.01016.56
7.4.100.0060.01216.54
7.4.90.0030.01316.51
7.4.80.0160.00719.39
7.4.70.0110.00716.51
7.4.60.0130.00316.41
7.4.50.0040.00416.52
7.4.40.0110.01116.58
7.4.30.0100.00916.64
7.4.00.0070.00715.05
7.3.330.0030.00313.08
7.3.320.0000.00713.24
7.3.310.0000.00716.13
7.3.300.0030.00316.10
7.3.290.0060.00916.27
7.3.280.0090.00916.25
7.3.270.0130.00717.40
7.3.260.0030.01316.46
7.3.240.0100.00716.45
7.3.230.0070.01016.40
7.3.210.0100.00716.22
7.3.200.0080.01116.31
7.3.190.0090.00616.27
7.3.180.0130.01016.29
7.3.170.0090.00916.27
7.3.160.0070.01016.48
7.2.330.0120.00916.49
7.2.320.0040.01416.33
7.2.310.0060.01016.45
7.2.300.0110.00516.52
7.2.290.0110.01116.64
7.2.60.0100.00316.57
7.2.00.0040.00719.22
7.1.200.0080.00315.71
7.1.100.0030.00917.95
7.1.70.0040.00416.81
7.1.60.0030.01719.27
7.1.50.0120.00616.70
7.1.00.0030.07722.26
7.0.200.0040.01114.54
7.0.60.0070.09019.93
7.0.50.0030.04017.79
7.0.40.0170.07720.24
7.0.30.0170.04320.23
7.0.20.0300.08020.21
7.0.10.0170.07319.99
7.0.00.0100.08720.13
5.6.280.0100.06721.12
5.6.210.0100.03320.46
5.6.200.0230.05718.19
5.6.190.0100.08320.56
5.6.180.0270.08720.64
5.6.170.0200.04320.33
5.6.160.0100.04320.47
5.6.150.0000.07018.11
5.6.140.0070.08018.20
5.6.130.0100.06018.25
5.6.120.0070.07021.10
5.6.110.0100.07720.88
5.6.100.0100.04021.00
5.6.90.0130.05721.03
5.6.80.0030.07020.52
5.6.70.3930.03720.50
5.5.350.0130.03720.44
5.5.340.0000.05317.95
5.5.330.0100.03720.57
5.5.320.0400.05320.21
5.5.310.0170.04020.28
5.5.300.0070.04018.02
5.5.290.0030.08718.03
5.5.280.0030.04020.85
5.5.270.0070.04720.75
5.5.260.0000.04720.84
5.5.250.0130.07720.66
5.5.240.0370.05720.16
5.4.450.0730.07319.64
5.4.440.1100.07319.61
5.4.430.1030.05719.42
5.4.420.0970.06019.46
5.4.410.0900.07019.14
5.4.400.0630.06319.13
5.4.390.0770.07019.30
5.4.380.0570.06719.16
5.4.370.0730.05019.26
5.4.360.0800.05019.15
5.4.350.0700.05718.95
5.4.340.0870.06719.00
5.4.320.0730.07018.93
5.4.310.0770.08019.11
5.4.300.1070.06019.28
5.4.290.0770.05319.25
5.4.280.0770.05719.14
5.4.270.0730.04718.91
5.4.260.0530.06019.07
5.4.250.0100.06719.14
5.4.240.0630.06019.30
5.4.230.0770.05719.25
5.4.220.0600.06019.25
5.4.210.0100.06319.21
5.4.200.0730.06718.94
5.4.190.0400.07319.24
5.4.180.0200.05719.27
5.4.170.0700.06719.11
5.4.160.0500.06319.13
5.4.150.0630.06719.05
5.4.140.0770.05316.32
5.4.130.0700.06716.20
5.4.120.0670.06316.21
5.4.110.0730.06316.21
5.4.100.0770.05716.54
5.4.90.0600.06016.47
5.4.80.0770.05716.40
5.4.70.0200.03716.37
5.4.60.0300.06716.31
5.4.50.0100.04016.20
5.4.40.0070.05016.38
5.4.30.0000.03316.23
5.4.20.0270.04316.41

preferences:
51.99 ms | 401 KiB | 5 Q