2008年10月28日火曜日

 

PHP4.xでPHP5.xの関数を使うライブラリ - upgrade.php

これは便利。以下から取得。

upgrade.php

使い方はファイルを読込だけ。

<?php
  if (PHP_VERSION <"4.4.0") {
    include(".../upgrade.php");
  }
?>

get_include_pathset_include_pathfile_put_contentsscandirやmimetype関連、array関連は便利そうだ。fputcsvは日本語使い物ならないかな。

  json_encode
  json_decode
  strptime
  gzdecode
  htmlspecialchars_decode
  fputcsv
  ob_get_headers
  xmlentities
  stripos
  strripos
  str_ireplace
  get_headers
  headers_list
  fprintf
  vfprintf
  str_split
  http_build_query
  convert_uuencode
  convert_uudecode
  scandir
  idate
  time_nanosleep
  strpbrk
  php_real_logo_guid
  php_egg_logo_guid
  get_declared_interfaces
  array_combine
  array_walk_recursive
  substr_compare
  spl_classes
  class_parents
  session_commit
  dns_check_record
  dns_get_mx
  setrawcookie
  file_put_contents
  count_recursive
  file_get_contents
  fnmatch
  glob
  array_key_exists
  array_intersect_assoc
  array_diff_assoc
  html_entity_decode
  str_word_count
  str_shuffle
  get_include_path
  set_include_path
  restore_include_path
  str_rot13
  array_change_key_case
  array_fill
  array_chunk
  md5_file
  is_a
  fmod
  floatval
  is_infinite
  is_nan
  is_finite
  var_export
  strcoll
  diskfreespace
  disktotalspace
  vprintf
  vsprintf
  import_request_variables
  hypot
  log1p
  expm1
  sinh
  cosh
  tanh
  asinh
  acosh
  atanh
  mhash
  mhash_count
  mhash_get_hash_name
  mhash_get_block_size
  array_udiff_uassoc
  array_udiff_assoc
  array_diff_uassoc
  array_udiff
  array_uintersect_uassoc
  array_uintersect_assoc
  array_uintersect
  array_intersect_uassoc
  dc___exec
  bcscale
  bcadd
  bcsub
  bcmul
  bcdiv
  bcmod
  bcpow
  bcpowmod
  bcsqrt
  bccomp
  bc___scaledown
  gettext
  gettext___plural_guess
  ngettext
  dngettext
  dcngettext
  dcgettext
  dgettext
  textdomain
  bindtextdomain
  gettext___load_mo
  gettext___load_po
  bind_textdomain_codeset
  _
  mime_content_type
  image_type_to_mime_type
  image_type_to_extension
  exif_imagetype
  array_filter
  array_map
  is_callable
  array_search
  array_reduce
  is_scalar
  localeconv
  call_user_func_array
  call_user_method_array
  array_sum
  constant
  is_null
  pathinfo
  escapeshellarg
  is_uploaded_file
  move_uploaded_file
  strncasecmp
  wordwrap
  php_uname
  php_sapi_name
  posix_mkfifo
  posix_getcwd
  posix_kill
  posix_uname
  ctype_alnum
  ctype_alpha
  ctype_digit
  ctype_xdigit
  ctype_cntrl
  ctype_space
  ctype_upper
  ctype_lower
  ctype_graph
  ctype_punct
  ctype_print
  odbc_connect
  odbc_pconnect
  odbc_close
  odbc_exec
  odbc_do
  odbc_prepare
  odbc_execute
  odbc_fetch_array
  odbc_fetch_row
  odbc_fetch_object
  odbc_fetch_into
  odbc_free_result
  odbc_next_result
  odbc_num_fields
  odbc_num_rows 

参考

PHP4.xでPHP5.xの関数を使いたい場合に。upgrade.php - S-page

ラベル:


コメント: コメントを投稿

登録 コメントの投稿 [Atom]



この投稿へのリンク:

リンクを作成



<< ホーム

This page is powered by Blogger. Isn't yours?

登録 投稿 [Atom]

Google