Fibonacci Series in 1-Line PHP

    Date: 10/18/05 (Java Web)    Keywords: php, programming, java

    No, I am not competing for obfuscated code context. I realized while showing it to someone that Fibonacci series can be written much more succintly using modern programming languages like php and java. Here is the php version: <?php for($current = 1, $last = 0, $i = 1;$i < = 100;$i++) echo ($current = $last + ($last [...]

    Source: http://blog.taragana.com/index.php/archive/fibonacci-series-in-1-line-php/

« Computer Hardware... || Java Software: 1-Line Sort... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home