3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Hello this is {name} and I like to {verb} my {noun}{punctuation}"; preg_match("/{[A-Za-z0-9]+}/", $str, $matches); var_dump($matches);
Output for 4.3.0 - 7.1.0
array(1) { [0]=> string(6) "{name}" }