3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $template = "<html><head><title>{{head}}</title></head><body>{{body}}</body></html>"; $vars = preg_match("/{{[A-Z]}}/", $template); var_dump($vars);
Output for 4.3.0 - 7.2.0
int(0)