3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(file_put_contents('/h4x0red', 'foobar'));

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.40.0090.00918.75
8.3.30.0150.00418.72
8.3.20.0040.00418.61
8.3.10.0030.00518.82
8.3.00.0080.00019.26
8.2.170.0140.00722.96
8.2.160.0100.00618.71
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0050.00321.14
8.2.110.0090.00020.92
8.2.100.0040.00717.84
8.2.90.0040.00419.36
8.2.80.0000.00719.39
8.2.70.0050.00317.47
8.2.60.0090.00017.80
8.2.50.0040.00418.07
8.2.40.0040.00417.90
8.2.30.0030.00517.93
8.2.20.0080.00017.49
8.2.10.0040.00417.55
8.2.00.0050.00217.63
8.1.270.0070.00023.99
8.1.260.0020.00526.35
8.1.250.0060.00328.09
8.1.240.0070.00322.39
8.1.230.0100.00020.89
8.1.220.0000.00817.74
8.1.210.0000.00818.90
8.1.200.0060.00317.23
8.1.190.0050.00217.39
8.1.180.0030.00618.10
8.1.170.0000.00818.95
8.1.160.0040.00418.76
8.1.150.0030.00518.59
8.1.140.0000.00717.25
8.1.130.0000.00717.79
8.1.120.0040.00417.36
8.1.110.0000.00917.34
8.1.100.0070.00017.34
8.1.90.0000.00717.34
8.1.80.0080.00017.37
8.1.70.0000.00817.32
8.1.60.0030.00517.38
8.1.50.0030.00517.35
8.1.40.0050.00317.46
8.1.30.0000.00817.55
8.1.20.0040.00417.47
8.1.10.0020.00517.46
8.1.00.0050.00317.40
8.0.300.0040.00419.86
8.0.290.0070.00016.63
8.0.280.0030.00318.33
8.0.270.0070.00017.13
8.0.260.0000.00816.69
8.0.250.0040.00416.79
8.0.240.0070.00016.90
8.0.230.0000.00716.79
8.0.220.0000.00816.83
8.0.210.0080.00016.75
8.0.200.0080.00016.85
8.0.190.0050.00216.88
8.0.180.0070.00416.87
8.0.170.0060.00316.75
8.0.160.0000.00716.82
8.0.150.0000.00816.71
8.0.140.0040.00416.77
8.0.130.0030.00313.28
8.0.120.0000.00816.88
8.0.110.0000.00716.95
8.0.100.0040.00416.87
8.0.90.0020.00516.86
8.0.80.0060.00916.89
8.0.70.0000.00816.75
8.0.60.0000.00816.79
8.0.50.0000.00716.70
8.0.30.0090.00917.02
8.0.20.0110.00817.04
8.0.10.0000.00716.95
8.0.00.0070.01116.58
7.4.330.0000.00812.87
7.4.320.0000.00616.48
7.4.300.0060.00016.28
7.4.290.0070.00016.44
7.4.280.0060.00316.46
7.4.270.0030.00316.38
7.4.260.0050.00013.23
7.4.250.0050.00216.41
7.4.240.0000.00916.42
7.4.230.0000.00616.58
7.4.220.0110.01516.37
7.4.210.0120.00916.57
7.4.200.0060.00316.38
7.4.190.0030.00316.46
7.4.160.0070.01416.33
7.4.150.0140.00316.40
7.4.140.0140.00716.29
7.4.130.0130.00316.39
7.4.120.0140.00316.29
7.4.110.0060.01216.47
7.4.100.0150.00616.68
7.4.90.0080.00816.32
7.4.80.0140.01019.39
7.4.70.0120.00316.27
7.4.60.0090.00616.38
7.4.50.0030.00616.14
7.4.40.0110.00716.52
7.4.30.0140.00416.05
7.4.00.0030.01015.11
7.3.330.0060.00013.13
7.3.320.0060.00012.96
7.3.310.0070.00016.41
7.3.300.0040.00416.25
7.3.290.0120.00416.24
7.3.280.0080.00816.21
7.3.270.0100.00716.19
7.3.260.0100.00716.43
7.3.250.0160.00416.43
7.3.240.0090.00916.48
7.3.230.0140.00316.39
7.3.210.0120.00616.16
7.3.200.0090.00616.43
7.3.190.0100.01016.23
7.3.180.0090.00616.37
7.3.170.0090.00616.14
7.3.160.0150.00616.21
7.3.120.0120.00614.86
7.2.330.0100.00716.56
7.2.320.0090.01216.38
7.2.310.0060.01216.51
7.2.300.0140.00316.52
7.2.290.0080.00816.44
7.2.00.0030.00919.36
7.1.100.0040.01418.14
7.1.70.0040.00417.19
7.1.60.0100.01419.30
7.1.50.0070.01316.83
7.1.00.0000.07722.31
7.0.200.0120.00016.37
7.0.140.0100.06721.92
7.0.120.0000.07722.16
7.0.60.0070.07020.02
7.0.50.0070.07717.89
7.0.40.0030.04720.27
7.0.30.0400.07020.18
7.0.20.0370.07720.00
7.0.10.0100.08320.21
7.0.00.0130.08320.32
5.6.280.0070.07021.11
5.6.210.0100.08020.70
5.6.200.0070.08018.17
5.6.190.0100.05320.41
5.6.180.4170.03720.49
5.6.170.0270.06320.50
5.6.160.0030.04720.48
5.6.150.0200.07018.22
5.6.140.0070.05018.11
5.6.130.0000.08718.22
5.6.120.0200.06721.01
5.6.110.0130.03721.13
5.6.100.0030.08020.99
5.6.90.0070.08321.12
5.6.80.0000.08320.47
5.6.70.4500.04020.51
5.5.350.0100.04720.37
5.5.340.0030.04018.02
5.5.330.0100.06720.23
5.5.320.3370.04020.34
5.5.310.0270.08720.20
5.5.300.0100.05317.98
5.5.290.0070.07017.91
5.5.280.0130.07720.73
5.5.270.0100.07320.75
5.5.260.0200.07720.87
5.5.250.0070.08020.43
5.5.240.0270.06720.25
5.4.450.0100.03319.11
5.4.440.0030.04019.44
5.4.430.0030.03719.32
5.4.420.0070.05319.50
5.4.410.0200.02019.37
5.4.400.0100.07318.92
5.4.390.0070.05719.10
5.4.380.0030.04019.09
5.4.370.0030.03719.10
5.4.360.0130.07319.18
5.4.350.0070.07719.16
5.4.340.0030.07318.80
5.4.320.0030.04718.91
5.4.310.0000.04018.79
5.4.300.0030.06719.08
5.4.290.0100.07019.11
5.4.280.0030.04019.11
5.4.270.0030.07719.17
5.4.260.0070.07719.17
5.4.250.0030.04019.00
5.4.240.0100.07719.08
5.4.230.0030.05319.07
5.4.220.0030.05018.80
5.4.210.0100.06019.14
5.4.200.0100.05319.14
5.4.190.0030.06719.14
5.4.180.0100.07019.13
5.4.170.0070.04719.14
5.4.160.0030.05719.15
5.4.150.0000.07319.12
5.4.140.0130.07016.37
5.4.130.0070.05316.43
5.4.120.0130.06016.31
5.4.110.0030.05016.26
5.4.100.0030.07716.61
5.4.90.0130.03316.25
5.4.80.0070.03316.39
5.4.70.0000.03716.13
5.4.60.0070.06716.21
5.4.50.0130.06316.38
5.4.40.0030.07716.34
5.4.30.0070.07016.28
5.4.20.0070.06716.33
5.4.10.0100.05316.26
5.4.00.0030.03315.79
5.3.290.0070.03714.45
5.3.280.0100.06014.54
5.3.270.0070.03714.52
5.3.260.0030.04314.57
5.3.250.0100.07014.57
5.3.240.0030.07314.52
5.3.230.0070.04714.68
5.3.220.0030.04014.49
5.3.210.0070.04314.49
5.3.200.0100.07014.48
5.3.190.0030.04314.54
5.3.180.0070.06714.48
5.3.170.0030.03714.48
5.3.160.0030.07714.34
5.3.150.0070.05314.48
5.3.140.0070.04314.58
5.3.130.0030.04714.46
5.3.120.0070.03314.47
5.3.110.0030.03714.38
5.3.100.0030.03713.96
5.3.90.0100.03713.95
5.3.80.0000.04013.99
5.3.70.0030.05713.94
5.3.60.0030.08014.09
5.3.50.0070.06313.77
5.3.40.0000.05013.96
5.3.30.0030.03713.83
5.3.20.0070.06313.47
5.3.10.0070.04313.60
5.3.00.0100.07313.60
5.2.170.0030.05311.13
5.2.160.0030.03711.08
5.2.150.0030.06311.04
5.2.140.0000.06711.02
5.2.130.0000.05011.08
5.2.120.0070.04711.09
5.2.110.0100.06010.91
5.2.100.0130.03010.95
5.2.90.0100.05011.02
5.2.80.0070.06011.07
5.2.70.0000.06310.99
5.2.60.0030.06310.98
5.2.50.0030.04710.91
5.2.40.0030.04711.14
5.2.30.0030.03710.96
5.2.20.0030.04310.94
5.2.10.0070.03010.85
5.2.00.0030.04010.71
5.1.60.0000.0309.95
5.1.50.0030.0309.96
5.1.40.0070.0479.97
5.1.30.0030.04310.33
5.1.20.0070.04010.34
5.1.10.0070.05710.04
5.1.00.0070.0339.97
5.0.50.0000.0408.60
5.0.40.0070.0378.39
5.0.30.0030.0508.12
5.0.20.0070.0208.34
5.0.10.0070.0308.06
5.0.00.0000.0408.13
4.4.90.0030.0237.89
4.4.80.0030.0337.89
4.4.70.0030.0337.89
4.4.60.0070.0337.89
4.4.50.0070.0307.89
4.4.40.0000.0537.89
4.4.30.0070.0307.89
4.4.20.0070.0337.89
4.4.10.0030.0307.89
4.4.00.0000.0607.89
4.3.110.0000.0277.89
4.3.100.0000.0407.89
4.3.90.0030.0277.89
4.3.80.0000.0577.89
4.3.70.0070.0307.89
4.3.60.0000.0337.89
4.3.50.0030.0237.89
4.3.40.0000.0437.89
4.3.30.0000.0377.89
4.3.20.0030.0337.89
4.3.10.0130.0277.89
4.3.00.0000.0377.89

preferences:
48.62 ms | 400 KiB | 5 Q