PHP5

Tui học PHP 5 để khỏi lạc hậu. :-P

Các hàm mới:

  • file_put_contents() - Quickly write or append to a file
  • http_build_query() - Generate URL-encoded query string
  • convert_uudecode() - Decode a uuencoded string
  • convert_uuencode() - Uuencode a string
  • str_ireplace() - Case insensitive equivalent of str_replace()
  • strripos() - Find position of last occurrence of a case-insensitive string in a string.
  • mkdir() - Can now create directories recursively via an additional flag.
  • php_check_syntax() - Validate syntax of PHP files.
  • headers_list() - Get a list of headers sent to the browser.
  • time_nanosleep() - Signal safe, high precision sleep function.
  • A whole series of new array sorting and intersect functions.