MakeItSimple
Toggle
Home
C language
FAQs
Programs
Python
FAQs
Programs
HTML
Programs
FAQs
CSS
Javascript
FAQs
Programs
PHP
FAQs
Programs
JQuery
FAQs
Programs
AJAX
Bootstrap 3
Website
Programs in PHP
7. Program to find the sum of elements in an array.
<?php $arr = array(10,20,30,'a'); echo array_sum($arr); ?>
Output :
60
Father of PHP
Rasmus Lerdorf
Born:
November 22, 1968, Greenland
Makeitsimple.co.in