Attached is my modified robot_functions.php, merged with 1.8.7:
it includes:
- phpdigExplore(): preg_match() / preg_match_all()
- phpdigTempFile(): static $is_exec_command array, so the is_executable() check has not to be done on every function call
- phpdigExplore() / phpdigTempFile(): make use of file_get_contents()