When a material witness for the defendant resides out of the State, the defendant may apply for an order that the witness be examined on a commission.
(Enacted 1872.)