3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'de_DE', NumberFormatter::DECIMAL ); $fmt->format('1234567.891234567890000'); var_dump(numfmt_get_error_message($fmt)); ?>

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.0180.01118.75
8.3.50.0110.01418.35
8.3.40.0120.00620.21
8.3.30.0090.00620.08
8.3.20.0040.00421.84
8.3.10.0030.00525.16
8.3.00.0050.00325.11
8.2.180.0000.01518.75
8.2.170.0000.01522.96
8.2.160.0070.00721.50
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0030.00621.91
8.2.120.0030.00526.35
8.2.110.0060.00322.87
8.2.100.0080.00419.66
8.2.90.0040.00420.44
8.2.80.0030.00619.25
8.2.70.0040.00419.25
8.2.60.0040.00419.78
8.2.50.0000.00919.66
8.2.40.0080.00021.97
8.2.30.0030.00522.46
8.2.20.0150.00319.61
8.2.10.0060.00319.74
8.2.00.0070.00319.77
8.1.270.0040.00423.57
8.1.260.0050.00226.35
8.1.250.0090.00028.09
8.1.240.0050.00524.48
8.1.230.0070.00419.58
8.1.220.0050.00319.53
8.1.210.0050.00518.77
8.1.200.0030.00618.98
8.1.190.0050.00319.15
8.1.180.0040.00419.04
8.1.170.0050.00320.32
8.1.160.0040.00420.23
8.1.150.0040.00420.21
8.1.140.0030.00521.39
8.1.130.0040.00420.24
8.1.120.0050.00319.19
8.1.110.0040.00419.27
8.1.100.0030.00519.33
8.1.90.0080.00319.39
8.1.80.0070.00419.35
8.1.70.0080.00519.30
8.1.60.0150.00319.31
8.1.50.0180.00019.34
8.1.40.0140.00319.16
8.1.30.0190.00419.35
8.1.20.0120.00619.52
8.1.10.0060.00319.32
8.1.00.0040.00419.14
8.0.300.0030.00520.54
8.0.290.0080.00018.38
8.0.280.0000.00719.89
8.0.270.0080.00019.02
8.0.260.0040.00918.46
8.0.250.0000.00718.77
8.0.240.0080.00018.74
8.0.230.0060.00318.71
8.0.220.0080.00418.57
8.0.210.0040.00418.68
8.0.200.0120.00218.56
8.0.190.0030.00818.62
8.0.180.0000.00818.70
8.0.170.0100.00718.53
8.0.160.0100.00718.44
8.0.150.0030.00618.52
8.0.140.0130.00418.55
8.0.130.0000.00513.33
8.0.120.0080.00018.75
8.0.110.0000.00718.70
8.0.100.0050.00318.60
8.0.90.0040.00418.77
8.0.80.0190.00018.69
8.0.70.0080.00018.73
8.0.60.0030.00618.54
8.0.50.0040.00418.59
8.0.30.0090.01018.85
8.0.20.0120.01018.93
8.0.10.0040.00418.89
8.0.00.0120.00618.63
7.4.330.0050.00016.65
7.4.320.0000.00618.58
7.4.300.0000.00618.36
7.4.290.0040.00418.44
7.4.280.0060.00318.34
7.4.270.0150.00018.41
7.4.260.0080.00018.44
7.4.250.0000.00818.30
7.4.240.0040.00418.29
7.4.230.0000.00818.34
7.4.220.0160.01018.48
7.4.210.0170.00418.44
7.4.200.0000.00818.54
7.4.160.0070.01118.20
7.4.150.0090.00918.49
7.4.140.0120.00918.30
7.4.130.0060.01218.14
7.4.120.0160.01018.10
7.4.110.0130.01018.30
7.4.100.0120.01318.49
7.4.90.0120.00618.14
7.4.80.0030.01319.39
7.4.70.0070.01118.48
7.4.60.0070.01118.36
7.4.50.0060.01018.42
7.4.40.0150.00818.41
7.4.30.0000.01618.16
7.4.00.0040.01016.35
7.3.330.0050.00013.10
7.3.320.0050.00013.13
7.3.310.0000.00818.00
7.3.300.0060.00318.03
7.3.290.0040.00418.04
7.3.280.0140.01018.02
7.3.270.0150.01117.91
7.3.260.0090.00918.16
7.3.250.0110.00818.13
7.3.240.0110.00918.26
7.3.230.0080.00918.18
7.3.210.0110.00818.02
7.3.200.0130.00318.05
7.3.190.0050.01118.04
7.3.180.0130.00318.53
7.3.170.0100.00618.39
7.3.160.0060.01218.12
7.2.330.0130.01318.29
7.2.320.0090.00918.43
7.2.310.0140.00318.31
7.2.300.0130.01018.30
7.2.290.0230.00318.66
7.2.60.0160.00618.27
7.1.200.0110.00417.67
7.1.110.0070.00720.00
7.1.100.0030.01320.07
7.1.90.0070.01019.73
7.1.80.0030.01220.14
7.1.70.0100.00319.23
7.1.60.0170.01034.73
7.1.50.0170.01034.73
7.1.40.0190.01034.34
7.1.30.0190.00934.24
7.1.20.0090.01834.47
7.1.10.0040.01118.41
7.1.00.0040.01118.52
7.0.250.0050.01019.70
7.0.240.0030.01119.60
7.0.230.0060.01319.64
7.0.220.0000.01419.86
7.0.210.0070.00718.68
7.0.200.0070.00718.80
7.0.190.0070.00718.81
7.0.180.0140.00518.14
7.0.170.0090.00618.12
7.0.160.0000.01518.10
7.0.150.0050.00818.18
7.0.140.0040.01118.24
7.0.130.0100.00518.24
7.0.120.0060.01218.08
7.0.110.0110.00317.98
7.0.100.0040.01117.94
7.0.90.0090.00317.89
7.0.80.0030.00917.92
7.0.70.0090.00518.00
7.0.60.0090.00617.98
7.0.50.0070.00718.14
7.0.40.0030.01418.05
7.0.30.0110.00418.06
7.0.20.0090.00617.98
7.0.10.0090.00618.28
7.0.00.0070.01317.96

preferences:
56.17 ms | 400 KiB | 5 Q