#20 Variables not handled properly

open
nobody
None
5
2012-08-29
2007-11-18
No

The PHP manual plainly states that variable names in PHP are case-sensitive. You would think the Cross Reference Listing would take that into account. It does list the upper- and lower-case names separately, but just try getting to the page for an upper-case name for which there is a variable with the corresponding lower-case name, and you can't get there from here. Click it, and it takes you to the page for the lower-case variable.

Discussion

  • Logged In: NO

    Richard, are you using phpxref on Windows? I had this problem today on Windows, but it's probably due to the underlying filesystem that doesn't distinguish uppercase from lowercase when saving the xref files. (name of file=variablename.html)
    Erion.