2010년 10월 13일 수요일

[php] php 5.3 에서 배재되고 6버전에서는 빠지는 함수들

[배재되는 함수]  ([대신에 사용해야하는 함수])

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_register() (use the $_SESSION superglobal instead)

session_unregister() (use the $_SESSION superglobal instead)

session_is_registered() (use the $_SESSION superglobal instead)

set_socket_blocking() (use stream_set_blocking() instead)

split() (use preg_split() instead)

spliti() (use preg_split() with the 'i' modifier instead)

sql_regcase()

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

mysql_escape_string() (use mysql_real_escape_string() instead)

 

0 개의 댓글:

댓글 쓰기