Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
All my early code is stored on 5.25" floppies and will never be seen by anyone (Which is a good thing, it is way worse than yours)
-
Dude where's the indentation? xD You may as well have written it all on one line 😂
-
God I remember PHP....
My first love but I replaced it for a younger sportier model (Java)...
Still.... Maybe I should take her out to coffee or something... Heard she's gotten a makeover and looking prettier than ever 😎 -
Bikonja23838yIt looks like you have a bug; summing up the values of the array in each iteration if the loop instead of once after the loop. But for the love of everything that has any value to anyone do not write code in the same line as a closing curly brace, that's just begging for bugs.
Related Rants
This is my first php code ever written, nice to look back.
undefined
php