3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text='<p > ¡Esto es una prueba! < /p > <p> <strong > Prueba 123 </strong> </p> <p> <strong> <a href="https://matricom.net"> MATRICOM < / a> </ strong> </p> <p> <strong > Todas las pruebas aquí ... </strong > < /p>'; echo preg_replace_callback('/<[^<>]+>/u', function($m) { return str_replace(' ', '', $m[0]); }, $text);

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.110.0030.00616.84
8.3.100.0030.00616.83
8.3.90.0040.00426.77
8.3.80.0060.00316.75
8.3.70.0130.00716.75
8.3.60.0110.00716.75
8.3.50.0100.00524.61
8.3.40.0110.00720.30
8.3.30.0110.00718.79
8.3.20.0030.00620.50
8.3.10.0050.00220.14
8.3.00.0080.00020.64
8.2.230.0090.00020.94
8.2.220.0030.00624.06
8.2.210.0080.00026.77
8.2.200.0030.00616.88
8.2.190.0100.00716.75
8.2.180.0110.00425.92
8.2.170.0120.00619.26
8.2.160.0100.00321.24
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0030.00519.95
8.2.110.0090.00021.12
8.2.100.0110.00317.82
8.2.90.0000.00917.88
8.2.80.0000.00818.88
8.2.70.0050.00317.75
8.2.60.0000.00817.87
8.2.50.0060.00318.05
8.2.40.0000.00818.22
8.2.30.0040.00419.52
8.2.20.0000.00718.11
8.2.10.0000.00719.32
8.2.00.0040.00419.34
8.1.290.0060.00930.84
8.1.280.0240.00025.92
8.1.270.0030.00524.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.00023.90
8.1.230.0120.00022.63
8.1.220.0000.00817.77
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0050.00317.62
8.1.160.0000.00822.09
8.1.150.0070.00018.91
8.1.140.0040.00418.97
8.1.130.0000.00721.98
8.1.120.0040.00417.63
8.1.110.0040.00417.63
8.1.100.0000.00817.56
8.1.90.0020.00517.56
8.1.80.0040.00417.63
8.1.70.0040.00417.49
8.1.60.0030.00517.72
8.1.50.0000.00817.56
8.1.40.0000.00817.66
8.1.30.0040.00417.70
8.1.20.0080.00017.79
8.1.10.0000.00817.72
8.1.00.0030.00617.76
8.0.300.0000.00720.45
8.0.290.0030.00616.88
8.0.280.0000.00718.47
8.0.270.0050.00218.30
8.0.260.0000.00620.01
8.0.250.0070.00017.16
8.0.240.0000.00717.20
8.0.230.0040.00416.98
8.0.220.0000.00816.98
8.0.210.0030.00317.01
8.0.200.0020.00517.04
8.0.190.0060.00317.16
8.0.180.0060.00317.04
8.0.170.0070.00317.18
8.0.160.0070.00017.14
8.0.150.0040.00417.12
8.0.140.0000.00717.07
8.0.130.0000.00513.56
8.0.120.0000.00716.98
8.0.110.0000.00817.00
8.0.100.0040.00417.17
8.0.90.0030.00616.98
8.0.80.0030.01217.16
8.0.70.0040.00417.16
8.0.60.0000.00817.01
8.0.50.0040.00416.99
8.0.30.0130.00317.32
8.0.20.0110.00717.21
8.0.10.0090.01117.09
8.0.00.0120.00917.08
7.4.330.0050.00015.55
7.4.320.0000.00616.81
7.4.300.0030.00316.79
7.4.290.0000.00716.82
7.4.280.0040.00416.73
7.4.270.0080.00016.83
7.4.260.0000.00513.52
7.4.250.0000.00816.80
7.4.240.0000.00716.73
7.4.230.0040.00416.65
7.4.220.0050.00216.80
7.4.210.0050.01016.82
7.4.200.0080.00016.86
7.4.150.0120.00716.77
7.4.140.0080.01116.66
7.4.130.0110.00716.70
7.4.120.0080.00916.59
7.4.110.0100.01116.54
7.4.100.0110.00716.78
7.4.90.0110.00716.58
7.4.80.0160.00417.52
7.4.70.0120.00816.73
7.4.60.0090.00916.67
7.4.50.0130.00516.58
7.4.40.0090.01016.65
7.4.30.0100.00716.53
7.4.20.0110.00616.44
7.4.10.0090.00716.61
7.4.00.0120.00616.69
7.3.330.0000.00716.55
7.3.320.0000.00613.34
7.3.310.0030.00316.41
7.3.300.0030.00316.59
7.3.290.0090.00816.46
7.3.280.0040.01216.47
7.3.270.0100.01016.56
7.3.260.0120.00816.51
7.3.250.0090.01016.48
7.3.240.0090.00816.51
7.3.230.0110.00916.55
7.3.220.0130.00516.55
7.3.210.0090.00816.60
7.3.200.0060.01216.54
7.3.190.0100.00816.52
7.3.180.0110.00816.47
7.3.170.0150.00216.48
7.3.160.0100.00816.53
7.3.150.0120.00616.56
7.3.140.0120.00716.52
7.3.130.0080.01116.65
7.3.120.0090.00816.40
7.3.110.0090.00916.49
7.3.100.0060.01116.35
7.3.90.0090.00916.45
7.3.80.0110.01116.62
7.3.70.0100.00916.48
7.3.60.0120.01316.44
7.3.50.0120.00616.45
7.3.40.0140.00616.47
7.3.30.0110.01316.41
7.3.20.0150.00817.03
7.3.10.0080.01217.10
7.3.00.0120.00917.13
7.2.340.0120.01116.74
7.2.330.0180.01016.69
7.2.320.0190.01016.74
7.2.310.0150.01216.81
7.2.300.0200.00516.64
7.2.290.0150.00916.83
7.2.280.0150.01116.62
7.2.270.0160.01116.76
7.2.260.0180.00716.68
7.2.250.0110.01216.75
7.2.240.0180.00816.59
7.2.230.0180.00916.57
7.2.220.0170.01016.70
7.2.210.0190.00716.66
7.2.200.0180.01116.67
7.2.190.0160.01216.70
7.2.180.0190.00816.52
7.2.170.0210.00916.61
7.2.160.0170.01016.50
7.2.150.0210.01117.25
7.2.140.0230.00317.24
7.2.130.0170.00717.21
7.2.120.0090.01617.31
7.2.110.0220.00517.31
7.2.100.0100.01117.26
7.2.90.0180.00617.23
7.2.80.0160.01017.25
7.2.70.0200.00817.32
7.2.60.0210.00817.17
7.2.50.0160.01017.22
7.2.40.0160.01017.32
7.2.30.0100.01617.33
7.2.20.0210.00717.25
7.2.10.0150.01217.29
7.2.00.0260.01317.20

preferences:
69.2 ms | 403 KiB | 5 Q