該學習哪些PHP函數? PHP常用函數?

是這樣的,最近在學習php,發現有好多函數,我知道數組array和字元串string函數比較重要,但查了手冊
數組函數 array functions 有98個
字元串函數 string functions 有77個
這樣就有98+77=175個了

還有文件操作系統 Filesystem Functions
PHP Options/Info Functions

....
好多啊,我該如何學習呢,困惑,望各位大俠指點一二


Array
(
[internal] =&> Array
(
[0] =&> zend_version
[1] =&> func_num_args
[2] =&> func_get_arg
[3] =&> func_get_args
[4] =&> strlen
[5] =&> strcmp
[6] =&> strncmp
[7] =&> strcasecmp
[8] =&> strncasecmp
[9] =&> each
[10] =&> error_reporting
[11] =&> define
[12] =&> defined
[13] =&> get_class
[14] =&> get_called_class
[15] =&> get_parent_class
[16] =&> method_exists
[17] =&> property_exists
[18] =&> class_exists
[19] =&> interface_exists
[20] =&> trait_exists
[21] =&> function_exists
[22] =&> class_alias
[23] =&> get_included_files
[24] =&> get_required_files
[25] =&> is_subclass_of
[26] =&> is_a
[27] =&> get_class_vars
[28] =&> get_object_vars
[29] =&> get_class_methods
[30] =&> trigger_error
[31] =&> user_error
[32] =&> set_error_handler
[33] =&> restore_error_handler
[34] =&> set_exception_handler
[35] =&> restore_exception_handler
[36] =&> get_declared_classes
[37] =&> get_declared_traits
[38] =&> get_declared_interfaces
[39] =&> get_defined_functions
[40] =&> get_defined_vars
[41] =&> create_function
[42] =&> get_resource_type
[43] =&> get_loaded_extensions
[44] =&> extension_loaded
[45] =&> get_extension_funcs
[46] =&> get_defined_constants
[47] =&> debug_backtrace
[48] =&> debug_print_backtrace
[49] =&> gc_collect_cycles
[50] =&> gc_enabled
[51] =&> gc_enable
[52] =&> gc_disable
[53] =&> strtotime
[54] =&> date
[55] =&> idate
[56] =&> gmdate
[57] =&> mktime
[58] =&> gmmktime
[59] =&> checkdate
[60] =&> strftime
[61] =&> gmstrftime
[62] =&> time
[63] =&> localtime
[64] =&> getdate
[65] =&> date_create
[66] =&> date_create_immutable
[67] =&> date_create_from_format
[68] =&> date_create_immutable_from_format
[69] =&> date_parse
[70] =&> date_parse_from_format
[71] =&> date_get_last_errors
[72] =&> date_format
[73] =&> date_modify
[74] =&> date_add
[75] =&> date_sub
[76] =&> date_timezone_get
[77] =&> date_timezone_set
[78] =&> date_offset_get
[79] =&> date_diff
[80] =&> date_time_set
[81] =&> date_date_set
[82] =&> date_isodate_set
[83] =&> date_timestamp_set
[84] =&> date_timestamp_get
[85] =&> timezone_open
[86] =&> timezone_name_get
[87] =&> timezone_name_from_abbr
[88] =&> timezone_offset_get
[89] =&> timezone_transitions_get
[90] =&> timezone_location_get
[91] =&> timezone_identifiers_list
[92] =&> timezone_abbreviations_list
[93] =&> timezone_version_get
[94] =&> date_interval_create_from_date_string
[95] =&> date_interval_format
[96] =&> date_default_timezone_set
[97] =&> date_default_timezone_get
[98] =&> date_sunrise
[99] =&> date_sunset
[100] =&> date_sun_info
[101] =&> ereg
[102] =&> ereg_replace
[103] =&> eregi
[104] =&> eregi_replace
[105] =&> split
[106] =&> spliti
[107] =&> sql_regcase
[108] =&> libxml_set_streams_context
[109] =&> libxml_use_internal_errors
[110] =&> libxml_get_last_error
[111] =&> libxml_clear_errors
[112] =&> libxml_get_errors
[113] =&> libxml_disable_entity_loader
[114] =&> libxml_set_external_entity_loader
[115] =&> openssl_get_cert_locations
[116] =&> openssl_spki_new
[117] =&> openssl_spki_verify
[118] =&> openssl_spki_export
[119] =&> openssl_spki_export_challenge
[120] =&> openssl_pkey_free
[121] =&> openssl_pkey_new
[122] =&> openssl_pkey_export
[123] =&> openssl_pkey_export_to_file
[124] =&> openssl_pkey_get_private
[125] =&> openssl_pkey_get_public
[126] =&> openssl_pkey_get_details
[127] =&> openssl_free_key
[128] =&> openssl_get_privatekey
[129] =&> openssl_get_publickey
[130] =&> openssl_x509_read
[131] =&> openssl_x509_free
[132] =&> openssl_x509_parse
[133] =&> openssl_x509_checkpurpose
[134] =&> openssl_x509_check_private_key
[135] =&> openssl_x509_export
[136] =&> openssl_x509_fingerprint
[137] =&> openssl_x509_export_to_file
[138] =&> openssl_pkcs12_export
[139] =&> openssl_pkcs12_export_to_file
[140] =&> openssl_pkcs12_read
[141] =&> openssl_csr_new
[142] =&> openssl_csr_export
[143] =&> openssl_csr_export_to_file
[144] =&> openssl_csr_sign
[145] =&> openssl_csr_get_subject
[146] =&> openssl_csr_get_public_key
[147] =&> openssl_digest
[148] =&> openssl_encrypt
[149] =&> openssl_decrypt
[150] =&> openssl_cipher_iv_length
[151] =&> openssl_sign
[152] =&> openssl_verify
[153] =&> openssl_seal
[154] =&> openssl_open
[155] =&> openssl_pkcs7_verify
[156] =&> openssl_pkcs7_decrypt
[157] =&> openssl_pkcs7_sign
[158] =&> openssl_pkcs7_encrypt
[159] =&> openssl_private_encrypt
[160] =&> openssl_private_decrypt
[161] =&> openssl_public_encrypt
[162] =&> openssl_public_decrypt
[163] =&> openssl_get_md_methods
[164] =&> openssl_get_cipher_methods
[165] =&> openssl_dh_compute_key
[166] =&> openssl_random_pseudo_bytes
[167] =&> openssl_error_string
[168] =&> preg_match
[169] =&> preg_match_all
[170] =&> preg_replace
[171] =&> preg_replace_callback
[172] =&> preg_filter
[173] =&> preg_split
[174] =&> preg_quote
[175] =&> preg_grep
[176] =&> preg_last_error
[177] =&> readgzfile
[178] =&> gzrewind
[179] =&> gzclose
[180] =&> gzeof
[181] =&> gzgetc
[182] =&> gzgets
[183] =&> gzgetss
[184] =&> gzread
[185] =&> gzopen
[186] =&> gzpassthru
[187] =&> gzseek
[188] =&> gztell
[189] =&> gzwrite
[190] =&> gzputs
[191] =&> gzfile
[192] =&> gzcompress
[193] =&> gzuncompress
[194] =&> gzdeflate
[195] =&> gzinflate
[196] =&> gzencode
[197] =&> gzdecode
[198] =&> zlib_encode
[199] =&> zlib_decode
[200] =&> zlib_get_coding_type
[201] =&> ob_gzhandler
[202] =&> ctype_alnum
[203] =&> ctype_alpha
[204] =&> ctype_cntrl
[205] =&> ctype_digit
[206] =&> ctype_lower
[207] =&> ctype_graph
[208] =&> ctype_print
[209] =&> ctype_punct
[210] =&> ctype_space
[211] =&> ctype_upper
[212] =&> ctype_xdigit
[213] =&> curl_init
[214] =&> curl_copy_handle
[215] =&> curl_version
[216] =&> curl_setopt
[217] =&> curl_setopt_array
[218] =&> curl_exec
[219] =&> curl_getinfo
[220] =&> curl_error
[221] =&> curl_errno
[222] =&> curl_close
[223] =&> curl_strerror
[224] =&> curl_multi_strerror
[225] =&> curl_reset
[226] =&> curl_escape
[227] =&> curl_unescape
[228] =&> curl_multi_init
[229] =&> curl_multi_add_handle
[230] =&> curl_multi_remove_handle
[231] =&> curl_multi_select
[232] =&> curl_multi_exec
[233] =&> curl_multi_getcontent
[234] =&> curl_multi_info_read
[235] =&> curl_multi_close
[236] =&> curl_multi_setopt
[237] =&> curl_share_init
[238] =&> curl_share_close
[239] =&> curl_share_setopt
[240] =&> curl_file_create
[241] =&> dom_import_simplexml
[242] =&> filter_input
[243] =&> filter_var
[244] =&> filter_input_array
[245] =&> filter_var_array
[246] =&> filter_list
[247] =&> filter_has_var
[248] =&> filter_id
[249] =&> ftp_connect
[250] =&> ftp_ssl_connect
[251] =&> ftp_login
[252] =&> ftp_pwd
[253] =&> ftp_cdup
[254] =&> ftp_chdir
[255] =&> ftp_exec
[256] =&> ftp_raw
[257] =&> ftp_mkdir
[258] =&> ftp_rmdir
[259] =&> ftp_chmod
[260] =&> ftp_alloc
[261] =&> ftp_nlist
[262] =&> ftp_rawlist
[263] =&> ftp_systype
[264] =&> ftp_pasv
[265] =&> ftp_get
[266] =&> ftp_fget
[267] =&> ftp_put
[268] =&> ftp_fput
[269] =&> ftp_size
[270] =&> ftp_mdtm
[271] =&> ftp_rename
[272] =&> ftp_delete
[273] =&> ftp_site
[274] =&> ftp_close
[275] =&> ftp_set_option
[276] =&> ftp_get_option
[277] =&> ftp_nb_fget
[278] =&> ftp_nb_get
[279] =&> ftp_nb_continue
[280] =&> ftp_nb_put
[281] =&> ftp_nb_fput
[282] =&> ftp_quit
[283] =&> gd_info
[284] =&> imagearc
[285] =&> imageellipse
[286] =&> imagechar
[287] =&> imagecharup
[288] =&> imagecolorat
[289] =&> imagecolorallocate
[290] =&> imagepalettecopy
[291] =&> imagecreatefromstring
[292] =&> imagecolorclosest
[293] =&> imagecolorclosesthwb
[294] =&> imagecolordeallocate
[295] =&> imagecolorresolve
[296] =&> imagecolorexact
[297] =&> imagecolorset
[298] =&> imagecolortransparent
[299] =&> imagecolorstotal
[300] =&> imagecolorsforindex
[301] =&> imagecopy
[302] =&> imagecopymerge
[303] =&> imagecopymergegray
[304] =&> imagecopyresized
[305] =&> imagecreate
[306] =&> imagecreatetruecolor
[307] =&> imageistruecolor
[308] =&> imagetruecolortopalette
[309] =&> imagepalettetotruecolor
[310] =&> imagesetthickness
[311] =&> imagefilledarc
[312] =&> imagefilledellipse
[313] =&> imagealphablending
[314] =&> imagesavealpha
[315] =&> imagecolorallocatealpha
[316] =&> imagecolorresolvealpha
[317] =&> imagecolorclosestalpha
[318] =&> imagecolorexactalpha
[319] =&> imagecopyresampled
[320] =&> imagerotate
[321] =&> imageflip
[322] =&> imageantialias
[323] =&> imagecrop
[324] =&> imagecropauto
[325] =&> imagescale
[326] =&> imageaffine
[327] =&> imageaffinematrixconcat
[328] =&> imageaffinematrixget
[329] =&> imagesetinterpolation
[330] =&> imagesettile
[331] =&> imagesetbrush
[332] =&> imagesetstyle
[333] =&> imagecreatefrompng
[334] =&> imagecreatefromgif
[335] =&> imagecreatefromjpeg
[336] =&> imagecreatefromwbmp
[337] =&> imagecreatefromxbm
[338] =&> imagecreatefromgd
[339] =&> imagecreatefromgd2
[340] =&> imagecreatefromgd2part
[341] =&> imagepng
[342] =&> imagegif
[343] =&> imagejpeg
[344] =&> imagewbmp
[345] =&> imagegd
[346] =&> imagegd2
[347] =&> imagedestroy
[348] =&> imagegammacorrect
[349] =&> imagefill
[350] =&> imagefilledpolygon
[351] =&> imagefilledrectangle
[352] =&> imagefilltoborder
[353] =&> imagefontwidth
[354] =&> imagefontheight
[355] =&> imageinterlace
[356] =&> imageline
[357] =&> imageloadfont
[358] =&> imagepolygon
[359] =&> imagerectangle
[360] =&> imagesetpixel
[361] =&> imagestring
[362] =&> imagestringup
[363] =&> imagesx
[364] =&> imagesy
[365] =&> imagedashedline
[366] =&> imagettfbbox
[367] =&> imagettftext
[368] =&> imageftbbox
[369] =&> imagefttext
[370] =&> imagetypes
[371] =&> jpeg2wbmp
[372] =&> png2wbmp
[373] =&> image2wbmp
[374] =&> imagelayereffect
[375] =&> imagexbm
[376] =&> imagecolormatch
[377] =&> imagefilter
[378] =&> imageconvolution
[379] =&> hash
[380] =&> hash_file
[381] =&> hash_hmac
[382] =&> hash_hmac_file
[383] =&> hash_init
[384] =&> hash_update
[385] =&> hash_update_stream
[386] =&> hash_update_file
[387] =&> hash_final
[388] =&> hash_copy
[389] =&> hash_algos
[390] =&> hash_pbkdf2
[391] =&> hash_equals
[392] =&> mhash_keygen_s2k
[393] =&> mhash_get_block_size
[394] =&> mhash_get_hash_name
[395] =&> mhash_count
[396] =&> mhash
[397] =&> iconv
[398] =&> iconv_get_encoding
[399] =&> iconv_set_encoding
[400] =&> iconv_strlen
[401] =&> iconv_substr
[402] =&> iconv_strpos
[403] =&> iconv_strrpos
[404] =&> iconv_mime_encode
[405] =&> iconv_mime_decode
[406] =&> iconv_mime_decode_headers
[407] =&> json_encode
[408] =&> json_decode
[409] =&> json_last_error
[410] =&> json_last_error_msg
[411] =&> mb_convert_case
[412] =&> mb_strtoupper
[413] =&> mb_strtolower
[414] =&> mb_language
[415] =&> mb_internal_encoding
[416] =&> mb_http_input
[417] =&> mb_http_output
[418] =&> mb_detect_order
[419] =&> mb_substitute_character
[420] =&> mb_parse_str
[421] =&> mb_output_handler
[422] =&> mb_preferred_mime_name
[423] =&> mb_strlen
[424] =&> mb_strpos
[425] =&> mb_strrpos
[426] =&> mb_stripos
[427] =&> mb_strripos
[428] =&> mb_strstr
[429] =&> mb_strrchr
[430] =&> mb_stristr
[431] =&> mb_strrichr
[432] =&> mb_substr_count
[433] =&> mb_substr
[434] =&> mb_strcut
[435] =&> mb_strwidth
[436] =&> mb_strimwidth
[437] =&> mb_convert_encoding
[438] =&> mb_detect_encoding
[439] =&> mb_list_encodings
[440] =&> mb_encoding_aliases
[441] =&> mb_convert_kana
[442] =&> mb_encode_mimeheader
[443] =&> mb_decode_mimeheader
[444] =&> mb_convert_variables
[445] =&> mb_encode_numericentity
[446] =&> mb_decode_numericentity
[447] =&> mb_send_mail
[448] =&> mb_get_info
[449] =&> mb_check_encoding
[450] =&> mb_regex_encoding
[451] =&> mb_regex_set_options
[452] =&> mb_ereg
[453] =&> mb_eregi
[454] =&> mb_ereg_replace
[455] =&> mb_eregi_replace
[456] =&> mb_ereg_replace_callback
[457] =&> mb_split
[458] =&> mb_ereg_match
[459] =&> mb_ereg_search
[460] =&> mb_ereg_search_pos
[461] =&> mb_ereg_search_regs
[462] =&> mb_ereg_search_init
[463] =&> mb_ereg_search_getregs
[464] =&> mb_ereg_search_getpos
[465] =&> mb_ereg_search_setpos
[466] =&> mbregex_encoding
[467] =&> mbereg
[468] =&> mberegi
[469] =&> mbereg_replace
[470] =&> mberegi_replace
[471] =&> mbsplit
[472] =&> mbereg_match
[473] =&> mbereg_search
[474] =&> mbereg_search_pos
[475] =&> mbereg_search_regs
[476] =&> mbereg_search_init
[477] =&> mbereg_search_getregs
[478] =&> mbereg_search_getpos
[479] =&> mbereg_search_setpos
[480] =&> mcrypt_ecb
[481] =&> mcrypt_cbc
[482] =&> mcrypt_cfb
[483] =&> mcrypt_ofb
[484] =&> mcrypt_get_key_size
[485] =&> mcrypt_get_block_size
[486] =&> mcrypt_get_cipher_name
[487] =&> mcrypt_create_iv
[488] =&> mcrypt_list_algorithms
[489] =&> mcrypt_list_modes
[490] =&> mcrypt_get_iv_size
[491] =&> mcrypt_encrypt
[492] =&> mcrypt_decrypt
[493] =&> mcrypt_module_open
[494] =&> mcrypt_generic_init
[495] =&> mcrypt_generic
[496] =&> mdecrypt_generic
[497] =&> mcrypt_generic_end
[498] =&> mcrypt_generic_deinit
[499] =&> mcrypt_enc_self_test
[500] =&> mcrypt_enc_is_block_algorithm_mode
[501] =&> mcrypt_enc_is_block_algorithm
[502] =&> mcrypt_enc_is_block_mode
[503] =&> mcrypt_enc_get_block_size
[504] =&> mcrypt_enc_get_key_size
[505] =&> mcrypt_enc_get_supported_key_sizes
[506] =&> mcrypt_enc_get_iv_size
[507] =&> mcrypt_enc_get_algorithms_name
[508] =&> mcrypt_enc_get_modes_name
[509] =&> mcrypt_module_self_test
[510] =&> mcrypt_module_is_block_algorithm_mode
[511] =&> mcrypt_module_is_block_algorithm
[512] =&> mcrypt_module_is_block_mode
[513] =&> mcrypt_module_get_algo_block_size
[514] =&> mcrypt_module_get_algo_key_size
[515] =&> mcrypt_module_get_supported_key_sizes
[516] =&> mcrypt_module_close
[517] =&> mysql_connect
[518] =&> mysql_pconnect
[519] =&> mysql_close
[520] =&> mysql_select_db
[521] =&> mysql_query
[522] =&> mysql_unbuffered_query
[523] =&> mysql_db_query
[524] =&> mysql_list_dbs
[525] =&> mysql_list_tables
[526] =&> mysql_list_fields
[527] =&> mysql_list_processes
[528] =&> mysql_error
[529] =&> mysql_errno
[530] =&> mysql_affected_rows
[531] =&> mysql_insert_id
[532] =&> mysql_result
[533] =&> mysql_num_rows
[534] =&> mysql_num_fields
[535] =&> mysql_fetch_row
[536] =&> mysql_fetch_array
[537] =&> mysql_fetch_assoc
[538] =&> mysql_fetch_object
[539] =&> mysql_data_seek
[540] =&> mysql_fetch_lengths
[541] =&> mysql_fetch_field
[542] =&> mysql_field_seek
[543] =&> mysql_free_result
[544] =&> mysql_field_name
[545] =&> mysql_field_table
[546] =&> mysql_field_len
[547] =&> mysql_field_type
[548] =&> mysql_field_flags
[549] =&> mysql_escape_string
[550] =&> mysql_real_escape_string
[551] =&> mysql_stat
[552] =&> mysql_thread_id
[553] =&> mysql_client_encoding
[554] =&> mysql_ping
[555] =&> mysql_get_client_info
[556] =&> mysql_get_host_info
[557] =&> mysql_get_proto_info
[558] =&> mysql_get_server_info
[559] =&> mysql_info
[560] =&> mysql_set_charset
[561] =&> mysql
[562] =&> mysql_fieldname
[563] =&> mysql_fieldtable
[564] =&> mysql_fieldlen
[565] =&> mysql_fieldtype
[566] =&> mysql_fieldflags
[567] =&> mysql_selectdb
[568] =&> mysql_freeresult
[569] =&> mysql_numfields
[570] =&> mysql_numrows
[571] =&> mysql_listdbs
[572] =&> mysql_listtables
[573] =&> mysql_listfields
[574] =&> mysql_db_name
[575] =&> mysql_dbname
[576] =&> mysql_tablename
[577] =&> mysql_table_name
[578] =&> mysqli_affected_rows
[579] =&> mysqli_autocommit
[580] =&> mysqli_begin_transaction
[581] =&> mysqli_change_user
[582] =&> mysqli_character_set_name
[583] =&> mysqli_close
[584] =&> mysqli_commit
[585] =&> mysqli_connect
[586] =&> mysqli_connect_errno
[587] =&> mysqli_connect_error
[588] =&> mysqli_data_seek
[589] =&> mysqli_dump_debug_info
[590] =&> mysqli_debug
[591] =&> mysqli_errno
[592] =&> mysqli_error
[593] =&> mysqli_error_list
[594] =&> mysqli_stmt_execute
[595] =&> mysqli_execute
[596] =&> mysqli_fetch_field
[597] =&> mysqli_fetch_fields
[598] =&> mysqli_fetch_field_direct
[599] =&> mysqli_fetch_lengths
[600] =&> mysqli_fetch_array
[601] =&> mysqli_fetch_assoc
[602] =&> mysqli_fetch_object
[603] =&> mysqli_fetch_row
[604] =&> mysqli_field_count
[605] =&> mysqli_field_seek
[606] =&> mysqli_field_tell
[607] =&> mysqli_free_result
[608] =&> mysqli_get_charset
[609] =&> mysqli_get_client_info
[610] =&> mysqli_get_client_version
[611] =&> mysqli_get_links_stats
[612] =&> mysqli_get_host_info
[613] =&> mysqli_get_proto_info
[614] =&> mysqli_get_server_info
[615] =&> mysqli_get_server_version
[616] =&> mysqli_get_warnings
[617] =&> mysqli_init
[618] =&> mysqli_info
[619] =&> mysqli_insert_id
[620] =&> mysqli_kill
[621] =&> mysqli_more_results
[622] =&> mysqli_multi_query
[623] =&> mysqli_next_result
[624] =&> mysqli_num_fields
[625] =&> mysqli_num_rows
[626] =&> mysqli_options
[627] =&> mysqli_ping
[628] =&> mysqli_prepare
[629] =&> mysqli_report
[630] =&> mysqli_query
[631] =&> mysqli_real_connect
[632] =&> mysqli_real_escape_string
[633] =&> mysqli_real_query
[634] =&> mysqli_release_savepoint
[635] =&> mysqli_rollback
[636] =&> mysqli_savepoint
[637] =&> mysqli_select_db
[638] =&> mysqli_set_charset
[639] =&> mysqli_stmt_affected_rows
[640] =&> mysqli_stmt_attr_get
[641] =&> mysqli_stmt_attr_set
[642] =&> mysqli_stmt_bind_param
[643] =&> mysqli_stmt_bind_result
[644] =&> mysqli_stmt_close
[645] =&> mysqli_stmt_data_seek
[646] =&> mysqli_stmt_errno
[647] =&> mysqli_stmt_error
[648] =&> mysqli_stmt_error_list
[649] =&> mysqli_stmt_fetch
[650] =&> mysqli_stmt_field_count
[651] =&> mysqli_stmt_free_result
[652] =&> mysqli_stmt_get_warnings
[653] =&> mysqli_stmt_init
[654] =&> mysqli_stmt_insert_id
[655] =&> mysqli_stmt_num_rows
[656] =&> mysqli_stmt_param_count
[657] =&> mysqli_stmt_prepare
[658] =&> mysqli_stmt_reset
[659] =&> mysqli_stmt_result_metadata
[660] =&> mysqli_stmt_send_long_data
[661] =&> mysqli_stmt_store_result
[662] =&> mysqli_stmt_sqlstate
[663] =&> mysqli_sqlstate
[664] =&> mysqli_ssl_set
[665] =&> mysqli_stat
[666] =&> mysqli_store_result
[667] =&> mysqli_thread_id
[668] =&> mysqli_thread_safe
[669] =&> mysqli_use_result
[670] =&> mysqli_warning_count
[671] =&> mysqli_refresh
[672] =&> mysqli_escape_string
[673] =&> mysqli_set_opt
[674] =&> spl_classes
[675] =&> spl_autoload
[676] =&> spl_autoload_extensions
[677] =&> spl_autoload_register
[678] =&> spl_autoload_unregister
[679] =&> spl_autoload_functions
[680] =&> spl_autoload_call
[681] =&> class_parents
[682] =&> class_implements
[683] =&> class_uses
[684] =&> spl_object_hash
[685] =&> iterator_to_array
[686] =&> iterator_count
[687] =&> iterator_apply
[688] =&> pdo_drivers
[689] =&> posix_kill
[690] =&> posix_getpid
[691] =&> posix_getppid
[692] =&> posix_getuid
[693] =&> posix_setuid
[694] =&> posix_geteuid
[695] =&> posix_seteuid
[696] =&> posix_getgid
[697] =&> posix_setgid
[698] =&> posix_getegid
[699] =&> posix_setegid
[700] =&> posix_getgroups
[701] =&> posix_getlogin
[702] =&> posix_getpgrp
[703] =&> posix_setsid
[704] =&> posix_setpgid
[705] =&> posix_getpgid
[706] =&> posix_getsid
[707] =&> posix_uname
[708] =&> posix_times
[709] =&> posix_ctermid
[710] =&> posix_ttyname
[711] =&> posix_isatty
[712] =&> posix_getcwd
[713] =&> posix_mkfifo
[714] =&> posix_mknod
[715] =&> posix_access
[716] =&> posix_getgrnam
[717] =&> posix_getgrgid
[718] =&> posix_getpwnam
[719] =&> posix_getpwuid
[720] =&> posix_getrlimit
[721] =&> posix_get_last_error
[722] =&> posix_errno
[723] =&> posix_strerror
[724] =&> posix_initgroups
[725] =&> session_name
[726] =&> session_module_name
[727] =&> session_save_path
[728] =&> session_id
[729] =&> session_regenerate_id
[730] =&> session_decode
[731] =&> session_encode
[732] =&> session_start
[733] =&> session_destroy
[734] =&> session_unset
[735] =&> session_set_save_handler
[736] =&> session_cache_limiter
[737] =&> session_cache_expire
[738] =&> session_set_cookie_params
[739] =&> session_get_cookie_params
[740] =&> session_write_close
[741] =&> session_abort
[742] =&> session_reset
[743] =&> session_status
[744] =&> session_register_shutdown
[745] =&> session_commit
[746] =&> simplexml_load_file
[747] =&> simplexml_load_string
[748] =&> simplexml_import_dom
[749] =&> socket_select
[750] =&> socket_create
[751] =&> socket_create_listen
[752] =&> socket_create_pair
[753] =&> socket_accept
[754] =&> socket_set_nonblock
[755] =&> socket_set_block
[756] =&> socket_listen
[757] =&> socket_close
[758] =&> socket_write
[759] =&> socket_read
[760] =&> socket_getsockname
[761] =&> socket_getpeername
[762] =&> socket_connect
[763] =&> socket_strerror
[764] =&> socket_bind
[765] =&> socket_recv
[766] =&> socket_send
[767] =&> socket_recvfrom
[768] =&> socket_sendto
[769] =&> socket_get_option
[770] =&> socket_set_option
[771] =&> socket_shutdown
[772] =&> socket_last_error
[773] =&> socket_clear_error
[774] =&> socket_import_stream
[775] =&> socket_sendmsg
[776] =&> socket_recvmsg
[777] =&> socket_cmsg_space
[778] =&> socket_getopt
[779] =&> socket_setopt
[780] =&> constant
[781] =&> bin2hex
[782] =&> hex2bin
[783] =&> sleep
[784] =&> usleep
[785] =&> time_nanosleep
[786] =&> time_sleep_until
[787] =&> strptime
[788] =&> flush
[789] =&> wordwrap
[790] =&> htmlspecialchars
[791] =&> htmlentities
[792] =&> html_entity_decode
[793] =&> htmlspecialchars_decode
[794] =&> get_html_translation_table
[795] =&> sha1
[796] =&> sha1_file
[797] =&> md5
[798] =&> md5_file
[799] =&> crc32
[800] =&> iptcparse
[801] =&> iptcembed
[802] =&> getimagesize
[803] =&> getimagesizefromstring
[804] =&> image_type_to_mime_type
[805] =&> image_type_to_extension
[806] =&> phpinfo
[807] =&> phpversion
[808] =&> phpcredits
[809] =&> php_sapi_name
[810] =&> php_uname
[811] =&> php_ini_scanned_files
[812] =&> php_ini_loaded_file
[813] =&> strnatcmp
[814] =&> strnatcasecmp
[815] =&> substr_count
[816] =&> strspn
[817] =&> strcspn
[818] =&> strtok
[819] =&> strtoupper
[820] =&> strtolower
[821] =&> strpos
[822] =&> stripos
[823] =&> strrpos
[824] =&> strripos
[825] =&> strrev
[826] =&> hebrev
[827] =&> hebrevc
[828] =&> nl2br
[829] =&> basename
[830] =&> dirname
[831] =&> pathinfo
[832] =&> stripslashes
[833] =&> stripcslashes
[834] =&> strstr
[835] =&> stristr
[836] =&> strrchr
[837] =&> str_shuffle
[838] =&> str_word_count
[839] =&> str_split
[840] =&> strpbrk
[841] =&> substr_compare
[842] =&> strcoll
[843] =&> money_format
[844] =&> substr
[845] =&> substr_replace
[846] =&> quotemeta
[847] =&> ucfirst
[848] =&> lcfirst
[849] =&> ucwords
[850] =&> strtr
[851] =&> addslashes
[852] =&> addcslashes
[853] =&> rtrim
[854] =&> str_replace
[855] =&> str_ireplace
[856] =&> str_repeat
[857] =&> count_chars
[858] =&> chunk_split
[859] =&> trim
[860] =&> ltrim
[861] =&> strip_tags
[862] =&> similar_text
[863] =&> explode
[864] =&> implode
[865] =&> join
[866] =&> setlocale
[867] =&> localeconv
[868] =&> nl_langinfo
[869] =&> soundex
[870] =&> levenshtein
[871] =&> chr
[872] =&> ord
[873] =&> parse_str
[874] =&> str_getcsv
[875] =&> str_pad
[876] =&> chop
[877] =&> strchr
[878] =&> sprintf
[879] =&> printf
[880] =&> vprintf
[881] =&> vsprintf
[882] =&> fprintf
[883] =&> vfprintf
[884] =&> sscanf
[885] =&> fscanf
[886] =&> parse_url
[887] =&> urlencode
[888] =&> urldecode
[889] =&> rawurlencode
[890] =&> rawurldecode
[891] =&> http_build_query
[892] =&> readlink
[893] =&> linkinfo
[894] =&> symlink
[895] =&> link
[896] =&> unlink
[897] =&> exec
[898] =&> system
[899] =&> escapeshellcmd
[900] =&> escapeshellarg
[901] =&> passthru
[902] =&> shell_exec
[903] =&> proc_open
[904] =&> proc_close
[905] =&> proc_terminate
[906] =&> proc_get_status
[907] =&> proc_nice
[908] =&> rand
[909] =&> srand
[910] =&> getrandmax
[911] =&> mt_rand
[912] =&> mt_srand
[913] =&> mt_getrandmax
[914] =&> getservbyname
[915] =&> getservbyport
[916] =&> getprotobyname
[917] =&> getprotobynumber
[918] =&> getmyuid
[919] =&> getmygid
[920] =&> getmypid
[921] =&> getmyinode
[922] =&> getlastmod
[923] =&> base64_decode
[924] =&> base64_encode
[925] =&> password_hash
[926] =&> password_get_info
[927] =&> password_needs_rehash
[928] =&> password_verify
[929] =&> convert_uuencode
[930] =&> convert_uudecode
[931] =&> abs
[932] =&> ceil
[933] =&> floor
[934] =&> round
[935] =&> sin
[936] =&> cos
[937] =&> tan
[938] =&> asin
[939] =&> acos
[940] =&> atan
[941] =&> atanh
[942] =&> atan2
[943] =&> sinh
[944] =&> cosh
[945] =&> tanh
[946] =&> asinh
[947] =&> acosh
[948] =&> expm1
[949] =&> log1p
[950] =&> pi
[951] =&> is_finite
[952] =&> is_nan
[953] =&> is_infinite
[954] =&> pow
[955] =&> exp
[956] =&> log
[957] =&> log10
[958] =&> sqrt
[959] =&> hypot
[960] =&> deg2rad
[961] =&> rad2deg
[962] =&> bindec
[963] =&> hexdec
[964] =&> octdec
[965] =&> decbin
[966] =&> decoct
[967] =&> dechex
[968] =&> base_convert
[969] =&> number_format
[970] =&> fmod
[971] =&> inet_ntop
[972] =&> inet_pton
[973] =&> ip2long
[974] =&> long2ip
[975] =&> getenv
[976] =&> putenv
[977] =&> getopt
[978] =&> sys_getloadavg
[979] =&> microtime
[980] =&> gettimeofday
[981] =&> getrusage
[982] =&> uniqid
[983] =&> quoted_printable_decode
[984] =&> quoted_printable_encode
[985] =&> convert_cyr_string
[986] =&> get_current_user
[987] =&> set_time_limit
[988] =&> header_register_callback
[989] =&> get_cfg_var
[990] =&> magic_quotes_runtime
[991] =&> set_magic_quotes_runtime
[992] =&> get_magic_quotes_gpc
[993] =&> get_magic_quotes_runtime
[994] =&> error_log
[995] =&> error_get_last
[996] =&> call_user_func
[997] =&> call_user_func_array
[998] =&> call_user_method
[999] =&> call_user_method_array
[1000] =&> forward_static_call
[1001] =&> forward_static_call_array
[1002] =&> serialize
[1003] =&> unserialize
[1004] =&> var_dump
[1005] =&> var_export
[1006] =&> debug_zval_dump
[1007] =&> print_r
[1008] =&> memory_get_usage
[1009] =&> memory_get_peak_usage
[1010] =&> register_shutdown_function
[1011] =&> register_tick_function
[1012] =&> unregister_tick_function
[1013] =&> highlight_file
[1014] =&> show_source
[1015] =&> highlight_string
[1016] =&> php_strip_whitespace
[1017] =&> ini_get
[1018] =&> ini_get_all
[1019] =&> ini_set
[1020] =&> ini_alter
[1021] =&> ini_restore
[1022] =&> get_include_path
[1023] =&> set_include_path
[1024] =&> restore_include_path
[1025] =&> setcookie
[1026] =&> setrawcookie
[1027] =&> header
[1028] =&> header_remove
[1029] =&> headers_sent
[1030] =&> headers_list
[1031] =&> http_response_code
[1032] =&> connection_aborted
[1033] =&> connection_status
[1034] =&> ignore_user_abort
[1035] =&> parse_ini_file
[1036] =&> parse_ini_string
[1037] =&> is_uploaded_file
[1038] =&> move_uploaded_file
[1039] =&> gethostbyaddr
[1040] =&> gethostbyname
[1041] =&> gethostbynamel
[1042] =&> gethostname
[1043] =&> dns_check_record
[1044] =&> checkdnsrr
[1045] =&> dns_get_mx
[1046] =&> getmxrr
[1047] =&> dns_get_record
[1048] =&> intval
[1049] =&> floatval
[1050] =&> doubleval
[1051] =&> strval
[1052] =&> boolval
[1053] =&> gettype
[1054] =&> settype
[1055] =&> is_null
[1056] =&> is_resource
[1057] =&> is_bool
[1058] =&> is_long
[1059] =&> is_float
[1060] =&> is_int
[1061] =&> is_integer
[1062] =&> is_double
[1063] =&> is_real
[1064] =&> is_numeric
[1065] =&> is_string
[1066] =&> is_array
[1067] =&> is_object
[1068] =&> is_scalar
[1069] =&> is_callable
[1070] =&> pclose
[1071] =&> popen
[1072] =&> readfile
[1073] =&> rewind
[1074] =&> rmdir
[1075] =&> umask
[1076] =&> fclose
[1077] =&> feof
[1078] =&> fgetc
[1079] =&> fgets
[1080] =&> fgetss
[1081] =&> fread
[1082] =&> fopen
[1083] =&> fpassthru
[1084] =&> ftruncate
[1085] =&> fstat
[1086] =&> fseek
[1087] =&> ftell
[1088] =&> fflush
[1089] =&> fwrite
[1090] =&> fputs
[1091] =&> mkdir
[1092] =&> rename
[1093] =&> copy
[1094] =&> tempnam
[1095] =&> tmpfile
[1096] =&> file
[1097] =&> file_get_contents
[1098] =&> file_put_contents
[1099] =&> stream_select
[1100] =&> stream_context_create
[1101] =&> stream_context_set_params
[1102] =&> stream_context_get_params
[1103] =&> stream_context_set_option
[1104] =&> stream_context_get_options
[1105] =&> stream_context_get_default
[1106] =&> stream_context_set_default
[1107] =&> stream_filter_prepend
[1108] =&> stream_filter_append
[1109] =&> stream_filter_remove
[1110] =&> stream_socket_client
[1111] =&> stream_socket_server
[1112] =&> stream_socket_accept
[1113] =&> stream_socket_get_name
[1114] =&> stream_socket_recvfrom
[1115] =&> stream_socket_sendto
[1116] =&> stream_socket_enable_crypto
[1117] =&> stream_socket_shutdown
[1118] =&> stream_socket_pair
[1119] =&> stream_copy_to_stream
[1120] =&> stream_get_contents
[1121] =&> stream_supports_lock
[1122] =&> fgetcsv
[1123] =&> fputcsv
[1124] =&> flock
[1125] =&> get_meta_tags
[1126] =&> stream_set_read_buffer
[1127] =&> stream_set_write_buffer
[1128] =&> set_file_buffer
[1129] =&> stream_set_chunk_size
[1130] =&> set_socket_blocking
[1131] =&> stream_set_blocking
[1132] =&> socket_set_blocking
[1133] =&> stream_get_meta_data
[1134] =&> stream_get_line
[1135] =&> stream_wrapper_register
[1136] =&> stream_register_wrapper
[1137] =&> stream_wrapper_unregister
[1138] =&> stream_wrapper_restore
[1139] =&> stream_get_wrappers
[1140] =&> stream_get_transports
[1141] =&> stream_resolve_include_path
[1142] =&> stream_is_local
[1143] =&> get_headers
[1144] =&> stream_set_timeout
[1145] =&> socket_set_timeout
[1146] =&> socket_get_status
[1147] =&> realpath
[1148] =&> fnmatch
[1149] =&> fsockopen
[1150] =&> pfsockopen
[1151] =&> pack
[1152] =&> unpack
[1153] =&> get_browser
[1154] =&> crypt
[1155] =&> opendir
[1156] =&> closedir
[1157] =&> chdir
[1158] =&> getcwd
[1159] =&> rewinddir
[1160] =&> readdir
[1161] =&> dir
[1162] =&> scandir
[1163] =&> glob
[1164] =&> fileatime
[1165] =&> filectime
[1166] =&> filegroup
[1167] =&> fileinode
[1168] =&> filemtime
[1169] =&> fileowner
[1170] =&> fileperms
[1171] =&> filesize
[1172] =&> filetype
[1173] =&> file_exists
[1174] =&> is_writable
[1175] =&> is_writeable
[1176] =&> is_readable
[1177] =&> is_executable
[1178] =&> is_file
[1179] =&> is_dir
[1180] =&> is_link
[1181] =&> stat
[1182] =&> lstat
[1183] =&> chown
[1184] =&> chgrp
[1185] =&> lchown
[1186] =&> lchgrp
[1187] =&> chmod
[1188] =&> touch
[1189] =&> clearstatcache
[1190] =&> disk_total_space
[1191] =&> disk_free_space
[1192] =&> diskfreespace
[1193] =&> realpath_cache_size
[1194] =&> realpath_cache_get
[1195] =&> mail
[1196] =&> ezmlm_hash
[1197] =&> openlog
[1198] =&> syslog
[1199] =&> closelog
[1200] =&> lcg_value
[1201] =&> metaphone
[1202] =&> ob_start
[1203] =&> ob_flush
[1204] =&> ob_clean
[1205] =&> ob_end_flush
[1206] =&> ob_end_clean
[1207] =&> ob_get_flush
[1208] =&> ob_get_clean
[1209] =&> ob_get_length
[1210] =&> ob_get_level
[1211] =&> ob_get_status
[1212] =&> ob_get_contents
[1213] =&> ob_implicit_flush
[1214] =&> ob_list_handlers
[1215] =&> ksort
[1216] =&> krsort
[1217] =&> natsort
[1218] =&> natcasesort
[1219] =&> asort
[1220] =&> arsort
[1221] =&> sort
[1222] =&> rsort
[1223] =&> usort
[1224] =&> uasort
[1225] =&> uksort
[1226] =&> shuffle
[1227] =&> array_walk
[1228] =&> array_walk_recursive
[1229] =&> count
[1230] =&> end
[1231] =&> prev
[1232] =&> next
[1233] =&> reset
[1234] =&> current
[1235] =&> key
[1236] =&> min
[1237] =&> max
[1238] =&> in_array
[1239] =&> array_search
[1240] =&> extract
[1241] =&> compact
[1242] =&> array_fill
[1243] =&> array_fill_keys
[1244] =&> range
[1245] =&> array_multisort
[1246] =&> array_push
[1247] =&> array_pop
[1248] =&> array_shift
[1249] =&> array_unshift
[1250] =&> array_splice
[1251] =&> array_slice
[1252] =&> array_merge
[1253] =&> array_merge_recursive
[1254] =&> array_replace
[1255] =&> array_replace_recursive
[1256] =&> array_keys
[1257] =&> array_values
[1258] =&> array_count_values
[1259] =&> array_column
[1260] =&> array_reverse
[1261] =&> array_reduce
[1262] =&> array_pad
[1263] =&> array_flip
[1264] =&> array_change_key_case
[1265] =&> array_rand
[1266] =&> array_unique
[1267] =&> array_intersect
[1268] =&> array_intersect_key
[1269] =&> array_intersect_ukey
[1270] =&> array_uintersect
[1271] =&> array_intersect_assoc
[1272] =&> array_uintersect_assoc
[1273] =&> array_intersect_uassoc
[1274] =&> array_uintersect_uassoc
[1275] =&> array_diff
[1276] =&> array_diff_key
[1277] =&> array_diff_ukey
[1278] =&> array_udiff
[1279] =&> array_diff_assoc
[1280] =&> array_udiff_assoc
[1281] =&> array_diff_uassoc
[1282] =&> array_udiff_uassoc
[1283] =&> array_sum
[1284] =&> array_product
[1285] =&> array_filter
[1286] =&> array_map
[1287] =&> array_chunk
[1288] =&> array_combine
[1289] =&> array_key_exists
[1290] =&> pos
[1291] =&> sizeof
[1292] =&> key_exists
[1293] =&> assert
[1294] =&> assert_options
[1295] =&> version_compare
[1296] =&> ftok
[1297] =&> str_rot13
[1298] =&> stream_get_filters
[1299] =&> stream_filter_register
[1300] =&> stream_bucket_make_writeable
[1301] =&> stream_bucket_prepend
[1302] =&> stream_bucket_append
[1303] =&> stream_bucket_new
[1304] =&> output_add_rewrite_var
[1305] =&> output_reset_rewrite_vars
[1306] =&> sys_get_temp_dir
[1307] =&> token_get_all
[1308] =&> token_name
[1309] =&> xml_parser_create
[1310] =&> xml_parser_create_ns
[1311] =&> xml_set_object
[1312] =&> xml_set_element_handler
[1313] =&> xml_set_character_data_handler
[1314] =&> xml_set_processing_instruction_handler
[1315] =&> xml_set_default_handler
[1316] =&> xml_set_unparsed_entity_decl_handler
[1317] =&> xml_set_notation_decl_handler
[1318] =&> xml_set_external_entity_ref_handler
[1319] =&> xml_set_start_namespace_decl_handler
[1320] =&> xml_set_end_namespace_decl_handler
[1321] =&> xml_parse
[1322] =&> xml_parse_into_struct
[1323] =&> xml_get_error_code
[1324] =&> xml_error_string
[1325] =&> xml_get_current_line_number
[1326] =&> xml_get_current_column_number
[1327] =&> xml_get_current_byte_index
[1328] =&> xml_parser_free
[1329] =&> xml_parser_set_option
[1330] =&> xml_parser_get_option
[1331] =&> utf8_encode
[1332] =&> utf8_decode
[1333] =&> xmlwriter_open_uri
[1334] =&> xmlwriter_open_memory
[1335] =&> xmlwriter_set_indent
[1336] =&> xmlwriter_set_indent_string
[1337] =&> xmlwriter_start_comment
[1338] =&> xmlwriter_end_comment
[1339] =&> xmlwriter_start_attribute
[1340] =&> xmlwriter_end_attribute
[1341] =&> xmlwriter_write_attribute
[1342] =&> xmlwriter_start_attribute_ns
[1343] =&> xmlwriter_write_attribute_ns
[1344] =&> xmlwriter_start_element
[1345] =&> xmlwriter_end_element
[1346] =&> xmlwriter_full_end_element
[1347] =&> xmlwriter_start_element_ns
[1348] =&> xmlwriter_write_element
[1349] =&> xmlwriter_write_element_ns
[1350] =&> xmlwriter_start_pi
[1351] =&> xmlwriter_end_pi
[1352] =&> xmlwriter_write_pi
[1353] =&> xmlwriter_start_cdata
[1354] =&> xmlwriter_end_cdata
[1355] =&> xmlwriter_write_cdata
[1356] =&> xmlwriter_text
[1357] =&> xmlwriter_write_raw
[1358] =&> xmlwriter_start_document
[1359] =&> xmlwriter_end_document
[1360] =&> xmlwriter_write_comment
[1361] =&> xmlwriter_start_dtd
[1362] =&> xmlwriter_end_dtd
[1363] =&> xmlwriter_write_dtd
[1364] =&> xmlwriter_start_dtd_element
[1365] =&> xmlwriter_end_dtd_element
[1366] =&> xmlwriter_write_dtd_element
[1367] =&> xmlwriter_start_dtd_attlist
[1368] =&> xmlwriter_end_dtd_attlist
[1369] =&> xmlwriter_write_dtd_attlist
[1370] =&> xmlwriter_start_dtd_entity
[1371] =&> xmlwriter_end_dtd_entity
[1372] =&> xmlwriter_write_dtd_entity
[1373] =&> xmlwriter_output_memory
[1374] =&> xmlwriter_flush
[1375] =&> zip_open
[1376] =&> zip_close
[1377] =&> zip_read
[1378] =&> zip_entry_open
[1379] =&> zip_entry_close
[1380] =&> zip_entry_read
[1381] =&> zip_entry_filesize
[1382] =&> zip_entry_name
[1383] =&> zip_entry_compressedsize
[1384] =&> zip_entry_compressionmethod
[1385] =&> apache_lookup_uri
[1386] =&> virtual
[1387] =&> apache_request_headers
[1388] =&> apache_response_headers
[1389] =&> apache_setenv
[1390] =&> apache_getenv
[1391] =&> apache_note
[1392] =&> apache_get_version
[1393] =&> apache_get_modules
[1394] =&> getallheaders
[1395] =&> opcache_reset
[1396] =&> opcache_invalidate
[1397] =&> opcache_compile_file
[1398] =&> opcache_is_script_cached
[1399] =&> opcache_get_configuration
[1400] =&> opcache_get_status
)

)

