3v4l.org

run code in 200+ PHP versions simultaneously
<?php echo str_replace( 'R$ 0,00', '.',',' ); //echo str_replace( str_replace( 'R$ 0,00', ',','.' ), 'R$ ','');
based on nmjYq
Output for 7.2.0 - 7.4.6
,