Update dom.php

returned to array