Everybody knows PHP is a trickly-typed language. Read the docs people or PHP will take advantage of your gullible ass.
But it must invoke with additional NULL-parameter to achieve real effect and analyse return value for TRUE, FALSE, NULL:
php_real_equivalence_4($x, $y, null);