php8.5
Home/ Manual/ reference / spl/ The UnderflowException class

The UnderflowException class

Exception thrown when performing an invalid operation on an empty container, such as removing an element.

Intro

Exception thrown when performing an invalid operation on an empty container, such as removing an element.

Class synopsis

extends RuntimeException { }

Source: reference/spl/underflowexception.xml · from the official PHP manual (php/doc-en)