3v4l.org

run code in 300+ PHP versions simultaneously
<?php $setting_result = mb_substitute_character(0x1F636); $decodedText = 'a'.chr(0x81).'b'; print(mb_convert_encoding($decodedText, 'UTF-8', 'ASCII'));

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.5.10.0110.00816.53
8.5.00.0120.00921.51
8.4.150.0010.00114.05
8.4.140.0150.00717.58
8.4.130.0120.00817.81
8.4.120.0150.00520.57
8.4.110.0090.01122.33
8.4.100.0130.00717.53
8.4.90.0120.00920.27
8.4.80.0150.00518.86
8.4.70.0080.01119.00
8.4.60.0070.01320.41
8.4.50.0120.01120.50
8.4.40.0160.00417.68
8.4.30.0450.00717.25
8.4.20.0200.00317.57
8.4.10.0460.00417.56
8.3.280.0020.00014.05
8.3.270.0100.00916.57
8.3.260.0120.00716.47
8.3.250.0090.00918.66
8.3.240.0110.00916.76
8.3.230.0050.00316.54
8.3.220.0110.00718.81
8.3.210.0120.00616.40
8.3.200.0030.00516.79
8.3.190.0090.00917.15
8.3.180.0030.00518.73
8.3.170.0000.00817.01
8.3.160.0360.00816.31
8.3.150.0320.00716.32
8.3.140.0350.00716.18
8.3.130.0300.00716.18
8.3.120.0320.00916.34
8.3.110.0330.00416.38
8.3.100.0440.00916.23
8.3.90.0230.00316.02
8.3.80.0360.01116.13
8.3.70.0270.01516.52
8.3.60.0290.01116.38
8.3.50.0390.00716.24
8.3.40.0340.00617.15
8.3.30.0320.00317.27
8.3.20.0230.01217.31
8.3.10.0310.01617.14
8.3.00.0230.01017.28
8.2.290.0130.00916.71
8.2.280.0150.00518.45
8.2.270.0330.00416.43
8.2.260.0350.00616.67
8.2.250.0270.01416.25
8.2.240.0340.00916.30
8.2.230.0210.01416.36
8.2.220.0340.00616.35
8.2.210.0250.01216.73
8.2.200.0280.00916.57
8.2.190.0330.00316.24
8.2.180.0320.00716.66
8.2.170.0310.01117.64
8.2.160.0300.00717.58
8.2.150.0290.01317.51
8.2.140.0300.00617.57
8.2.130.0420.00317.55
8.2.120.0370.00717.45
8.2.110.0310.01217.38
8.2.100.0200.00317.73
8.2.90.0320.00617.58
8.2.80.0130.00917.50
8.2.70.0320.01117.21
8.2.60.0230.00317.71
8.2.50.0130.00417.63
8.2.40.0310.00717.52
8.2.30.0290.01317.41
8.2.20.0230.01517.21
8.2.10.0320.00317.31
8.2.00.0240.01517.57
8.1.320.0110.00816.08
8.0.300.0210.00816.63

preferences:
61.39 ms | 403 KiB | 5 Q