很簡單,就這些!


最常用的PHP函數是google()和http://php.net()


PHP的函數事比較多,可以先掌握數組,字元串類函數,用得多了就熟悉了。正因為PHP函數多,做起項目來非常的輕鬆。


Ctrl+L定位到瀏覽器地址欄,輸入http://php.net/keyword就能搜索函數.使用搜索引擎 site 查找也可以.

php.net/keyword PHP官方支持keyword搜索
http://php.net/indexes 這個頁面提供了PHP所有函數的手冊索引
site:stackoverflow.com php
site:php.net keyword


這些函數根本沒有重要不重要之分,
用到了就會覺得它重要,用不到自然就無所謂,

其實函數什麼的就是基本功,哪怕記不住,也必須知道有這麼個函數,用的時候必須能查到。
常見的函數根本就不需要去記,多用幾次自然就記住了。
除了這些函數外,還有一些經典的常用代碼片段也是需要記住的。


推薦10個特別實用的PHP函數:


1. php_check_syntax

這個函數可以用來檢查特定文件中的PHP語法是否正確。

使用方法:

&

$error_message = "";

$filename = "./php_script.php";

if(!php_check_syntax($filename, $error_message)) {

echo "Errors were found in the file $filename: $error_message";

} else {

echo "The file $filename contained no syntax errors";

}

