Blow are the some of the deprecated functionalities which are removed from the PHP7 as for RFC.
1. ext/ereg (deprecated in 5.3) and the ext/mysql extension (deprecated in 5.5) are removed and POSIX compatible regular expressions extension also removed.
Instead of ext/ereg extension use ext/pcre.
Instead of ext/mysql extension use ext/mysqli or ext/pdo_mysql.
2. ASP and script tags have been removed, meaning you can no longer use <% %>and <%= %>, or <script language=”php”> </script>.
3.Disallowing multiple default cases in a switch status , in PHP7 the following is not allowed, in older versions it is valid.
switch ($expr) { default: echo "Hello PHP"; break; default: echo "Hello world"; break; }
Above Code will throw Fatal error – Switch statements may only contain one default clause.
4.The $is_dst parameter of the mktime() and gmmktime() functions deprecated.
5. # style comments in ini files removed and instead of # use ; style comments.
6. use CurlFile to upload files.
That is it, let us know more about PHP 7 removed functionality via comments.