3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '275,590'; $arr = explode(',',$input); $f = new NumberFormatter("en", NumberFormatter::SPELLOUT); echo $f->format($arr[0]).' dinar and '.$f->format($arr[1]).' millimes ';

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.00.0110.01325.53
8.4.150.0030.00014.05
8.4.140.0130.01319.95
8.4.130.0170.00420.13
8.4.120.0100.01126.58
8.4.110.0040.00725.25
8.4.100.0130.00821.28
8.4.90.0110.01121.07
8.4.80.0070.00321.12
8.4.70.0070.00220.61
8.4.60.0170.00821.36
8.4.50.0100.01121.33
8.4.40.0140.00722.11
8.4.30.0120.00921.39
8.4.20.0140.00628.57
8.4.10.0170.00326.34
8.3.280.0130.00924.32
8.3.270.0100.01118.86
8.3.260.0130.00718.87
8.3.250.0080.00721.58
8.3.240.0100.01019.64
8.3.230.0140.00719.00
8.3.220.0100.00921.56
8.3.210.0030.00519.20
8.3.200.0050.00519.09
8.3.190.0110.01019.89
8.3.180.0090.01019.58
8.3.170.0060.00321.48
8.3.160.0070.01119.88
8.3.150.0060.00319.63
8.3.140.0070.01119.31
8.3.130.0040.00420.92
8.3.120.0140.00423.16
8.3.110.0000.01020.94
8.3.100.0040.00418.91
8.3.90.0040.00426.77
8.3.80.0060.00620.93
8.3.70.0060.01519.00
8.3.60.0130.00919.25
8.3.50.0070.01422.84
8.3.40.0060.01021.64
8.3.30.0090.00620.47
8.3.20.0060.00324.18
8.3.10.0080.00024.66
8.3.00.0030.00526.16
8.2.290.0120.00623.11
8.2.280.0050.00321.34
8.2.270.0000.00919.68
8.2.260.0090.00918.91
8.2.250.0060.00319.28
8.2.240.0000.01019.57
8.2.230.0080.00022.58
8.2.220.0220.00024.06
8.2.210.0030.00626.77
8.2.200.0040.00719.13
8.2.190.0060.00918.88
8.2.180.0070.00725.92
8.2.170.0100.01020.61
8.2.160.0060.00922.96
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0070.00723.23
8.2.110.0090.00024.13
8.2.100.0060.00620.16
8.2.90.0050.00520.00
8.2.80.0030.00820.84
8.2.70.0040.00419.88
8.2.60.0030.00620.00
8.2.50.0060.00319.88
8.2.40.0000.00821.03
8.2.30.0070.00420.05
8.2.20.0070.00221.09
8.2.10.0030.00620.31
8.2.00.0040.00920.01
8.1.330.0080.01124.43
8.1.320.0060.00320.33
8.1.310.0130.00621.30
8.1.300.0090.00918.76
8.1.290.0060.00330.84
8.1.280.0130.00325.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0090.00325.73
8.1.230.0030.01024.86
8.1.220.0000.00820.44
8.1.210.0000.00819.61
8.1.200.0070.00319.61
8.1.190.0090.00519.53
8.1.180.0040.00419.68
8.1.170.0030.00620.80
8.1.160.0060.00322.27
8.1.150.0040.00420.37
8.1.140.0080.00419.78
8.1.130.0080.00019.66
8.1.120.0030.00619.75
8.1.110.0030.00619.66
8.1.100.0030.00619.62
8.1.90.0040.00419.78
8.1.80.0050.00319.79
8.1.70.0000.00919.73
8.1.60.0000.00919.80
8.1.50.0030.00519.72
8.1.40.0050.00319.85
8.1.30.0040.00419.85
8.1.20.0080.00019.80
8.1.10.0000.00819.71
8.1.00.0030.00519.77
8.0.300.0050.00519.00
8.0.290.0030.00618.88
8.0.280.0040.00420.26
8.0.270.0050.00219.73
8.0.260.0040.00419.02
8.0.250.0090.00019.10
8.0.240.0040.00419.04
8.0.230.0050.00319.09
8.0.220.0040.00419.09
8.0.210.0000.00819.07
8.0.200.0040.00419.10
8.0.190.0040.00419.11
8.0.180.0000.00819.16
8.0.170.0000.00819.20
8.0.160.0000.00819.08
8.0.150.0000.00819.00
8.0.140.0040.00418.95
8.0.130.0030.00519.14
8.0.120.0030.00519.04
8.0.110.0030.00518.90
8.0.100.0000.00819.07
8.0.90.0080.00019.05
8.0.80.0040.00418.91
8.0.70.0040.00718.96
8.0.60.0000.00818.94
8.0.50.0000.00819.01
8.0.30.0000.00718.97
8.0.20.0000.00718.97
8.0.10.0040.00418.98
7.3.20.0100.01020.11

preferences:
30.22 ms | 403 KiB | 5 Q