3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = preg_quote('t$his & -that', "/"); echo $tmp ?>

preferences:
44.29 ms | 402 KiB | 5 Q