Please enable Javascript to view this site.
 
 
  • Coding

  • Technology

  • Japanese

  • Chinese

  • Miscellaneous

Articles » Tag: php

Case Sensitivity in PHP

July 14, 2010 | Tags: | Leave a comment

php_logo It surprised me to learn that class names in PHP are actually case insensitive. That means the following is legal:
Full article »


Curly Braces within Double Quotes in PHP

May 31, 2010 | Tags: , | 2 Comments

php_logo Curly braces are used to delimit variables in double quoted strings in PHP. While very useful in many situations, this can cause confusion when trying to print a combination of curly braces and variables.
Full article »


PHP Bug in array_multisort()

April 13, 2005 | Tags: | Leave a comment

php_logo Be careful when using array_multisort() on copies of arrays, as you might end up changing the original array. This is actually a real bug in PHP 5.0.4-dev, and I lost half a day to debugging as a result of this. I explain the bug and a workaround here.
Full article »