Program to find the area of a Square | function to find the area ; Driver program
< ? php function area_fun ( $ side ) { $ area = $ side * $ side ; return $ area ; } $ side = 4 ; $ area = area_fun ( $ side ) ; echo ( $ area ) ; ? >