3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/\bany\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:
159.18 ms | 2292 KiB | 12 Q