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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
fyroc58857yfunction getFib($n){
return round(pow((sqrt(5)+1)/2, $n) / sqrt(5));
}
Or something like that -
lucifyer5177y@KnightsOfCode you don't need 'em. The return statement does stop the function from proceeding.
Related Rants
Switch_case
undefined
switch_case