Area segmen lingkaran di PHP

<?php  $r=12;$x=12; $s=(pow($r,2)/2)*($x-sin((3.14/180)*$x)); echo sprintf("\nArea of Segment Circle = %f",$s);?>
Yeomeo