3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = "case ( 'this_is__test_innit'):"; if (!preg_match('/case[\s]*?\([\s]*?[\'|\"]/', $test, $matches)) { print 'no match'; } else { print $matches; }

preferences:
36.28 ms | 402 KiB | 5 Q