АС
у вас существует невалидный объект с неопределенным внутренним состоянием
Size: a a a
АС
АС
KN
AC
АГ
АС
АГ
АС
AC
АГ
АГ
АС
$int = new IntOrNullValue('fuck');
$int->getValue(); // null
A
SP
try {
$result = fn();
} catch (Throwable) {
// не удалось
}
[$result, $error] = fn();
if ($error) {
return [null, $error]
}
val result, ^ = fn()
try {
$this->tryThis();
} catch (YouShouldDoThisInstead $e) {
$this->doThis();
} catch (OrYouShouldDoThat $e) {
$this->doThat();
}
KN
try {
$result = fn();
} catch (Throwable) {
// не удалось
}
[$result, $error] = fn();
if ($error) {
return [null, $error]
}
val result, ^ = fn()
try {
$this->tryThis();
} catch (YouShouldDoThisInstead $e) {
$this->doThis();
} catch (OrYouShouldDoThat $e) {
$this->doThat();
}
АГ
$int = new IntOrNullValue('fuck');
$int->getValue(); // null