3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "\u263a\ufe0f"; var_dump(preg_replace('/\\\\u([0-9A-Za-z]{4})\\\\u([0-9A-Za-z]{4})/', ' $1$2', $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.0110.00718.56
8.3.50.0000.01616.63
8.3.40.0120.00318.67
8.3.30.0060.00918.71
8.3.20.0030.00718.80
8.3.10.0050.00221.66
8.3.00.0000.00823.45
8.2.180.0130.00318.67
8.2.170.0030.01222.96
8.2.160.0070.00719.08
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00721.24
8.2.120.0000.00726.35
8.2.110.0110.00022.37
8.2.100.0090.00617.59
8.2.90.0040.00417.63
8.2.80.0040.00417.97
8.2.70.0040.00417.90
8.2.60.0000.00818.03
8.2.50.0030.00518.10
8.2.40.0050.00321.14
8.2.30.0040.00420.55
8.2.20.0000.00717.95
8.2.10.0040.00417.88
8.2.00.0030.00517.88
8.1.280.0070.00725.92
8.1.270.0080.00020.33
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00019.13
8.1.230.0060.00617.64
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0060.00319.00
8.1.180.0030.00618.10
8.1.170.0040.00418.77
8.1.160.0040.00418.79
8.1.150.0040.00418.87
8.1.140.0000.00718.89
8.1.130.0030.00620.39
8.1.120.0070.00017.47
8.1.110.0040.00417.55
8.1.100.0000.00717.56
8.1.90.0080.00017.38
8.1.80.0030.00617.50
8.1.70.0040.00417.52
8.1.60.0060.00317.55
8.1.50.0040.00417.65
8.1.40.0030.00517.51
8.1.30.0040.00417.72
8.1.20.0020.00517.63
8.1.10.0050.00317.55
8.1.00.0000.01017.42
8.0.300.0030.00718.77
8.0.290.0070.00216.75
8.0.280.0000.00718.37
8.0.270.0050.00316.91
8.0.260.0060.00021.88
8.0.250.0000.00816.95
8.0.240.0000.00617.02
8.0.230.0030.00316.93
8.0.220.0000.00716.83
8.0.210.0000.00717.03
8.0.200.0060.00016.99
8.0.190.0070.00016.91
8.0.180.0000.00817.01
8.0.170.0050.00317.04
8.0.160.0020.00516.99
8.0.150.0070.00016.79
8.0.140.0070.00016.95
8.0.130.0050.00013.40
8.0.120.0040.00416.84
8.0.110.0000.00916.88
8.0.100.0040.00416.94
8.0.90.0070.00016.96
8.0.80.0080.00916.93
8.0.70.0040.00416.98
8.0.60.0030.00516.97
8.0.50.0040.00416.97
8.0.30.0090.01017.23
8.0.20.0120.00617.43
8.0.10.0050.00316.99
8.0.00.0060.01316.96
7.4.330.0030.00315.55
7.4.320.0060.00016.66
7.4.300.0060.00016.66
7.4.290.0030.00316.63
7.4.280.0000.00716.68
7.4.270.0070.00016.65
7.4.260.0050.00516.66
7.4.250.0040.00416.51
7.4.240.0040.00416.73
7.4.230.0030.00316.72
7.4.220.0050.00316.62
7.4.210.0030.01416.74
7.4.200.0050.00216.56
7.4.160.0080.01016.60
7.4.140.0080.01117.86
7.4.130.0100.01416.58
7.4.120.0080.01116.66
7.4.110.0130.00316.76
7.4.100.0120.00616.70
7.4.90.0040.01516.58
7.4.80.0150.00319.39
7.4.70.0100.00916.70
7.4.60.0070.01416.57
7.4.50.0100.00716.62
7.4.40.0120.00616.44
7.4.00.0100.00714.95
7.3.330.0050.00013.17
7.3.320.0000.00513.17
7.3.310.0000.00616.24
7.3.300.0040.00416.18
7.3.290.0040.00416.19
7.3.280.0090.00616.27
7.3.260.0110.00916.36
7.3.240.0060.01116.43
7.3.230.0150.00316.64
7.3.210.0130.00616.52
7.3.200.0070.01016.64
7.3.190.0110.00516.19
7.3.180.0160.00616.60
7.3.170.0070.01016.47
7.3.160.0070.01016.42
7.2.330.0110.00616.47
7.2.320.0110.01416.74
7.2.310.0110.00716.50
7.2.300.0050.01116.67
7.2.290.0070.01116.70
7.2.100.1360.01014.89
7.2.90.1150.00014.77
7.2.80.1050.01014.65
7.2.70.1050.00314.77
7.2.60.1160.00315.07
7.2.50.1470.00514.91
7.2.40.1380.00614.99
7.2.30.1690.00315.11
7.2.20.1150.00315.04
7.2.10.1250.00014.72
7.2.00.1060.01015.12
7.1.220.1200.00613.93
7.1.210.1220.01013.91
7.1.200.1390.00613.80
7.1.190.0970.00614.01
7.1.180.1310.01313.84
7.1.170.1390.00314.00
7.1.160.2060.00314.11
7.1.150.0680.00613.76
7.1.140.1310.00313.90
7.1.130.1290.01013.86
7.1.120.1110.00613.91
7.1.110.1150.01013.93
7.1.100.1370.01013.78
7.1.90.1030.00713.80
7.1.80.1330.00713.63
7.1.70.1040.00713.91
7.1.60.1450.02131.77
7.1.50.0990.00732.15
7.1.40.1280.01332.08
7.1.30.1250.01331.89
7.1.20.1390.01031.75
7.1.10.1130.00313.94
7.1.00.0940.00713.94
5.6.380.0060.00914.20

preferences:
32.35 ms | 400 KiB | 5 Q