?&>

參考:imooc.com

2. highlight_string

當你想要把PHP代碼顯示到頁面上時,highlight_string()函數就會非常有用,它可以用內置定義的語法高亮顏色把你提供的PHP代碼高亮顯示。這個函數有兩個參數,第一個參數是要被突出顯示的字元串。第二個參數如果設置成TRUE,就會把高亮後的代碼返回。

使用方法:

&

highlight_string(" &");

?&>

參考:imooc.com

3. show_source

這個函數的運行和highlight_file()相似,它可以顯示PHP語法高亮後的文件,並且是根據HTML標籤進行語法高亮的。

使用方法:

&

show_source("php_script.php");

?&>

參考:imooc.com

4. php_strip_whitespace

這個函數跟上面的show_source()函數相似,但它會刪除文件里的注釋和空格符。

使用方法:

&

echo php_strip_whitespace("php_script.php");

?&>

參考:imooc.com

5. _halt_compiler

它可以中止編譯器的執行,這對於在PHP腳本中嵌入數據是很有幫助的,就像安裝文件一樣。

使用方法:

&

$fp = fopen(__FILE__, "r");

fseek($fp, __COMPILER_HALT_OFFSET__);

var_dump(stream_get_contents($fp));

// the end of the script execution

__halt_compiler();

