3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = file_get_contents('https://encoding.spec.whatwg.org/index-windows-1252.txt'); echo $string;

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.0060.00918.55
8.3.50.0070.00717.91
8.3.40.0140.00418.75
8.3.30.0040.01118.76
8.3.20.0000.00818.99
8.3.10.0080.00020.91
8.3.00.0030.00617.93
8.2.180.0130.00616.75
8.2.170.0070.01422.96
8.2.160.0110.00419.04
8.2.150.0000.00925.66
8.2.140.0030.00524.66
8.2.130.0030.00619.82
8.2.120.0080.00026.35
8.2.110.0030.00622.13
8.2.100.0080.00317.91
8.2.90.0000.00817.63
8.2.80.0050.00318.73
8.2.70.0000.00917.68
8.2.60.0000.00817.93
8.2.50.0070.00318.10
8.2.40.0050.00319.21
8.2.30.0070.00019.34
8.2.20.0000.00817.97
8.2.10.0040.00417.94
8.2.00.0000.00719.43
8.1.280.0040.01125.92
8.1.270.0060.00320.63
8.1.260.0110.00326.35
8.1.250.0040.00428.09
8.1.240.0000.01019.05
8.1.230.0040.00717.77
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0000.00917.23
8.1.180.0080.00018.10
8.1.170.0000.00918.50
8.1.160.0020.00518.80
8.1.150.0000.00718.84
8.1.140.0040.00417.52
8.1.130.0000.00818.93
8.1.120.0040.00417.30
8.1.110.0070.00017.33
8.1.100.0000.00817.29
8.1.90.0060.00317.45
8.1.80.0030.00617.41
8.1.70.0000.01017.40
8.1.60.0000.01017.59
8.1.50.0050.00317.45
8.1.40.0000.00717.47
8.1.30.0070.00017.57
8.1.20.0000.00717.57
8.1.10.0050.00317.42
8.1.00.0050.00217.34
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.60
8.0.270.0070.00017.32
8.0.260.0000.00917.36
8.0.250.0070.00017.06
8.0.240.0060.00317.04
8.0.230.0000.00717.07
8.0.220.0000.00816.95
8.0.210.0080.00016.86
8.0.200.0000.00716.98
8.0.190.0070.00016.91
8.0.180.0040.00416.87
8.0.170.0030.00516.82
8.0.160.0050.00217.04
8.0.150.0000.00816.91
8.0.140.0070.00016.95
8.0.130.0040.00413.31
8.0.120.0030.00616.79
8.0.110.0080.00016.95
8.0.100.0000.00716.92
8.0.90.0000.00816.85
8.0.80.0170.00416.93
8.0.70.0000.00716.97
8.0.60.0020.00516.94
8.0.50.0040.00416.95
8.0.30.0080.01117.25
8.0.20.0140.00517.40
8.0.10.0030.00516.90
8.0.00.0110.01116.66
7.4.330.0050.00015.55
7.4.320.0070.00016.60
7.4.300.0030.00316.52
7.4.290.0030.00316.56
7.4.280.0040.00516.33
7.4.270.0070.00016.36
7.4.260.0030.00316.43
7.4.250.0050.00216.45
7.4.240.0000.00716.38
7.4.230.0070.00016.55
7.4.220.0000.00816.51
7.4.210.0070.00916.47
7.4.200.0000.00716.30
7.4.160.0090.00716.57
7.4.140.0090.01017.86
7.4.130.0090.00916.38
7.4.120.0080.01116.55
7.4.110.0140.00316.50
7.4.100.0170.00616.25
7.4.90.0100.00716.49
7.4.80.0090.00919.39
7.4.70.0140.00716.48
7.4.60.0110.00616.48
7.4.50.0090.00916.38
7.4.40.0080.01116.48
7.4.00.0070.01014.95
7.3.330.0000.00513.25
7.3.320.0030.00313.05
7.3.310.0030.00316.30
7.3.300.0040.00416.29
7.3.290.0030.00316.32
7.3.280.0070.01116.32
7.3.260.0140.00316.44
7.3.240.0120.00716.52
7.3.230.0100.00716.39
7.3.210.0060.01216.35
7.3.200.0110.01116.19
7.3.190.0120.00616.39
7.3.180.0000.01616.34
7.3.170.0090.00916.29
7.3.160.0030.01316.21
7.2.330.0060.01816.38
7.2.320.0060.01216.38
7.2.310.0140.00416.66
7.2.300.0100.00616.23
7.2.290.0170.00616.70
7.2.60.0260.01014.96
7.2.50.4590.01014.89
7.2.40.0660.00915.07
7.2.31.1520.00715.17
7.2.20.5610.01215.15
7.2.10.0150.00815.54
7.2.00.0120.01315.31
7.1.200.0040.00815.82
7.1.170.0100.01013.73
7.1.160.8620.01116.62
7.1.151.0410.01316.61
7.1.140.0160.01717.20
7.1.130.0160.01516.97
7.1.120.0180.01116.89
7.1.110.0120.01416.24
7.1.100.0190.01516.28
7.1.90.0210.01416.15
7.1.80.0130.01216.26
7.1.70.0130.01115.35
7.1.60.0330.01333.57
7.1.50.0320.01733.02
7.1.40.0450.01132.69
7.1.31.5490.01433.08
7.1.20.9840.01932.88
7.1.10.9380.01114.71
7.1.01.0650.01615.27

preferences:
63.4 ms | 401 KiB | 5 Q