3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(mb_convert_encoding([null, false, true, 0, 0.0, '', 'key' => 'value'], '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.5.30.0120.00617.98
8.5.20.0080.00920.11
8.5.10.0110.00716.66
8.5.00.0180.01019.79
8.4.180.0150.00719.57
8.4.170.0080.01223.78
8.4.160.0130.01023.93
8.4.150.0000.00214.05
8.4.140.0150.00617.32
8.4.130.0130.00818.06
8.4.120.0100.00820.78
8.4.110.0100.00822.46
8.4.100.0130.00817.44
8.4.90.0120.00819.51
8.4.80.0130.00617.43
8.4.70.0060.00617.46
8.4.60.0130.00917.61
8.4.50.0130.00218.50
8.4.40.0030.00617.36
8.4.30.0060.01518.74
8.4.20.0250.01119.21
8.4.10.0310.00319.00
8.3.300.0100.01020.85
8.3.290.0060.00720.70
8.3.280.0140.00618.25
8.3.270.0090.01016.68
8.3.260.0130.00516.21
8.3.250.0100.00918.79
8.3.240.0130.00616.24
8.3.230.0120.00716.57
8.3.220.0140.00417.20
8.3.210.0110.00616.36
8.3.200.0080.01016.61
8.3.190.0100.01016.59
8.3.180.0040.00416.73
8.3.170.0100.00717.00
8.3.160.0080.00018.24
8.3.150.0040.00420.80
8.3.140.0160.01118.25
8.3.130.0250.00516.42
8.3.120.0130.00616.38
8.3.110.0110.00816.57
8.3.100.0170.00316.48
8.3.90.0200.00016.43
8.3.80.0180.00416.60
8.3.70.0170.00318.24
8.3.60.0160.00416.47
8.3.50.0170.00316.25
8.3.40.0060.01117.24
8.3.30.0100.00517.15
8.3.20.0100.00617.31
8.3.10.0160.00017.38
8.3.00.0070.00318.88
8.2.300.0100.01118.02
8.2.290.0100.00920.17
8.2.280.0050.00518.11
8.2.270.0170.00017.93
8.2.260.0140.00516.59
8.2.250.0070.01016.22
8.2.240.0170.00216.25
8.2.230.0110.00615.99
8.2.220.0170.00016.21
8.2.210.0150.00318.13
8.2.200.0160.00316.36
8.2.190.0140.00416.10
8.2.180.0180.00017.68
8.2.170.0170.00317.34
8.2.160.0170.00619.09
8.2.150.0140.00317.19
8.2.140.0140.00517.10
8.2.130.0200.00317.00
8.2.120.0170.00618.81
8.2.110.0200.00016.98
8.2.100.0290.00617.22
8.2.90.0160.01217.26
8.2.80.0190.00518.84
8.2.70.0200.00317.29
8.2.60.0210.00517.13
8.2.50.0150.00617.13
8.2.40.0130.00317.32
8.2.30.0150.00217.03
8.2.20.0170.00017.14
8.2.10.0160.00017.11
8.2.00.0160.00017.10
8.1.340.0060.00517.60
8.1.320.0080.01116.19

preferences:
105.42 ms | 403 KiB | 5 Q