3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('/([a-zA-Z])\s*=\s*([a-zA-Z])/i', '$1_$2-$3', 'algo = asslgo AND caca=8');
Output for 4.3.0 - 7.1.0
algo_a-sslgo AND caca=8