PHP 5.3이상에서 변경된 함수들


  • call_user_method()  =>  call_user_func()
  • call_user_method_array() =>  call_user_func_array() 
  • define_syslog_variables()
  • dl()
  • ereg() =>  preg_match() 
  • ereg_replace() =>  preg_replace() 
  • eregi() =>  preg_match() 
  • eregi_replace() =>  preg_replace() 
  • set_magic_quotes_runtime() and its alias, magic_quotes_runtime()
  • session_register() =>  $_SESSION superglobal 
  • session_unregister() => $_SESSION superglobal 
  • session_is_registered() =>  $_SESSION superglobal 
  • set_socket_blocking() =>  stream_set_blocking() 
  • split() =>  preg_split() 
  • spliti() =>  preg_split() 
  • sql_regcase()
  • mysql_db_query() (use mysql_select_db() and mysql_query() instead)
  • mysql_escape_string() (use mysql_real_escape_string() instead)
  • Passing locale category names as strings is now deprecated. Use the LC_* family of constants instead.
  • The is_dst parameter to mktime(). Use the new timezone handling functions instead.


블로그 이미지

엘로드넷

,