Estimated reading time: 0 minutes, 25 seconds
Problem: When printing an array, it is displaying 1 at the end of array result.
 => Science
 => Math
Solution: Remove the echo before using print_r, you are probably using echo print_r($array);
Comment: It is funny and yes I fell into this situation while messing with lots of code of a system. I myself spent too much time to figure it out and had to Google about it. I was then LOL :)