The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 311 Power to summon material witness, or examine person present
Any Court may, at any stage of any inquiry, trial or other proceeding under this Code, summon any person as a witness, or examine any person in attendance, though not summoned as a witness, or recall and re-examine any person already examined; and the Court shall summon and examine or recall and re-examine any such person if his evidence appears to it to be essential to the just decision of the case.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 348 Power to summon material witness, or examine person present
Any Court may, at any stage of any inquiry, trial or other proceeding under this Sanhita, summon any person as a witness, or examine any person in attendance, though not summoned as a witness, or re-call and re-examine any person already examined; and the Court shall summon and examine or re-call and re-examine any such person if his evidence appears to it to be essential to the just decision of the case.
The texts are India Code’s. The amendment markers and footnotes of the official print are left out, so the old section reads as it stood when it was repealed; State amendments are not shown. The PDFs linked below carry the full history.