Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
RFCs
»
Locale-independent float to string cast
»
RFC: Locale-independent float to string cast
Project Governance
Author
girgias
Author
kocsismate
Target
8.0
The string representation of floats in PHP depends on the current locale as the decimal separator varies between locales. This can lead to subtle bugs in certai...
Mailing List Discussions
[RFC] [DISCUSSION] Locale-independent float to string cast
[RFC] [VOTE] Locale-independent float to string cast
View Original
Make float to string casts always locale-independent?
Overall Results
Yes
No
Yes
42 Votes (98%)
No
1 Votes (2%)
Voting Timeline
Dates based on UTC
Voting Breakdown
Yes
42 Votes (98%)
brzuchal
girgias
jbnahan
kalle
marandall
ocramius
ramsey
sergey
beberlei
bwoebi
derick
galvao
heiglandreas
kguest
kocsismate
mbeccati
svpernova09
nicolasgrekas
asgrim
ashnazg
narf
petk
dams
geekcom
thorstenr
salathe
carusogabriel
cmb
daverandom
lcobucci
nikic
jasny
mariano
zimt
dmitry
lstrojny
ajf
danack
rasmus
ekin
ralphschindler
duodraco
No
1 Votes (2%)
pollita
Should the debug_locale_sensitive_float_casts INI setting be added?
Overall Results
Yes
No
Yes
14 Votes (35%)
No
26 Votes (65%)
Voting Timeline
Dates based on UTC
Voting Breakdown
Yes
14 Votes (35%)
jbnahan
ocramius
beberlei
kguest
kocsismate
svpernova09
nicolasgrekas
pollita
asgrim
ashnazg
narf
daverandom
lstrojny
danack
No
26 Votes (65%)
kalle
marandall
ramsey
sergey
bwoebi
derick
galvao
heiglandreas
mbeccati
petk
dams
geekcom
thorstenr
salathe
stas
carusogabriel
lcobucci
nikic
jasny
marcio
mariano
zimt
dmitry
rasmus
ekin
duodraco