An argument of the array_pop should be a reference
Merge pull request #2 from kalys/master

An argument of the array_pop should be a reference