This is not an bug or issue. But while I was reading about a lot of performance realated articles I came to know about how javascript variables take more resources to load and so it is better to put the global variable for javascript into a local variable to work - specially in for loops.
So I was wondering if such thing also happens on $_POST with PHP. As in will it give me a performance improvement if I have lot of post data. Save that in a local array say $post_data = $_POST;
And then I reference in where required.