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
-
fyroc58758yfunction getFib($n){
return round(pow((sqrt(5)+1)/2, $n) / sqrt(5));
}
Or something like that -
lucifyer5168y@KnightsOfCode you don't need 'em. The return statement does stop the function from proceeding.
Related Rants
Switch_case
undefined
switch_case