ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
(WHAT) To Do or Not To Do:
Staying Up to Date with PHP
Versions

        ABU ASHRAF MASNUN
            SOFTWARE ENGINEER, LEEVIO
The Two Minute Session
Let¡¯s chat!
Kitties want Names!
(WHAT) To Do or Not To Do: Staying Up To Date with PHP Versions
Declaring Namespaces!
Simple, No?
Hopping like a Bunny!
Hello Closure!
What do these codes mean?
// Guess the output, anyone?
What¡¯s on earth happening here?
Making the best use of ¡°?¡±
Gladly skip the ¡°second¡±
expression!
Unveiling the _callStatic magic!
Callable in PHP: Using _invoke()
Did you know?
Features you should look
      forward to!
Traits ¨C Multi-inheritance lands into PHP,
finally!
Arrays ¨C Made smarter!
File upload progress!
Built in server!
(WHAT) To Do or Not To Do: Staying Up To Date with PHP Versions
? call_user_method() (use
call_user_func() instead)

? call_user_method_array() (use
call_user_func_array() instead)

? define_syslog_variables()

? dl()
?ereg() (use preg_match() instead)

?ereg_replace() (use preg_replace()
instead)

?eregi() (use preg_match() with the 'i'
modifier instead)

?eregi_replace() (use preg_replace()
with the 'i' modifier instead)
?set_magic_quotes_runtime() and its
alias, magic_quotes_runtime()

? session_*() (use the $_SESSION
superglobal instead)

?set_socket_blocking() (use
stream_set_blocking() instead)
?split() (use preg_split() instead)

?mysql_db_query() (use
mysql_select_db() and mysql_query()
instead)

?mysql_escape_string() (use
mysql_real_escape_string() instead)
Thank You!

More Related Content

(WHAT) To Do or Not To Do: Staying Up To Date with PHP Versions