3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/\b[Aa]ny\b/'; $str = 'Will *any* company do *any* job, (are there any)?'; if(preg_match_all($re, $str, $matches)){ } // Print the entire match result var_dump($matches);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
162.6 ms | 2093 KiB | 10 Q