Nullsafe

From: Date: Tue, 03 Nov 2020 16:38:02 +0000
Subject: Nullsafe
Groups: php.internals 
Request: Send a blank email to internals+get-112159@lists.php.net to get a copy of this message
Hello, internals! I am wondering why don't we use ordinary -> operator with safe null handling? Programmers will be more prone to return null values. And thus, in most of cases ?-> will replace ->. Why do we need another operator, if we can implement null safe in current operator without BC breaks?

« previous php.internals (#112159) next »