Functional Thinking Ex1

Run Settings
LanguagePHP
Language Version
Run Command
<?php /** * Example for article: http://coderoncode.com/functional-programming-the-paradigm-for-the-next-generation.html */ $sumList = [5,4,2,10,1,28,6,5]; $sum = 0; foreach($sumList as $value) { $sum += $value; } echo $sum;
Editor Settings
Theme
Key bindings
Full width
Lines