return true to win

<?php

function foo(stdClass $x)
{
    $x = (array) $x;
    return $x[0];
}
foo(
)
Score: 0

Absolute best score: 12