3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Someone need an #new icebreaker# to hold that problem"; preg_match("/#new (.+)#/i", $string, $matches); var_dump($matches[1]);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
155.64 ms | 2593 KiB | 10 Q