We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

how to use list and explode function in zephir

I use this

list(, field) = explode( '.', field );
list(, field) = explode( '.', field );
---------^

getting this syntax error

I don't think Zephir supports list assignment: https://github.com/phalcon/zephir/issues/105

var tmp;
let tmp = explode('.', field);
let field = tmp[1]; // or whatever index