<?php
$pos = earth_sunpos( time(), 51.50, -0.127 );
echo $pos, "\n";
?>
Output