?&>

參考:imooc.com

6. highlight_file

這是一個非常有用的PHP函數,它能返回指定的PHP文件,並按照語法高亮突出顯示文件內容。

使用方法:

&

highlight_file("php_script.php");

?&>

參考:imooc.com

7. ignore_user_abort

利用這個函數,用戶可以拒絕瀏覽器端終止執行腳本的請求。正常情況下客戶端的退出會導致伺服器端腳本的停止運行。

使用方法:

&

ignore_user_abort();

?&>

參考:imooc.com

8. str_word_count

這個函數可以用來統計字元串中單詞的數量。

使用方法:

&

echo str_word_count("Hello How Are You!");

?&>

參考:imooc.com

9. get_defined_vars

這個函數在代碼調試時十分重要,它會返回一個包括所有已定義的變數的多維數組。

使用方法:

&

print_r(get_defined_vars());

?&>

參考:imooc.com

10. get_browser

這個函數檢查並讀取browscap.ini文件,返回瀏覽器兼容信息。

使用方法:

&

echo $_SERVER["HTTP_USER_AGENT"];

$browser = get_browser();

print_r($browser);

?&>


做的多了,你就知道那些函數時你常用的了,剩下的就是了解下,用的時候查手冊就可以哇。


不知為何,總是失效,各位見諒:

