<?php $a = 'baab' . str_repeat('a', 1000000); $b = preg_replace('/c.*b/', '', $a); var_dump($b); ?>
You have javascript disabled. You will not be able to edit any code.