3v4l.org

run code in 300+ PHP versions simultaneously
<?php // your code goes here $test = "moind3re pro_blème"; //if (preg_match("/^[a-zA-Z\x00C0-\x017F]/u", $test, $matches)) var_dump (filter_var($test, FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW));

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.70.0090.00918.30
8.3.60.0120.00618.30
8.3.50.0100.00821.92
8.3.40.0070.01318.50
8.3.30.0110.00418.79
8.3.20.0000.00720.04
8.3.10.0050.00321.50
8.3.00.0000.00817.55
8.2.180.0070.01116.50
8.2.170.0090.00622.96
8.2.160.0100.00320.19
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.01426.16
8.2.120.0040.00419.66
8.2.110.0060.00322.21
8.2.100.0120.00017.78
8.2.90.0000.00719.17
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0040.00419.53
8.2.30.0100.00017.87
8.2.20.0040.00417.53
8.2.10.0040.00418.05
8.2.00.0080.00017.59
8.1.280.0080.00825.92
8.1.270.0060.00323.96
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00623.96
8.1.230.0060.00619.09
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0000.01117.22
8.1.190.0060.00317.10
8.1.180.0030.00518.10
8.1.170.0000.00818.28
8.1.160.0030.00521.92
8.1.150.0040.00418.71
8.1.140.0060.00317.34
8.1.130.0000.00717.91
8.1.120.0050.00217.39
8.1.110.0040.00417.39
8.1.100.0030.00417.36
8.1.90.0070.00017.38
8.1.80.0040.00417.30
8.1.70.0030.00317.23
8.1.60.0080.00017.52
8.1.50.0040.00417.41
8.1.40.0000.00717.36
8.1.30.0040.00417.58
8.1.20.0000.00817.56
8.1.10.0000.00817.53
8.1.00.0080.00017.32
8.0.300.0030.00618.77
8.0.290.0030.00616.58
8.0.280.0080.00018.27
8.0.270.0030.00317.18
8.0.260.0000.00617.13
8.0.250.0060.00016.95
8.0.240.0050.00316.86
8.0.230.0040.00416.83
8.0.220.0000.00716.65
8.0.210.0030.00316.85
8.0.200.0050.00516.90
8.0.190.0040.00416.84
8.0.180.0080.00016.86
8.0.170.0000.00716.82
8.0.160.0030.00316.80
8.0.150.0030.00416.72
8.0.140.0000.00716.76
8.0.130.0030.00313.23
8.0.120.0060.00316.79
8.0.110.0040.00416.80
8.0.100.0030.00516.76
8.0.90.0040.00416.72
8.0.80.0080.00816.80
8.0.70.0050.00316.78
8.0.60.0000.00716.69
8.0.50.0070.00016.87
8.0.30.0130.01316.96
8.0.20.0090.01017.40
8.0.10.0000.00716.90
8.0.00.0060.01116.67
7.4.330.0020.00215.03
7.4.320.0030.00316.57
7.4.300.0030.00316.37
7.4.290.0000.00816.35
7.4.280.0040.00416.43
7.4.270.0000.00816.45
7.4.260.0100.00016.41
7.4.250.0070.00016.49
7.4.240.0050.00216.42
7.4.230.0030.00316.61
7.4.220.0100.00716.39
7.4.210.0090.00616.47
7.4.200.0000.00716.28
7.4.160.0160.00016.27
7.4.150.0040.01317.40
7.4.140.0130.00517.86
7.4.130.0130.00716.25
7.4.120.0110.00716.37
7.4.110.0130.00316.51
7.4.100.0090.01316.43
7.4.90.0230.00216.35
7.4.80.0070.01019.39
7.4.70.0130.00316.57
7.4.60.0070.01016.24
7.4.50.0060.00316.52
7.4.40.0100.00716.45
7.4.30.0060.00916.51
7.4.00.0070.01014.93
7.3.330.0030.00312.96
7.3.320.0000.00512.99
7.3.310.0070.00016.06
7.3.300.0070.00015.98
7.3.290.0070.00716.04
7.3.280.0120.00416.15
7.3.270.0120.00317.40
7.3.260.0090.00916.31
7.3.240.0100.00716.29
7.3.230.0100.00716.43
7.3.210.0110.00716.05
7.3.200.0090.00619.39
7.3.190.0160.00316.15
7.3.180.0130.00616.18
7.3.170.0070.01016.27
7.3.160.0100.00616.09
7.3.120.0000.01414.73
7.2.330.0120.00916.39
7.2.320.0090.00616.60
7.2.310.0040.01416.35
7.2.300.0100.00716.30
7.2.290.0060.01016.29
7.2.60.0100.00616.86
7.2.00.0060.00919.09
7.1.200.0000.01515.54
7.1.100.0030.00717.90
7.1.70.0000.01116.96
7.1.60.0100.01419.25
7.1.50.0070.01416.93
7.1.00.0030.07722.43
7.0.200.0000.00816.73
7.0.140.0000.07322.07
7.0.60.0030.08320.06
7.0.50.0100.08017.80
7.0.40.0030.08720.02
7.0.30.0200.04720.14
7.0.20.0230.03720.16
7.0.10.0000.04720.04
7.0.00.0000.09320.16
5.6.280.0030.07320.89
5.6.210.0130.07020.68
5.6.200.0070.06718.16
5.6.190.0100.08320.35
5.6.180.0270.07320.67
5.6.170.0300.07720.49
5.6.160.0130.04020.48
5.6.150.0070.08018.07
5.6.140.0100.07718.13
5.6.130.0100.06018.22
5.6.120.0000.07721.14
5.6.110.0170.07721.00
5.6.100.0170.07020.97
5.6.90.0030.08020.96
5.6.80.0030.08720.50
5.5.350.0070.08720.34
5.5.340.0070.05017.96
5.5.330.0170.07020.21
5.5.320.0400.06720.13
5.5.310.0300.07020.42
5.5.300.0100.07317.98
5.5.290.0100.07017.98
5.5.280.0070.05320.86
5.5.270.0100.03720.96
5.5.260.0070.09020.82
5.5.250.0070.03720.58
5.5.240.0270.07020.23
5.4.450.0400.04319.23
5.4.440.0630.04719.57
5.4.430.0370.05019.41
5.4.420.0370.04319.41
5.4.410.0300.04319.33
5.4.400.0300.03719.09
5.4.390.0330.04718.90
5.4.380.0970.05018.61
5.4.370.0900.05718.68
5.4.360.0630.06018.71
5.4.350.0930.05318.49
5.4.340.0570.05018.69
5.4.320.0060.03512.45
5.4.310.0100.03912.45
5.4.300.0080.04512.45
5.4.290.0050.04212.45
5.4.280.0120.03712.35
5.4.270.0050.04112.34
5.4.260.0040.03912.34
5.4.250.0100.03412.35
5.4.240.0070.03612.34
5.4.230.0070.04012.34
5.4.220.0090.04112.34
5.4.210.0070.03912.34
5.4.200.0100.04412.34
5.4.190.0050.04812.34
5.4.180.0100.04212.33
5.4.170.0080.03412.34
5.4.160.0070.04012.34
5.4.150.0050.03812.34
5.4.140.0080.04112.02
5.4.130.0060.03612.01
5.4.120.0100.04911.96
5.4.110.0130.03511.96
5.4.100.0050.05311.96
5.4.90.0070.04011.96
5.4.80.0120.04211.96
5.4.70.0100.04111.96
5.4.60.0090.04711.96
5.4.50.0100.04611.96
5.4.40.0130.04211.95
5.4.30.0100.04511.95
5.4.20.0070.04311.95
5.4.10.0070.03711.95
5.4.00.0060.03411.43
5.3.290.0050.03912.80
5.3.280.0070.04912.71
5.3.270.0080.04812.72
5.3.260.0040.04112.72
5.3.250.0100.04212.72
5.3.240.0100.03612.72
5.3.230.0050.04412.71
5.3.220.0110.03712.68
5.3.210.0110.04412.68
5.3.200.0070.03712.68
5.3.190.0080.03912.68
5.3.180.0080.04012.67
5.3.170.0050.04612.67
5.3.160.0060.03612.68
5.3.150.0110.03512.67
5.3.140.0080.04612.66
5.3.130.0070.04112.66
5.3.120.0040.04612.66
5.3.110.0050.04412.65
5.3.100.0050.03812.12
5.3.90.0050.04312.08
5.3.80.0060.03712.08
5.3.70.0080.03712.07
5.3.60.0050.03812.06
5.3.50.0020.04112.00
5.3.40.0040.04112.00
5.3.30.0060.03711.94
5.3.20.0060.04311.72
5.3.10.0090.03611.69
5.3.00.0070.03611.67
5.2.170.0050.0349.18
5.2.160.0050.0319.18
5.2.150.0100.0329.18
5.2.140.0080.0299.17
5.2.130.0040.0299.14
5.2.120.0040.0329.14
5.2.110.0080.0279.14
5.2.100.0070.0289.13
5.2.90.0080.0279.14
5.2.80.0060.0309.13
5.2.70.0070.0289.13
5.2.60.0060.0289.08
5.2.50.0060.0319.05
5.2.40.0040.0309.03
5.2.30.0060.0289.00
5.2.20.0100.0298.99
5.2.10.0060.0308.92
5.2.00.0050.0328.77
5.1.60.0070.0288.07
5.1.50.0050.0278.06
5.1.40.0030.0278.04
5.1.30.0040.0318.39
5.1.20.0050.0268.41
5.1.10.0050.0258.14
5.1.00.0050.0328.14
5.0.50.0020.0246.61
5.0.40.0030.0266.48
5.0.30.0070.0306.29
5.0.20.0060.0186.26
5.0.10.0060.0206.24
5.0.00.0020.0346.23
4.4.90.0020.0244.78
4.4.80.0020.0194.75
4.4.70.0020.0194.75
4.4.60.0040.0174.75
4.4.50.0030.0174.77
4.4.40.0070.0344.71
4.4.30.0060.0224.76
4.4.20.0020.0224.85
4.4.10.0020.0204.85
4.4.00.0030.0274.76
4.3.110.0020.0174.67
4.3.100.0030.0214.66
4.3.90.0060.0154.64
4.3.80.0050.0264.58
4.3.70.0030.0204.63
4.3.60.0000.0224.63
4.3.50.0040.0184.62
4.3.40.0020.0264.53
4.3.30.0010.0173.27
4.3.20.0010.0193.25
4.3.10.0020.0183.22
4.3.00.0000.01315.27

preferences:
41.68 ms | 401 KiB | 5 Q