<?php function foo($arg){ var_dump($arg); } preg_replace('/a/', foo("$1"), 'a');
You have javascript disabled. You will not be able to edit any code.