Fix array_pop

Code:
$var = ['AAAAA'];
array_pop($var);

Error:
java.lang.ArrayIndexOutOfBoundsException: -1
Merge pull request #143 from SystemX-Files/master

Fix array_pop