3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $content = preg_replace_callback("@(\.[”’\"]?\s*[A-Z][a-z]+\s[a-z])@", create_function('$matches', 'return strtolower($matches[0]);'), "Hello Rob Reid. Said the bar man");

preferences:
200.73 ms | 404 KiB | 5 Q