3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = " muito bom parabéns 😤 AND r0_.avaliacao = 'Parabéns 😤' "; $str = 'Muito bom, parabpens.'; $str_encoding = mb_detect_encoding($str, 'auto'); $str_name = iconv($str_encoding, 'UTF-8', $str); $str_name = preg_replace('/[^\p{L}\p{N}\s]\w/u', '', $str); print($str_name);

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.00916.88
8.3.50.0070.01222.13
8.3.40.0120.00319.03
8.3.30.0150.00018.79
8.3.20.0000.00820.13
8.3.10.0080.00021.85
8.3.00.0080.00023.71
8.2.180.0070.00716.88
8.2.170.0110.00322.96
8.2.160.0100.01020.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00819.88
8.2.120.0030.00826.35
8.2.110.0090.00021.00
8.2.100.0120.00017.93
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0040.00417.88
8.2.60.0040.00418.16
8.2.50.0030.00618.07
8.2.40.0030.00522.13
8.2.30.0000.00719.41
8.2.20.0040.00418.06
8.2.10.0070.00018.34
8.2.00.0000.00718.38
8.1.280.0110.00425.92
8.1.270.0110.00720.43
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0050.00522.46
8.1.230.0040.00819.21
8.1.220.0030.00517.79
8.1.210.0080.00018.77
8.1.200.0080.00017.48
8.1.190.0000.00817.38
8.1.180.0030.00518.10
8.1.170.0040.00418.64
8.1.160.0000.00720.91
8.1.150.0080.00018.91
8.1.140.0000.00717.68
8.1.130.0030.00317.84
8.1.120.0000.00717.65
8.1.110.0000.00817.52
8.1.100.0030.00517.56
8.1.90.0050.00317.66
8.1.80.0000.00717.50
8.1.70.0000.00717.60
8.1.60.0060.00317.73
8.1.50.0030.00517.68
8.1.40.0040.00417.60
8.1.30.0030.00517.72
8.1.20.0040.00417.84
8.1.10.0000.00817.77
8.1.00.0040.00417.70
8.0.300.0040.00418.77
8.0.290.0000.00916.88
8.0.280.0030.00418.59
8.0.270.0000.00717.11
8.0.260.0030.00317.22
8.0.250.0040.00417.22
8.0.240.0000.00817.13
8.0.230.0000.00817.06
8.0.220.0000.00717.07
8.0.210.0070.00017.05
8.0.200.0050.00317.18
8.0.190.0040.00417.09
8.0.180.0050.00317.14
8.0.170.0000.00817.16
8.0.160.0020.00517.08
8.0.150.0000.00717.08
8.0.140.0000.00716.96
8.0.130.0060.00013.45
8.0.120.0100.00017.29
8.0.110.0000.00917.34
8.0.100.0030.00617.30
8.0.90.0000.00917.18
8.0.80.0070.01117.35
8.0.70.0030.00617.11
8.0.60.0090.00017.31
8.0.50.0000.00917.25
8.0.30.0120.01117.49
8.0.20.0150.00817.43
8.0.10.0090.00017.22
8.0.00.0100.01117.11
7.4.330.0020.00216.83
7.4.320.0070.00016.90
7.4.300.0080.00016.80
7.4.290.0000.00716.70
7.4.280.0090.00016.79
7.4.270.0040.00316.77
7.4.260.0040.00416.88
7.4.250.0030.00616.90
7.4.240.0020.00716.90
7.4.230.0040.00417.12
7.4.220.0150.00617.01
7.4.210.0090.00917.01
7.4.200.0030.00616.89
7.4.160.0070.01116.97
7.4.150.0100.01017.40
7.4.140.0160.00617.86
7.4.130.0050.01616.75
7.4.120.0170.00516.80
7.4.110.0130.01416.84
7.4.100.0140.01416.81
7.4.90.0140.00716.97
7.4.80.0150.00919.39
7.4.70.0130.01216.81
7.4.60.0150.00716.76
7.4.50.0080.01616.47
7.4.40.0100.01716.67
7.4.30.0110.01416.48
7.4.20.0060.01916.75
7.4.10.0040.02116.57
7.4.00.0060.01215.94
7.3.330.0050.00013.16
7.3.320.0000.00513.23
7.3.310.0040.00416.48
7.3.300.0040.00416.52
7.3.290.0120.00916.63
7.3.280.0060.01116.65
7.3.270.0040.01517.40
7.3.260.0040.01616.56
7.3.240.0140.00816.59
7.3.230.0150.01216.53
7.3.210.0030.01616.75
7.3.200.0060.01316.84
7.3.190.0070.02016.68
7.3.180.0160.00616.52
7.3.170.0150.01116.60
7.3.160.0170.00516.62
7.3.150.0100.01416.54
7.3.140.0150.00916.53
7.3.130.0160.00916.55
7.3.120.0150.01016.65
7.3.110.0040.02016.45
7.3.100.0150.01216.42
7.3.90.0210.00416.88
7.3.80.0200.00816.55
7.3.70.0200.00916.59
7.3.60.0150.01416.54
7.3.50.0150.00816.47
7.3.40.0130.01016.58
7.3.30.0090.01216.70
7.3.20.0080.01516.77
7.3.10.0120.01516.57
7.3.00.0160.01316.65
7.2.330.0030.02016.84
7.2.320.0130.01316.75
7.2.310.0120.01216.77
7.2.300.0220.00516.76
7.2.290.0120.00816.89
7.2.280.0190.00616.56
7.2.270.0080.01816.70
7.2.260.0040.01916.77
7.2.250.0160.00816.61
7.2.240.0130.01317.04
7.2.230.0080.01616.83
7.2.220.0240.00816.79
7.2.210.0250.00616.94
7.2.200.0160.01216.95
7.2.190.0260.00716.75
7.2.180.0120.01216.54
7.2.170.0090.01316.81
7.2.160.0150.00816.87
7.2.150.0080.01716.78
7.2.140.0150.01116.87
7.2.130.0090.01416.84
7.2.120.0390.01416.66
7.2.110.0100.01316.98
7.2.100.0130.00716.86
7.2.90.0140.00716.67
7.2.80.0120.00916.70
7.2.70.0060.01516.62
7.2.60.0120.01216.94
7.2.50.0110.01116.70
7.2.40.0090.01216.68
7.2.30.0130.01316.89
7.2.20.0150.00916.90
7.2.10.0160.00816.58
7.2.00.0070.01318.14
7.1.330.0470.00715.95
7.1.320.0200.01815.93
7.1.310.0260.00515.99
7.1.300.0130.01715.85
7.1.290.0230.00815.88
7.1.280.0170.01415.73
7.1.270.0240.01015.95
7.1.260.0390.00315.95
7.1.250.0250.00715.88
7.1.240.0220.00616.01
7.1.230.0190.01615.93
7.1.220.0230.01115.92
7.1.210.0210.00815.91
7.1.200.0080.01016.12
7.1.190.0240.00615.93
7.1.180.0130.01715.96
7.1.170.0240.00615.88
7.1.160.0240.00515.94
7.1.150.0130.01615.90
7.1.140.0210.00915.96
7.1.130.0270.00415.96
7.1.120.0210.01615.99
7.1.110.0230.00815.82
7.1.100.0240.01016.89
7.1.90.0160.00515.95
7.1.80.0200.01015.86
7.1.70.0130.00816.54
7.1.60.0820.01217.67
7.1.50.0110.01016.73
7.1.40.0170.00015.91
7.1.30.0150.00415.77
7.1.20.0070.01015.96
7.1.10.0030.01415.96
7.1.00.0070.04419.18
7.0.330.0240.00715.63
7.0.320.0170.01215.65
7.0.310.0060.01115.57
7.0.300.0320.01115.48
7.0.290.0170.01415.46
7.0.280.0230.00315.38
7.0.270.0140.01415.39
7.0.260.0520.00815.54
7.0.250.0130.01915.62
7.0.240.0110.00715.57
7.0.230.0250.00315.69
7.0.220.0200.01015.74
7.0.210.0210.00815.58
7.0.200.0040.01016.40
7.0.190.0130.00315.49
7.0.180.0110.00715.63
7.0.170.0070.01015.64
7.0.160.0070.01015.51
7.0.150.0130.00415.75
7.0.140.0070.01015.47
7.0.130.0180.00015.77
7.0.120.0030.01415.64
7.0.110.0070.01015.53
7.0.100.0160.01215.54
7.0.90.0130.01315.60
7.0.80.1020.01015.81
7.0.70.0170.00715.63
7.0.60.0150.04118.72
7.0.50.0890.04216.75
7.0.40.0070.03517.93
7.0.30.0180.03217.92
7.0.20.0230.04217.94
7.0.10.0180.04217.90
7.0.00.0160.04617.85
5.6.400.0170.01816.31
5.6.390.0290.00416.29
5.6.380.0140.01516.33
5.6.370.0100.01015.96
5.6.360.0270.00316.10
5.6.350.0170.01416.10
5.6.340.0090.02216.09
5.6.330.0230.00815.93
5.6.320.0170.01415.88
5.6.310.0120.02016.14
5.6.300.0040.01616.20
5.6.290.0140.00715.93
5.6.280.0060.02118.67
5.6.270.0120.00816.21
5.6.260.0160.01316.01
5.6.250.0230.00716.45
5.6.240.0170.01215.96
5.6.230.0190.01016.18
5.6.220.0140.01416.06
5.6.210.0180.03918.36
5.6.200.0110.04117.23
5.6.190.0060.02818.56
5.6.180.0250.04618.29
5.6.170.0160.04918.34
5.6.160.0120.04918.43
5.6.150.0160.04217.18
5.6.140.0130.02917.15
5.6.130.0150.02517.24
5.6.120.0140.04318.59
5.6.110.0190.04618.54
5.6.100.0170.03718.63
5.6.90.0150.03618.68
5.6.80.0120.04418.27
5.6.70.0160.00915.98
5.6.60.0200.00916.03
5.6.50.0180.01116.02
5.6.40.0170.01115.88
5.6.30.0170.01315.84
5.6.20.0170.01215.85
5.6.10.0180.01215.91
5.6.00.0080.01416.03
5.5.380.0110.01815.94
5.5.370.0090.01915.89
5.5.360.0170.01016.25
5.5.350.2350.02118.35
5.5.340.0030.04017.18
5.5.330.0090.02418.21
5.5.320.0300.02618.25
5.5.310.0170.04518.25
5.5.300.0080.02816.96
5.5.290.0100.04017.04
5.5.280.0140.03918.42
5.5.270.0080.02918.35
5.5.260.0140.04918.52
5.5.250.0160.04318.31
5.5.240.0130.03918.09
5.5.230.0170.01015.93
5.5.220.0210.00716.09
5.5.210.0170.01116.02
5.5.200.0150.01515.96
5.5.190.0260.00515.78
5.5.180.0160.01616.02
5.5.170.0160.01415.80
5.5.160.0160.00615.85
5.5.150.0100.01415.73
5.5.140.0090.01516.11
5.5.130.0160.00916.03
5.5.120.0070.01815.99
5.5.110.0070.01415.88
5.5.100.0140.00615.89
5.5.90.0060.01515.81
5.5.80.0090.01215.87
5.5.70.0140.00815.86
5.5.60.0060.01515.94
5.5.50.0160.02015.91
5.5.40.0200.01415.93
5.5.30.0240.01315.85
5.5.20.0120.02515.84
5.5.10.0160.01316.02
5.5.00.0170.01315.80

preferences:
58.72 ms | 401 KiB | 5 Q