Archive for July 12th, 2007

  • Jul
    12
    2007

    PHP Array Index Implicit Casts and uniqid()

    In addition to performing implicit string-to-number casts for arithmetic expressions, PHP implicitly casts array keys in the same manner. Thus, even if one puts an integer in quotes as an array key, PHP will convert it back to an integer. However (as we learn from the response to Bug 21954) explicitly casting the index to […]

 
Powered by Wordpress and MySQL. Theme by openark.org