3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test ="1,500.00"; $montant=rtrim(rtrim($test,',00'), '.00')*100; echo $montant;
based on nG7Z2
Output for 7.1.0 - 7.3.0rc3
Notice: A non well formed numeric value encountered in /in/57EY2 on line 4 100
Output for 5.6.0 - 5.6.30, hhvm-3.12.14 - 3.17.3, 7.0.0 - 7.0.20
100