- var_dump: documentation ( source)
- str_repeat: documentation ( source)
- strtok: documentation ( source)
<?php
$strtokInIsolatedScope = function () {
$str = str_repeat('abcdef', 1000);
strtok($str, 'a');
};
$strtokInIsolatedScope();
var_dump(strtok('a'));