<?php var_dump(preg_match("/a.+?a/", 'aaa'));
Standard input is empty
int(1)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!