“SEC. 23. Demurrer to evidence.—After the prosecution rests its case, the court may dismiss the action on the ground of insufficiency of evidence (1) on its own initiative after giving the prosecution the opportunity to be heard or (2) upon demurrer to evidence filed by the accused with or without leave of court.
If the court denies the demurrer to evidence filed with leave of court, the accused may adduce evidence in his defense. When the demurrer to evidence is filed without leave of court, the accused waives the right to present evidence and submits the case for judgment on the basis of the evidence for the prosecution. (15a)
The motion for leave of court to file demurrer to evidence shall specifically state its grounds and shall be filed within a non-extendible period of five (5) days after the prosecution rests its case. The prosecution may oppose the motion within a non-extendible period of five (5) days from its receipt.
If leave of court is granted, the accused shall file the demurrer to evidence within a non-extendible period of ten (10) days from notice. The prosecution may oppose the demurrer to evidence within a similar period from its receipt.
The order denying the motion for leave of court to file demurrer to evidence or the demurrer itself shall not be reviewable by appeal or by certiorari before judgment, (n).”