Why php versions 5.4.45 on server still can run code with "eregi" function?

Viewed 25

why this function "eregi" its on server still running don't have error.

but when I download this source code and gonna edit. its warning This function was DEPRECATED in PHP 5.3.0 , but I see this server use php 5.4.45

and I use php version 5.4.25 but cant run and need to change "preg_match()"

and code on server can run with no quote in [ ], but on my server need quote in [''] for running code I'm so confuse. TT

source code in server can use $_SESSION[newsession] no double or single quote in brackets' ,but this code on my desktop it's error need to add '', "" in brackets' , in server php 5.4.45 , my desktop php 5.4.25

0 Answers
Related