Announcement

Collapse
No announcement yet.

Arrays like this $value[76s] with eval()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • irc
    replied
    I found a workaround. But I'll try that next time. Thanks.

    Leave a comment:


  • merk
    replied
    Originally posted by irc
    I seem to be running into a problem with an array when I try to give it a key that starts with numerals and ends with non-numerals.

    $value[T9] and $value[99] seem to work as expected, but I get an error when I try to use $value[98s] inside eval(). Anyone know why this happens? Something like "98s" seems to work as a key outside of an eval() function.
    Try $value['98s']

    Leave a comment:


  • irc
    started a topic Arrays like this $value[76s] with eval()

    Arrays like this $value[76s] with eval()

    I seem to be running into a problem with an array when I try to give it a key that starts with numerals and ends with non-numerals.

    $value[T9] and $value[99] seem to work as expected, but I get an error when I try to use $value[98s] inside eval(). Anyone know why this happens? Something like "98s" seems to work as a key outside of an eval() function.

Related Topics

Collapse

Working...
X