<?php echo str_replace(['R$','.',','],['','','.'], 'R$1.500,99');
Standard input is empty
1500.99
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!