20170907更新:鏈接:http://pan.baidu.com/s/1jIBXbca 密碼:bids

另外:歡迎各位關注 西嶺老濕 微信公眾號獲取更多資料……

20170101更新
https://pan.baidu.com/s/1i4ClkPJ
之前的地址失效了,這是新地址

2016年8月15號更新:
由於私信我的人太多,實在沒有時間一一回複發郵件,你只需要點個贊,關注我,就可以打開下面的鏈接,問心無愧的下載學習了……
https://pan.baidu.com/s/1gfa4vpp

你可以聯繫我,或者留下你的郵箱,我這個還是相對比較多而且是常用的

你都好意思私信跟我要了,好意思不點贊??


我覺得把每個數字函數都仔細看下就差不多了,php的數組函數可是很好的,至少要知道,別自己遇到了需要解決的問題,傻乎乎的去自己寫,完了發現有現成的函數.


你們老師要求背誦PHP Documentation么?


長期專註基礎代碼,函數功能。進行系統梳理,鞏固。:)。GitHub - znddzxx112/basecode: focus on scripts , php functions


PHP: Hypertext Preprocessor 都看看,作為一種儲備,總有一天會遇到。


願和有興趣者一起交流 http://blog.anepx.com


函數很多 多看 多谷歌 手冊 官方,php的函數是web最豐富的 就數組和字元串。


大致瀏覽一邊,用戶到哪個詳看哪個同時把相關的都詳看一邊。


業精於勤 多看


mb_convert_encoding與iconv函數是php用來進行編碼轉換的,不同的編碼之間需要轉換,怎麼轉換很重要,理解他們的區別和bug更重要,具體看鏈接http://www.gathertong.com/ask/index.php?c=contentid=53


PHP程序員福音 PHPer必備 函數記憶卡、背誦卡 全覆蓋150左右函數


推薦閱讀:

一名合格的PHP工程師的知識結構是怎樣的?
Python 是否是下一個 PHP?為什麼?

TAG:PHP | PHP 程序員 | PHP 開發 | PHP 學習 |