PHP is "an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly". PHP's dba_replace is a function that allows replacing or insertion of entries, a vulnerability in the function allows attackers to cause the function to destroy arbitrary files.
dba_replace() file destruction:
Function dba_replace() does not filter strings keys and/or values. This allows the function to destory arbitrary files (remove their content).