<?php class S { public function __toString() { return '/a/'; } } var_dump(preg_match(new S(), 'a'));
You have javascript disabled. You will not be able to edit any code.