3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = "1-2.5 handfuls of mince (what is this? lol)"; $line = preg_replace('/\([^)]+\)/', '', $line); echo $line;

preferences:
48.49 ms | 402 KiB | 5 Q