Monthly Archives: July 2009

Fix/Int (Floor) function oddity in ColdFusion 8

I’ve discovered an odd little “bug” in the Fix and Int functions in ColdFusion 8. The Fix/Int functions work similarly to the Floor function in other languages: According to the ColdFusion 8 LiveDocs Int - Calculates the closest integer that is smaller than number. For example, it returns 3 for Int(3.3) and for Int(3.7); it returns -4 for [...]
Posted in ColdFusion, Programming | Tagged , | Leave a comment

Assigning the return value of new by reference is deprecated

I recently upgraded to PHP 5.3.0 after having some issues with FASTCGI and 5.2.x on Windows but the moment I did this I started getting numerous warnings. The one that appeared the most was: Assigning the return value of new by reference is deprecated Apparently in PHP5 all objects are passed as reference and 5.3.0 formally deprecated [...]
Posted in PHP, Programming | Tagged , , | Leave a comment
  • Subscribe to my feed Subscriber via Email Follow Me on Twitter! Check me out on Facebook! Check me out on LinkedIn!