Very Interesting PHP BUG

Discussion in 'PHP' started by deriklogov, Nov 23, 2009.

  1. #1
    I am doing something like
    $current_array=array();
    $current_array=$server2;

    where $server2 is array too containing some information,

    from time to time depends on array

    INFORMATION IN ARRAY BECOMES BLANK,
    rows in array are still present but every value is BLANK.

    Did you ever had issues like that ?
     
    deriklogov, Nov 23, 2009 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It will happen if $server2 doesn't have any data in it. The best thing to do is debug what the values are before and after this. There's no reported bug about this as far as I'm aware and I've never seen it myself either to be honest
     
    JAY6390, Nov 24, 2009 IP
  3. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    the value of $server is probably empty...
    echo the values you will get the answer ;)
     
    xenon2010, Nov 24, 2009 IP