3v4l.org

run code in 300+ PHP versions simultaneously
<?php $utf8='η.∊'; var_dump($utf8, mb_convert_encoding($utf8,'CP1252','UTF-8'), mb_convert_encoding(mb_convert_encoding($utf8,'CP1252','UTF-8'),'UTF-8','CP1252') );

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.0100.01016.63
8.3.50.0070.00717.96
8.3.40.0070.01118.43
8.3.30.0150.00018.55
8.3.20.0040.00420.68
8.3.10.0050.00320.40
8.3.00.0040.00420.84
8.2.180.0090.00616.50
8.2.170.0170.00322.96
8.2.160.0100.00320.51
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0050.00318.09
8.2.120.0000.00726.35
8.2.110.0090.00022.32
8.2.100.0090.00317.84
8.2.90.0040.00417.84
8.2.80.0000.00818.16
8.2.70.0000.00818.15
8.2.60.0080.00018.22
8.2.50.0040.00418.10
8.2.40.0050.00219.42
8.2.30.0040.00419.36
8.2.20.0080.00018.24
8.2.10.0070.00019.47
8.2.00.0050.00218.11
8.1.280.0090.00625.92
8.1.270.0080.00020.39
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00917.61
8.1.230.0120.00022.84
8.1.220.0000.00817.76
8.1.210.0050.00318.83
8.1.200.0000.00917.47
8.1.190.0040.00417.35
8.1.180.0050.00518.10
8.1.170.0040.00418.77
8.1.160.0000.00718.96
8.1.150.0040.00418.92
8.1.140.0000.00720.23
8.1.130.0040.00417.52
8.1.120.0040.00417.49
8.1.110.0040.00417.47
8.1.100.0000.00817.60
8.1.90.0000.00717.59
8.1.80.0040.00417.55
8.1.70.0030.00317.55
8.1.60.0030.00617.58
8.1.50.0070.00017.59
8.1.40.0000.00817.52
8.1.30.0060.00317.83
8.1.20.0060.00317.77
8.1.10.0020.00517.49
8.1.00.0110.00017.66
8.0.300.0040.00420.20
8.0.290.0030.00616.88
8.0.280.0000.00718.34
8.0.270.0000.00717.27
8.0.260.0040.00416.93
8.0.250.0070.00017.02
8.0.240.0040.00417.02
8.0.230.0000.00716.91
8.0.220.0070.00016.95
8.0.210.0070.00016.87
8.0.200.0050.00316.87
8.0.190.0030.00317.01
8.0.180.0000.00716.79
8.0.170.0030.00516.85
8.0.160.0030.00316.91
8.0.150.0000.00716.89
8.0.140.0000.00816.91
8.0.130.0030.00313.41
8.0.120.0040.00416.84
8.0.110.0050.00216.82
8.0.100.0070.00016.94
8.0.90.0040.00416.99
8.0.80.0100.00516.97
8.0.70.0040.00416.98
8.0.60.0080.00016.85
8.0.50.0040.00417.00
8.0.30.0070.01017.28
8.0.20.0090.00917.40
8.0.10.0040.00416.79
8.0.00.0150.00416.85
7.4.330.0000.00615.55
7.4.320.0030.00316.57
7.4.300.0050.00316.64
7.4.290.0030.00316.55
7.4.280.0050.00316.41
7.4.270.0000.00716.70
7.4.260.0050.00316.47
7.4.250.0040.00416.52
7.4.240.0000.00716.66
7.4.230.0000.00716.68
7.4.220.0030.00516.49
7.4.210.0080.00616.54
7.4.200.0070.00016.67
7.4.160.0060.01016.43
7.4.140.0110.00617.86
7.4.130.0090.01016.50
7.4.120.0130.00316.39
7.4.110.0080.00916.48
7.4.100.0070.01416.34
7.4.90.0100.00616.51
7.4.80.0170.00819.39
7.4.70.0030.01216.36
7.4.60.0030.01316.50
7.4.50.0070.00716.29
7.4.40.0030.01316.53
7.4.00.0090.00615.19
7.3.330.0030.00313.07
7.3.320.0000.00513.10
7.3.310.0030.00316.27
7.3.300.0030.00616.18
7.3.290.0070.00716.29
7.3.280.0120.00816.26
7.3.260.0120.00916.48
7.3.240.0100.00716.56
7.3.230.0140.00316.41
7.3.210.0060.01216.41
7.3.200.0120.00816.28
7.3.190.0060.01516.26
7.3.180.0160.00616.48
7.3.170.0100.01316.37
7.3.160.0100.01416.34
7.3.20.0670.00314.65
7.3.10.0960.00614.68
7.3.00.0880.00314.98
7.2.330.0040.01416.68
7.2.320.0060.01016.39
7.2.310.0090.00916.67
7.2.300.0060.01016.61
7.2.290.0150.00516.73
7.2.150.0980.00315.02
7.2.140.0940.00714.73
7.2.130.0630.00314.86
7.2.120.0640.01014.91
7.2.110.0660.00015.02
7.2.100.0840.01014.96
7.2.90.0690.00715.16
7.2.80.0830.00015.12
7.2.70.0800.00315.02
7.2.60.0680.00714.93
7.2.50.0850.01014.79
7.2.40.0900.00715.12
7.2.30.0830.00714.70
7.2.20.0870.01014.98
7.2.10.0920.00315.07
7.2.00.0860.00314.98
7.1.250.0580.00013.97

preferences:
57.82 ms | 400 KiB | 5 Q