Signatur
class ValueError extends Error
Beschreibung
Beispiel: str_repeat('a', -1).
Rückgabewert
Typ
ValueError
Beschreibung
Instanz.
Beispiele
Beispiel
<?php
try {
str_repeat('a', -1);
} catch (ValueError $e) {
// Wert ist negativ
}