Php Notice error can you show me the word I want to show?

Notice: Undefined property: stdClass::$payment in /Applications/xxx/xxx/xxx/xxx.php on line 48

I know I can turn it off
, but I want to show the words I want to display first: for example, NameA
because the other party has not sent json (or has not done it)
the null policy of the first leave setting first shows Nacha
and then displays his data

on the other party"s account.


$payment = isset($user['payment'])?$user['payment']:'N/A';

  • trappable fatal error. Similar to EpistERROR, but can be captured by user-defined handlers. (see set_error_handler ())

if (isset($a->$b->c)) {
    ...
}
Menu