<?php function func($input) { static $count = 0; echo (++$count)."\n"; return preg_replace_callback('/YO\_\{(.*?)\}/s', 'func', $input); } $input = <<<'EOD' YO_{ YO_{ YO_{ McDonalds. } } } EOD; echo func($input);
You have javascript disabled. You will not be able to edit any code.
This script was stopped while abusing our resources
Value for `_results` contains invalid data `array`