3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); error_reporting(-1); ini_set('display_errors', '1'); var_dump(Locale::acceptFromHttp('zh_Hant_TW')); echo "<br>\n"; var_dump(setlocale(LC_ALL, 'zh_Hant_TW')); echo "<br>\n"; var_dump(Locale::acceptFromHttp('zh_TW')); echo "<br>\n"; var_dump(setlocale(LC_ALL, 'zh_TW')); echo "<br>\n";

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.10.0100.00916.83
8.5.00.0170.01116.86
8.4.160.0180.01426.20
8.4.150.0480.01622.56
8.4.140.0390.00718.00
8.4.130.0230.00718.18
8.4.120.0380.00718.39
8.4.110.0380.00818.07
8.4.100.0360.01218.32
8.4.90.0380.01318.22
8.4.80.0370.00918.35
8.4.70.0320.00718.34
8.4.60.0370.00818.40
8.4.50.0370.00818.14
8.4.40.0380.01018.19
8.4.30.0360.01018.07
8.4.20.0400.00818.07
8.4.10.0360.01118.04
8.3.290.0130.01823.77
8.3.280.0390.01521.30
8.3.270.0310.01317.20
8.3.260.0390.00816.99
8.3.250.0400.00917.07
8.3.240.0360.00817.27
8.3.230.0330.01117.29
8.3.220.0330.01217.17
8.3.210.0350.01017.00
8.3.200.0370.00816.83
8.3.190.0380.00617.15
8.3.180.0350.01016.88
8.3.170.0380.01016.93
8.3.160.0390.00716.97
8.3.150.0340.01217.29
8.3.140.0450.01116.85
8.3.130.0340.00716.96
8.3.120.0350.00817.24
8.3.110.0330.00816.97
8.3.100.0400.00617.22
8.3.90.0390.00716.95
8.3.80.0380.00817.15
8.3.70.0380.00717.41
8.3.60.0350.01116.97
8.3.50.0400.00817.01
8.3.40.0460.00618.35
8.3.30.0310.00518.59
8.3.20.0280.00818.48
8.3.10.0320.00518.47
8.3.00.0230.01418.65
8.2.300.0110.02423.45
8.2.290.0330.00617.13
8.2.280.0270.01017.37
8.2.270.0310.01017.17
8.2.260.0320.00717.09
8.2.250.0320.01017.15
8.2.240.0340.00517.13
8.2.230.0280.00917.17
8.2.220.0310.00617.13
8.2.210.0240.01517.14
8.2.200.0240.00817.30
8.2.190.0150.00716.99
8.2.180.0320.00617.16
8.2.170.0320.00618.69
8.2.160.0300.00818.68
8.2.150.0290.01018.63
8.2.140.0300.01218.46
8.2.130.0280.00918.37
8.2.120.0290.00818.48
8.2.110.0280.00918.38
8.2.100.0280.00818.64
8.2.90.0240.01218.64
8.2.80.0310.00718.43
8.2.70.0290.01318.44
8.2.60.0290.00818.53
8.2.50.0320.00618.51
8.2.40.0300.00618.52
8.2.30.0290.00818.40
8.2.20.0260.01018.40
8.2.10.0290.00718.34
8.2.00.0300.01218.07
8.1.340.0150.01720.82

preferences:
47.26 ms | 403 KiB | 5 Q