- chr: documentation ( source)
- preg_match: documentation ( source)
- rand: documentation ( source)
<?php
$string = '';
for ($i = 0; $i < 10000; $i++) {
$string .= chr(rand(65, 122));
}
echo "Calling preg_match()\n";
preg_match('/(\D|3)*/', $string);
echo "It didn't broke php\n";