- var_dump: documentation ( source)
- str_replace: documentation ( source)
<?php
$string="As a credit user, I want to know the users who will receive a digest with all the evolutions that were inserted during the day, so I don't have to explicitly select them to be notified";
$string = str_replace(' ', '_', $string);
var_dump($string);