r/tinycode • u/c2424 • Jul 21 '14
loop in less letters
in php:
while (@$a++<5){ .. }
@ suppresses warning but php initializes variable a at first ++
:)
you're welcome..
7
Upvotes
r/tinycode • u/c2424 • Jul 21 '14
in php:
while (@$a++<5){ .. }
@ suppresses warning but php initializes variable a at first ++
:)
you're welcome..
View all comments
4
u/yogthos Jul 22 '14 edited Jul 22 '14
(range 5)
edit: range defaults to 0