Use ZVAL_LONG instead of direct assignment