3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(preg_match("/[^purchase]_total_amount/", "hoge_total_amount"));
based on HS5cd