3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "3 624,00 K\u010d"; echo mb_convert_encoding($a, 'UTF-8');

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.40.0140.00718.67
8.3.30.0120.00318.51
8.3.20.0050.00219.09
8.3.10.0000.00723.70
8.3.00.0000.00720.73
8.2.170.0060.01222.96
8.2.160.0100.01022.34
8.2.150.0060.00324.18
8.2.140.0000.00724.66
8.2.130.0000.00818.00
8.2.120.0040.00426.35
8.2.110.0030.00620.37
8.2.100.0090.00317.78
8.2.90.0050.00317.75
8.2.80.0050.00317.97
8.2.70.0050.00317.93
8.2.60.0000.00718.09
8.2.50.0030.00618.10
8.2.40.0070.00019.46
8.2.30.0030.00519.14
8.2.20.0040.00418.07
8.2.10.0040.00417.98
8.2.00.0080.00017.64
8.1.270.0050.00318.90
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00424.00
8.1.230.0090.00617.45
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0060.00317.00
8.1.180.0050.00318.10
8.1.170.0040.00418.40
8.1.160.0000.00818.94
8.1.150.0000.00718.83
8.1.140.0040.00422.16
8.1.130.0030.00321.94
8.1.120.0030.00317.44
8.1.110.0000.00717.33
8.1.100.0000.00717.32
8.1.90.0060.00317.44
8.1.80.0040.00417.34
8.1.70.0000.00717.34
8.1.60.0040.00417.62
8.1.50.0000.00817.53
8.1.40.0040.00417.39
8.1.30.0040.00417.70
8.1.20.0040.00417.52
8.1.10.0030.00517.54
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00318.48
8.0.270.0030.00317.30
8.0.260.0030.00318.50
8.0.250.0040.00417.05
8.0.240.0000.00716.98
8.0.230.0030.00316.83
8.0.220.0000.00716.76
8.0.210.0040.00416.76
8.0.200.0000.00816.80
8.0.190.0070.00016.96
8.0.180.0030.00516.82
8.0.170.0080.00016.96
8.0.160.0070.00016.91
8.0.150.0000.00716.77
8.0.140.0000.00716.82
8.0.130.0030.00313.26
8.0.120.0080.00016.73
8.0.110.0040.00416.74
8.0.100.0070.00016.85
8.0.90.0000.00716.86
8.0.80.0050.01116.85
8.0.70.0040.00416.74
8.0.60.0040.00416.89
8.0.50.0000.00816.80
8.0.30.0070.01017.10
8.0.20.0120.00617.40
8.0.10.0070.00017.04
8.0.00.0100.00816.78
7.4.330.0000.00515.55
7.4.320.0060.00016.59
7.4.300.0030.00316.39
7.4.290.0000.00716.57
7.4.280.0000.00916.53
7.4.270.0030.00316.41
7.4.260.0030.00316.61
7.4.250.0060.00316.46
7.4.240.0030.00316.62
7.4.230.0070.00016.23
7.4.220.0000.00816.67
7.4.210.0050.00916.52
7.4.200.0030.00316.67
7.4.160.0080.00816.49
7.4.140.0120.00617.86
7.4.130.0070.01016.69
7.4.120.0070.01016.43
7.3.330.0030.00313.09
7.3.320.0030.00312.92
7.3.310.0030.00516.26
7.3.300.0030.00316.19
7.3.290.0070.00016.23
7.3.280.0130.00416.21
7.3.260.0090.00816.28
7.3.240.0090.00816.32

preferences:
51.8 ms | 400 KiB | 5 Q