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_r( $matches); }

preferences:
33.46 ms | 402 KiB | 5 Q