return true to win

<?php

function foo($x)
{
    return is_object($x) && is_object($x());
}
foo(
)
Score: 0

Absolute best score: 18