3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n = 'nomeexame=cisticercose---sangue&detalheexames=cistisa'; $n = preg_replace('/,+/', ',', $n); echo $n;
based on S4TWN
Output for 4.3.0 - 7.1.0
nomeexame=cisticercose---sangue&detalheexames=cistisa