simple_sum.php
dio.php
✖
tria.php
✖
tessera.php
✖
pente.php
✖
eksi.php
✖
Run Settings
Language
PHP
Language Version
latest
Run Command
Snippet Metadata
Owner
amacgregor
Created
Modified
Visibility
Public
<?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
Chrome
Clouds
Crimson Editor
Dawn
Dreamweaver
Eclipse
GitHub
Solarized Light
TextMate
Tomorrow
XCode
Kuroir
KatzenMilch
Ambiance
Chaos
Clouds Midnight
Cobalt
idle Fingers
krTheme
Merbivore
Merbivore Soft
Mono Industrial
Monokai
Pastel on dark
Solarized Dark
Terminal
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night 80s
Twilight
Vibrant Ink
Key bindings
Default
Vim
Emacs
Full width
True
False
Lines
-
Auto
+