3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string=<<<eos Language, Talysh Language, and Balochi language. The language is in the List of Southwestern Iranian languages group, along with the Larestani dialects, Kumzari language and Luri language languages. eos; //echo strip_tags(file_get_contents('sample.txt')); //echo preg_replace('#^=+([^=]+)=+$#usm','$1',$string); echo preg_replace('#\n#u','xxxx',$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.40.0140.00019.09
8.3.30.0070.00720.29
8.3.20.0040.00420.30
8.3.10.0000.00722.05
8.3.00.0070.00022.39
8.2.170.0100.00722.96
8.2.160.0100.00320.53
8.2.150.0050.00324.18
8.2.140.0060.00924.66
8.2.130.0060.00326.16
8.2.120.0080.00019.88
8.2.110.0040.00422.39
8.2.100.0080.00419.30
8.2.90.0080.00019.05
8.2.80.0060.00319.39
8.2.70.0000.00917.61
8.2.60.0040.00417.91
8.2.50.0060.00318.07
8.2.40.0080.00018.09
8.2.30.0030.00618.10
8.2.20.0080.00017.97
8.2.10.0000.00817.78
8.2.00.0070.00017.83
8.1.270.0080.00020.22
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0000.00823.92
8.1.230.0110.00019.16
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0060.00317.47
8.1.190.0000.00817.28
8.1.180.0060.00318.60
8.1.170.0040.00418.74
8.1.160.0040.00422.16
8.1.150.0000.00818.73
8.1.140.0070.00017.45
8.1.130.0030.00317.76
8.1.120.0030.00317.47
8.1.110.0040.00417.58
8.1.100.0000.00717.57
8.1.90.0050.00217.56
8.1.80.0030.00317.48
8.1.70.0030.00317.52
8.1.60.0030.00617.57
8.1.50.0000.00717.46
8.1.40.0000.00817.66
8.1.30.0000.00817.62
8.1.20.0060.00317.70
8.1.10.0000.00717.64
8.1.00.0040.00417.48
8.0.300.0000.00718.77
8.0.290.0080.00017.18
8.0.280.0000.00818.46
8.0.270.0040.00417.27
8.0.260.0030.00317.16
8.0.250.0000.00617.22
8.0.240.0030.00517.25
8.0.230.0030.00317.20
8.0.220.0000.00717.10
8.0.210.0030.00317.14
8.0.200.0030.00317.07
8.0.190.0050.00217.11
8.0.180.0050.00317.03
8.0.170.0050.00317.09
8.0.160.0040.00416.94
8.0.150.0080.00016.96
8.0.140.0000.00716.96
8.0.130.0060.00013.50
8.0.120.0040.00417.09
8.0.110.0070.00017.13
8.0.100.0000.00717.14
8.0.90.0040.00417.13
8.0.80.0080.00817.16
8.0.70.0050.00317.16
8.0.60.0000.00716.95
8.0.50.0000.00717.02
8.0.30.0100.00817.18
8.0.20.0170.00617.40
8.0.10.0000.00717.05
8.0.00.0130.00816.97
7.4.330.0030.00315.00
7.4.320.0000.00616.74
7.4.300.0000.00616.75
7.4.290.0040.00416.64
7.4.280.0090.00016.75
7.4.270.0040.00416.73
7.4.260.0040.00416.63
7.4.250.0050.00216.72
7.4.240.0030.00316.73
7.4.230.0070.00016.63
7.4.220.0120.00916.87
7.4.210.0080.00816.72
7.4.200.0040.00416.82
7.4.190.0020.00516.46
7.4.160.0080.00816.46
7.4.150.0150.00417.40
7.4.140.0100.01117.86
7.4.130.0040.01316.53
7.4.120.0080.01016.69
7.4.110.0150.00316.75
7.4.100.0040.01216.84
7.4.90.0130.00716.66
7.4.80.0030.01319.39
7.4.70.0090.00916.45
7.4.60.0090.01016.65
7.4.50.0050.00316.52
7.4.40.0050.01022.77
7.4.30.0030.01316.82
7.4.00.0140.00415.13
7.3.330.0060.00013.28
7.3.320.0030.00313.32
7.3.310.0030.00316.56
7.3.300.0070.00016.39
7.3.290.0090.01016.39
7.3.280.0080.01116.42
7.3.270.0170.00017.40
7.3.260.0130.00316.36
7.3.250.0080.01016.50
7.3.240.0100.01016.39
7.3.230.0040.01416.81
7.3.210.0130.00316.43
7.3.200.0040.01219.39
7.3.190.0030.01316.45
7.3.180.0140.00316.61
7.3.170.0060.01116.62
7.3.160.0110.00616.37
7.3.120.0070.01014.81
7.2.330.0100.00716.69
7.2.320.0110.01116.69
7.2.310.0100.00616.73
7.2.300.0060.01116.44
7.2.290.0070.01016.42
7.2.60.0000.01116.86
7.2.00.0000.01619.28
7.1.200.0000.01515.99
7.1.70.0050.00317.30
7.1.60.0000.01017.40
7.1.50.0280.01134.96
7.1.00.0030.03722.49
7.0.200.0030.01216.91
7.0.140.0100.06722.19
7.0.60.0070.06020.00
7.0.50.0070.08317.82
7.0.40.0070.08720.29
7.0.30.0300.06720.32
7.0.20.0230.04720.14
7.0.10.0100.08720.14
7.0.00.0030.06720.05
5.6.280.0000.07321.02
5.6.210.0030.04020.66
5.6.200.0100.08018.12
5.6.190.0030.04720.35
5.6.180.0230.04720.32
5.6.170.0470.06020.39
5.6.160.0100.07020.49
5.6.150.0030.05318.15
5.6.140.0230.06318.12
5.6.130.0000.05018.11
5.6.120.0000.08320.83
5.6.110.0130.08321.13
5.6.100.0130.06721.04
5.6.90.0070.06320.95
5.6.80.0070.07720.28
5.5.350.0300.07020.32
5.5.340.0030.08317.92
5.5.330.0130.07020.07
5.5.320.0100.07720.20
5.5.310.0300.05320.23
5.5.300.0100.07017.98
5.5.290.0100.06317.93
5.5.280.0100.08320.95
5.5.270.0000.05720.74
5.5.260.0030.08320.79
5.5.250.0130.08020.68
5.5.240.0170.08320.22
5.4.450.0170.03319.21
5.4.440.0770.04319.54
5.4.430.0400.04319.41
5.4.420.0730.04719.45
5.4.410.0930.03719.35
5.4.400.0630.03318.89
5.4.390.0630.03719.13
5.4.380.0430.04318.75
5.4.370.0400.05018.71
5.4.360.0330.05718.76
5.4.350.0530.05018.64
5.4.340.0330.05018.46
5.4.320.0070.03612.45
5.4.310.0020.04212.45
5.4.300.0050.03712.45
5.4.290.0040.04112.45
5.4.280.0050.03812.35
5.4.270.0060.03612.34
5.4.260.0080.03612.35
5.4.250.0070.05019.02
5.4.240.0100.06318.92
5.4.230.0100.05318.79
5.4.220.0170.04718.99
5.4.210.0100.05018.91
5.4.200.0230.03718.79
5.4.190.0100.05018.64
5.4.180.0070.05318.88
5.4.170.0100.05318.77
5.4.160.0130.04318.92
5.4.150.0130.06718.69
5.4.140.0100.05016.26
5.4.130.0070.05316.47
5.4.120.0070.05016.32
5.4.110.0030.05716.21
5.4.100.0070.05016.49
5.4.90.0130.04016.35
5.4.80.0200.03316.41
5.4.70.0100.04316.18
5.4.60.0100.05316.37
5.4.50.0100.04716.32
5.4.40.0100.04716.23
5.4.30.0130.04716.44
5.4.20.0100.04716.43
5.4.10.0130.04316.32
5.4.00.0070.04715.91
5.3.290.0070.04012.80
5.3.280.0100.05014.68
5.3.270.0030.05714.37
5.3.260.0100.05014.37
5.3.250.0000.06014.30
5.3.240.0130.04314.61
5.3.230.0100.04714.47
5.3.220.0030.05314.57
5.3.210.0200.04014.48
5.3.200.0030.06314.45
5.3.190.0070.05314.57
5.3.180.0170.04014.57
5.3.170.0030.05014.43
5.3.160.0130.05014.57
5.3.150.0170.04014.57
5.3.140.0070.05714.57
5.3.130.0170.04314.59
5.3.120.0070.06014.38
5.3.110.0100.05014.38
5.3.100.0070.05013.73
5.3.90.0170.04014.02
5.3.80.0070.05314.06
5.3.70.0070.05013.71
5.3.60.0030.05313.85
5.3.50.0000.05713.71
5.3.40.0130.04014.04
5.3.30.0100.04713.69
5.3.20.0270.03713.69
5.3.10.0100.04313.66
5.3.00.0070.05313.65
5.2.170.0000.06711.14
5.2.160.0000.04311.16
5.2.150.0030.04011.29
5.2.140.0070.04011.05
5.2.130.0070.04310.98
5.2.120.0070.03711.10
5.2.110.0070.04011.03
5.2.100.0000.04311.09
5.2.90.0000.04711.11
5.2.80.0000.04311.11
5.2.70.0070.04011.11
5.2.60.0030.04010.98
5.2.50.0070.04310.91
5.2.40.0070.05310.92
5.2.30.0100.04010.97
5.2.20.0130.03010.99
5.2.10.0130.03010.88
5.2.00.0030.04010.81
5.1.60.0000.0379.86
5.1.50.0030.0379.94
5.1.40.0100.03010.20
5.1.30.0070.03310.26
5.1.20.0070.03710.44
5.1.10.0100.03010.12
5.1.00.0100.03010.02
5.0.50.0070.0278.47
5.0.40.0030.0278.33
5.0.30.0000.0478.12
5.0.20.0000.0308.26
5.0.10.0030.0278.18
5.0.00.0030.0408.13
4.4.90.0030.0207.37
4.4.80.0030.0207.37
4.4.70.0070.0177.37
4.4.60.0070.0177.37
4.4.50.0030.0237.37
4.4.40.0030.0307.37
4.4.30.0030.0237.37
4.4.20.0030.0207.37
4.4.10.0030.0207.37
4.4.00.0030.0307.37
4.3.110.0000.0237.37
4.3.100.0070.0177.37
4.3.90.0100.0137.37
4.3.80.0030.0307.37
4.3.70.0030.0207.37
4.3.60.0000.0207.37
4.3.50.0070.0277.37
4.3.40.0000.0337.37
4.3.30.0000.0237.37
4.3.20.0000.0237.37
4.3.10.0070.0177.37
4.3.00.0070.01714.51

preferences:
37.16 ms | 400 KiB | 5 Q