3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = array_map('chr', range(32, 126)); $diff = array_filter( $chars, function ($c) { return $c !== mb_convert_encoding($c, 'UTF-8', 'SJIS'); } ); var_dump($diff);

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.120.0060.00319.09
8.3.110.0110.00020.94
8.3.100.0060.00324.06
8.3.90.0040.00426.77
8.3.80.0080.00016.63
8.3.70.0060.00916.58
8.3.60.0140.00416.50
8.3.50.0110.01118.21
8.3.40.0120.00319.04
8.3.30.0120.00419.15
8.3.20.0130.00624.18
8.3.10.0060.00324.66
8.3.00.0030.00526.16
8.2.240.0040.01618.84
8.2.230.0040.00422.58
8.2.220.0060.00337.54
8.2.210.0000.00826.77
8.2.200.0090.00018.42
8.2.190.0120.00318.41
8.2.180.0180.00325.92
8.2.170.0110.00419.09
8.2.160.0110.00722.96
8.2.150.0040.01125.66
8.2.140.0060.00324.66
8.2.130.0000.00926.16
8.2.120.0000.00821.00
8.2.110.0000.00922.38
8.2.100.0040.00817.84
8.2.90.0000.00819.18
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0040.00418.18
8.2.50.0040.00418.07
8.2.40.0090.00018.22
8.2.30.0000.00718.11
8.2.20.0040.00420.57
8.2.10.0000.00718.11
8.2.00.0000.00819.45
8.1.300.0040.00418.51
8.1.290.0060.00330.84
8.1.280.0070.01125.92
8.1.270.0070.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0050.00522.19
8.1.230.0090.00319.13
8.1.220.0080.00017.91
8.1.210.0000.00818.77
8.1.200.0060.00317.50
8.1.190.0000.00817.48
8.1.180.0000.00818.10
8.1.170.0050.00318.73
8.1.160.0040.00419.06
8.1.150.0080.00018.63
8.1.140.0000.00717.59
8.1.130.0040.00419.07
8.1.120.0070.00017.52
8.1.110.0000.00817.52
8.1.100.0070.00017.58
8.1.90.0000.00817.59
8.1.80.0000.01017.49
8.1.70.0030.00317.55
8.1.60.0000.00817.63
8.1.50.0000.00817.61
8.1.40.0120.00617.66
8.1.30.0130.00517.61
8.1.20.0030.00917.80
8.1.10.0000.01017.63
8.1.00.0030.00717.57
8.0.300.0040.00419.62
8.0.290.0060.00316.88
8.0.280.0030.00318.52
8.0.270.0000.00816.90
8.0.260.0030.00318.50
8.0.250.0000.00817.04
8.0.240.0000.00717.02
8.0.230.0030.00417.03
8.0.220.0070.00017.01
8.0.210.0000.00716.87
8.0.200.0000.00717.10
8.0.190.0040.00417.15
8.0.180.0050.00217.07
8.0.170.0000.01117.02
8.0.160.0050.00516.98
8.0.150.0070.00317.01
8.0.140.0040.00816.99
8.0.130.0090.00016.85
8.0.120.0070.00317.01
8.0.110.0040.00417.00
8.0.100.0110.00017.01
8.0.90.0050.00317.05
8.0.80.0070.00317.03
8.0.70.0050.00517.00
8.0.60.0000.01217.01
8.0.50.0030.00617.00
8.0.30.0060.00616.91
8.0.20.0070.00217.05
8.0.10.0070.00417.05
7.4.330.0030.00315.55
7.4.320.0060.00016.80
7.4.300.0030.00316.66
7.4.290.0030.00316.55
7.4.280.0040.00416.64
7.4.270.0030.00616.72
7.4.260.0050.00516.62
7.4.250.0070.00316.73
7.4.240.0060.00316.66
7.4.230.0040.00716.62
7.4.220.0090.00316.69
7.4.210.0030.00716.64
7.4.200.0030.00716.68
7.4.190.0060.00616.69
7.4.180.0030.00616.76
7.4.160.0030.00816.71
7.4.150.0060.00316.61
7.4.140.0080.00316.61
7.4.130.0040.00416.49
7.4.120.0090.00316.53
7.4.110.0070.00416.42
7.4.100.0030.00716.63
7.4.90.0060.00316.58
7.4.80.0040.00716.63
7.4.70.0060.00316.49
7.4.60.0080.00416.49
7.4.50.0030.00716.43
7.4.40.0000.00916.44
7.4.30.0110.00016.42
7.4.20.0060.00316.57
7.4.10.0040.00816.52
7.4.00.0170.00016.29

preferences:
30.83 ms | 403 KiB | 5 Q