We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 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