3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Привет 2019 Мир!'; $str = mb_convert_encoding( $str, 'windows-1251', mb_detect_encoding( $str ) ); var_dump( $str );

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.4.130.0120.00819.44
8.4.120.0130.00620.67
8.4.110.0110.00918.89
8.4.100.0170.00417.66
8.4.90.0110.01020.38
8.4.80.0130.00720.51
8.4.70.0070.01318.68
8.4.60.0110.00920.34
8.4.50.0110.00920.35
8.4.40.0160.00017.46
8.4.30.0030.01718.88
8.4.20.0070.01419.57
8.4.10.0000.00819.57
8.3.250.0090.00918.91
8.3.240.0080.00616.69
8.3.230.0130.00616.53
8.3.220.0040.00419.00
8.3.210.0120.00716.64
8.3.200.0040.00516.31
8.3.190.0050.00317.13
8.3.180.0070.00218.59
8.3.170.0130.00616.84
8.3.160.0090.00016.41
8.3.150.0120.00616.58
8.3.140.0080.00018.80
8.3.130.0000.00816.36
8.3.120.0130.00618.55
8.3.110.0030.00620.94
8.3.100.0040.00416.38
8.3.90.0480.01526.77
8.3.80.0470.00326.77
8.3.70.0410.00926.77
8.3.60.0370.01126.77
8.3.50.0420.00726.77
8.3.40.0410.00326.77
8.3.30.0350.00726.77
8.3.20.0350.00826.77
8.3.10.0380.00926.77
8.3.00.0310.01026.77
8.2.290.0140.00517.43
8.2.280.0120.00720.18
8.2.270.0070.01116.68
8.2.260.0080.00017.21
8.2.250.0030.00618.71
8.2.240.0070.00719.06
8.2.230.0140.00322.58
8.2.220.0030.00624.06
8.2.210.0340.01126.77
8.2.200.0300.00926.77
8.2.190.0310.00626.77
8.2.180.0290.01226.77
8.2.170.0280.01126.77
8.2.160.0300.00026.77
8.2.150.0270.00626.77
8.2.140.0370.00626.77
8.2.130.0280.01226.77
8.2.120.0350.01026.77
8.2.110.0290.01526.77
8.2.100.0300.01226.77
8.2.90.0360.00726.77
8.2.80.0240.01026.77
8.2.70.0390.00026.77
8.2.60.0200.00826.77
8.2.50.0250.01626.77
8.2.40.0150.02226.77
8.2.30.0420.01026.77
8.2.20.0380.00326.77
8.2.10.0410.00026.77
8.2.00.0370.00326.77
8.1.330.0150.00415.99
8.1.320.0110.00923.59
8.1.310.0030.00616.76
8.1.300.0130.00616.16
8.1.290.0350.00426.77
8.1.280.0310.00926.77
8.1.270.0230.01326.77
8.1.260.0270.01026.77
8.1.250.0310.01426.77
8.1.240.0140.02526.77
8.1.230.0390.00026.77
8.1.220.0280.01126.77
8.1.210.0310.00826.77
8.1.200.0260.01326.77
8.1.190.0390.00726.77
8.1.180.0400.00726.77
8.1.170.0320.00826.77
8.1.160.0230.01726.77
8.1.150.0390.00026.77
8.1.140.0380.00026.77
8.1.130.0340.00426.77
8.1.120.0320.00726.77
8.1.110.0320.00626.77
8.1.100.0350.00426.77
8.1.90.0240.01526.77
8.1.80.0280.01126.77
8.1.70.0280.00926.77
8.1.60.0290.01326.77
8.1.50.0330.01026.77
8.1.40.0320.01026.77
8.1.30.0530.01426.77
8.1.20.0370.01126.77
8.1.10.0400.00326.77
8.1.00.0310.01226.77

preferences:
54.83 ms | 403 KiB | 5 Q