no-image

vimの辞書ファイルは定期的に更新しよう

1年もすると知らない関数が増えているので久しぶりにvimに使ってる辞書を更新。diffをとると増えた分がわかっておもしろい。

特にphp_check_syntaxという関数が消えてるのがおもしろい。[php]消えたphp_check_syntax()関数 (うえちょこ@ぼろぐ)に経緯が書いてあった。

今回は定数も追加した。


$functions = get_defined_functions();
$constants = get_defined_constants();

sort($functions['internal']);
echo implode("n", $functions['internal']);

$const_keys = array_keys($constants);
sort($const_keys);
echo implode("n", $const_keys);

でかいけど以下にdiff。記念に残しておくんだー。


14a12
> array_diff_key
15a14
> array_diff_ukey
16a16
> array_fill_keys
20a21
> array_intersect_key
21a23
> array_intersect_ukey
29a32
> array_product
87a91
> chroot
122a127,136
> date_create
> date_date_set
> date_default_timezone_get
> date_default_timezone_set
> date_format
> date_isodate_set
> date_modify
> date_offset_get
> date_parse
> date_sun_info
124a139,141
> date_time_set
> date_timezone_get
> date_timezone_set
165a169
> error_get_last
200a201,208
> filter_has_var
> filter_id
> filter_input
> filter_input_array
> filter_list
> filter_var
> filter_var_array
> fizzbuzz
209a218
> fputcsv
273a283,322
> gmp_abs
> gmp_add
> gmp_and
> gmp_clrbit
> gmp_cmp
> gmp_com
> gmp_div
> gmp_div_q
> gmp_div_qr
> gmp_div_r
> gmp_divexact
> gmp_fact
> gmp_gcd
> gmp_gcdext
> gmp_hamdist
> gmp_init
> gmp_intval
> gmp_invert
> gmp_jacobi
> gmp_legendre
> gmp_mod
> gmp_mul
> gmp_neg
> gmp_nextprime
> gmp_or
> gmp_perfect_square
> gmp_popcount
> gmp_pow
> gmp_powm
> gmp_prob_prime
> gmp_random
> gmp_scan0
> gmp_scan1
> gmp_setbit
> gmp_sign
> gmp_sqrt
> gmp_sqrtrem
> gmp_strval
> gmp_sub
> gmp_xor
293a343,352
> hash
> hash_algos
> hash_file
> hash_final
> hash_hmac
> hash_hmac_file
> hash_init
> hash_update
> hash_update_file
> hash_update_stream
304a364
> htmlspecialchars_decode
319a380
> image_type_to_extension
341a403
> imageconvolution
369a432,433
> imageftbbox
> imagefttext
395a460,461
> imagettfbbox
> imagettftext
401a468,469
> inet_ntop
> inet_pton
439a508,510
> iterator_apply
> iterator_count
> iterator_to_array
441a513,514
> json_decode
> json_encode
446a520,521
> lchgrp
> lchown
447a523,525
> libxml_clear_errors
> libxml_get_errors
> libxml_get_last_error
448a527
> libxml_use_internal_errors
461a541
> mb_check_encoding
498a579,580
> mb_stripos
> mb_stristr
500a583,585
> mb_strrchr
> mb_strrichr
> mb_strripos
501a587
> mb_strstr
523a610
> memory_get_peak_usage
723a707,745
> openssl_csr_export
> openssl_csr_export_to_file
> openssl_csr_get_public_key
> openssl_csr_get_subject
> openssl_csr_new
> openssl_csr_sign
> openssl_error_string
> openssl_free_key
> openssl_get_privatekey
> openssl_get_publickey
> openssl_open
> openssl_pkcs12_export
> openssl_pkcs12_export_to_file
> openssl_pkcs12_read
> openssl_pkcs7_decrypt
> openssl_pkcs7_encrypt
> openssl_pkcs7_sign
> openssl_pkcs7_verify
> openssl_pkey_export
> openssl_pkey_export_to_file
> openssl_pkey_free
> openssl_pkey_get_details
> openssl_pkey_get_private
> openssl_pkey_get_public
> openssl_pkey_new
> openssl_private_decrypt
> openssl_private_encrypt
> openssl_public_decrypt
> openssl_public_encrypt
> openssl_seal
> openssl_sign
> openssl_verify
> openssl_x509_check_private_key
> openssl_x509_checkpurpose
> openssl_x509_export
> openssl_x509_export_to_file
> openssl_x509_free
> openssl_x509_parse
> openssl_x509_read
733a756
> pdo_drivers
735d757
< php_check_syntax
736a759
> php_ini_loaded_file
749a773
> posix_access
769a794
> posix_initgroups
772a798
> posix_mknod
784a811
> preg_last_error
798a826
> property_exists
903a931,936
> spl_autoload
> spl_autoload_call
> spl_autoload_extensions
> spl_autoload_functions
> spl_autoload_register
> spl_autoload_unregister
904a938
> spl_object_hash
969a1004
> stream_context_get_default
976a1012
> stream_filter_remove
982a1019
> stream_is_local
989a1027
> stream_socket_enable_crypto
990a1029
> stream_socket_pair
993a1033
> stream_socket_shutdown
994a1035,1036
> stream_wrapper_restore
> stream_wrapper_unregister
1007a1050
> strptime
1024a1068,1069
> sys_get_temp_dir
> sys_getloadavg
1031a1077,1084
> time_sleep_until
> timezone_abbreviations_list
> timezone_identifiers_list
> timezone_name_from_abbr
> timezone_name_get
> timezone_offset_get
> timezone_open
> timezone_transitions_get
1097a1151,1192
> xmlwriter_end_attribute
> xmlwriter_end_cdata
> xmlwriter_end_comment
> xmlwriter_end_document
> xmlwriter_end_dtd
> xmlwriter_end_dtd_attlist
> xmlwriter_end_dtd_element
> xmlwriter_end_dtd_entity
> xmlwriter_end_element
> xmlwriter_end_pi
> xmlwriter_flush
> xmlwriter_full_end_element
> xmlwriter_open_memory
> xmlwriter_open_uri
> xmlwriter_output_memory
> xmlwriter_set_indent
> xmlwriter_set_indent_string
> xmlwriter_start_attribute
> xmlwriter_start_attribute_ns
> xmlwriter_start_cdata
> xmlwriter_start_comment
> xmlwriter_start_document
> xmlwriter_start_dtd
> xmlwriter_start_dtd_attlist
> xmlwriter_start_dtd_element
> xmlwriter_start_dtd_entity
> xmlwriter_start_element
> xmlwriter_start_element_ns
> xmlwriter_start_pi
> xmlwriter_text
> xmlwriter_write_attribute
> xmlwriter_write_attribute_ns
> xmlwriter_write_cdata
> xmlwriter_write_comment
> xmlwriter_write_dtd
> xmlwriter_write_dtd_attlist
> xmlwriter_write_dtd_element
> xmlwriter_write_dtd_entity
> xmlwriter_write_element
> xmlwriter_write_element_ns
> xmlwriter_write_pi
> xmlwriter_write_raw