**EDIT**

**`php` version:**

 echo strlen("Douglas Adams")+strlen("born on")+array_sum(array(3,1,1,1,9,5,2));
 /* array(3,1,1,1,9,5,2) => March 11, 1952 */

**`javascript` version:**

 console.log("Douglas Adams".length + "born on".length + [3, 1, 1, 1, 9, 5, 2].reduce(function(previousValue, currentValue, index, array){return previousValue + currentValue;}));

 /* [3, 1, 1, 1, 9, 5, 2] => March 11, 1952 */

**Output:**

 42