Set call of function array_pop (variable by reference not function)
Make function raiseError compatible with PHP 5.4
Make calls of raiseError compatible