(unset) cast deprecated in php 7.2 / will be removed in php 8.0

966 views
Skip to first unread message

Richard Catto

unread,
Jul 12, 2017, 7:04:05 AM7/12/17
to f3-fra...@googlegroups.com
I know of at least one use of the (unset) cast to return a null value in the fatfreeframework source code.

It's in lib/db/sql.php line 127 in method value of the SQL class.

return null;

should work instead of an (unset) cast.

Reference:

ikkez

unread,
Aug 9, 2017, 1:28:25 AM8/9/17
to Fat-Free Framework
Reply all
Reply to author
Forward
0 new messages