Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files.  All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.
This commit is contained in:
Peter Kokot 2019-01-22 21:39:32 +01:00
parent 020ca5bf2b
commit 92ac598aab
888 changed files with 111 additions and 7004 deletions

View File

@ -374,5 +374,3 @@ the example above, you need to use mysql_free_result on the rowset, close the
connection and then use pefree to dispose of the struct you allocated. connection and then use pefree to dispose of the struct you allocated.
You may read the stream->persistent field to determine if your struct was You may read the stream->persistent field to determine if your struct was
allocated in persistent mode or not. allocated in persistent mode or not.
vim:tw=78:et

View File

@ -1,5 +1,3 @@
The Win32 Build System. The Win32 Build System.
See https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2 See https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2
vim:tw=78:sw=1:ts=1:et

View File

@ -794,12 +794,3 @@ TSRM_API const char *tsrm_api_name(void)
}/*}}}*/ }/*}}}*/
#endif /* ZTS */ #endif /* ZTS */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -210,12 +210,3 @@ TSRM_API const char *tsrm_api_name(void);
#endif /* ZTS */ #endif /* ZTS */
#endif /* TSRM_H */ #endif /* TSRM_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -12,12 +12,3 @@
#include <crtdbg.h> #include <crtdbg.h>
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -69,12 +69,3 @@ char *alloca ();
#endif #endif
#endif /* TSRM_CONFIG_COMMON_H */ #endif /* TSRM_CONFIG_COMMON_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -61,12 +61,3 @@ main()
} }
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -820,12 +820,3 @@ TSRM_API int win32_utime(const char *filename, struct utimbuf *buf) /* {{{ */
/* }}} */ /* }}} */
#endif #endif
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -109,12 +109,3 @@ TSRM_API void *shmat(int key, const void *shmaddr, int flags);
TSRM_API int shmdt(const void *shmaddr); TSRM_API int shmdt(const void *shmaddr);
TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf); TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1740,13 +1740,3 @@ ZEND_API void zend_map_ptr_extend(size_t last)
CG(map_ptr_last) = last; CG(map_ptr_last) = last;
} }
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -354,13 +354,3 @@ ZEND_API void zend_restore_error_handling(zend_error_handling *saved);
#include "zend_operators.h" #include "zend_operators.h"
#endif /* ZEND_H */ #endif /* ZEND_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -4407,13 +4407,3 @@ ZEND_API zend_bool zend_is_countable(zval *countable) /* {{{ */
} }
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1579,14 +1579,3 @@ static zend_always_inline void zend_parse_arg_zval_deref(zval *arg, zval **dest,
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_API_H */ #endif /* ZEND_API_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -2948,13 +2948,3 @@ ZEND_API void * __zend_realloc(void *p, size_t len)
} }
zend_out_of_memory(); zend_out_of_memory();
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -401,13 +401,3 @@ static void apc_init_heap(void)
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -62,13 +62,3 @@
_(29, 3072, 4, 3, x, y) _(29, 3072, 4, 3, x, y)
#endif /* ZEND_ALLOC_SIZES_H */ #endif /* ZEND_ALLOC_SIZES_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -111,13 +111,3 @@ static zend_always_inline void zend_arena_release(zend_arena **arena_ptr, void *
} }
#endif /* _ZEND_ARENA_H_ */ #endif /* _ZEND_ARENA_H_ */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -2044,13 +2044,3 @@ ZEND_API ZEND_COLD zend_string *zend_ast_export(const char *prefix, zend_ast *as
smart_str_0(&str); smart_str_0(&str);
return str.s; return str.s;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -335,13 +335,3 @@ static zend_always_inline zend_ast *zend_ast_list_rtrim(zend_ast *ast) {
return ast; return ast;
} }
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -252,13 +252,3 @@ static inline int zend_bitset_pop_first(zend_bitset set, uint32_t len) {
} }
#endif /* _ZEND_BITSET_H_ */ #endif /* _ZEND_BITSET_H_ */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -44,13 +44,3 @@
#define ZEND_BUILD_EXTRA #define ZEND_BUILD_EXTRA
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -2731,13 +2731,3 @@ ZEND_FUNCTION(get_extension_funcs)
} }
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -27,13 +27,3 @@ ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_BUILTIN_FUNCTIONS_H */ #endif /* ZEND_BUILTIN_FUNCTIONS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -763,13 +763,3 @@ void zend_closure_bind_var_ex(zval *closure_zv, uint32_t offset, zval *val) /* {
ZVAL_COPY_VALUE(var, val); ZVAL_COPY_VALUE(var, val);
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -41,13 +41,3 @@ ZEND_API zval* zend_get_closure_this_ptr(zval *obj);
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -8700,13 +8700,3 @@ void zend_eval_const_expr(zend_ast **ast_ptr) /* {{{ */
*ast_ptr = zend_ast_create_zval(&result); *ast_ptr = zend_ast_create_zval(&result);
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1074,13 +1074,3 @@ END_EXTERN_C()
ZEND_API zend_bool zend_binary_op_produces_numeric_string_error(uint32_t opcode, zval *op1, zval *op2); ZEND_API zend_bool zend_binary_op_produces_numeric_string_error(uint32_t opcode, zval *op1, zval *op2);
#endif /* ZEND_COMPILE_H */ #endif /* ZEND_COMPILE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -85,13 +85,3 @@ extern "C++" {
#define ZEND_DLIMPORT __declspec(dllimport) #define ZEND_DLIMPORT __declspec(dllimport)
#endif /* ZEND_CONFIG_W32_H */ #endif /* ZEND_CONFIG_W32_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -530,14 +530,3 @@ ZEND_API int zend_register_constant(zend_constant *c)
} }
return ret; return ret;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -94,13 +94,3 @@ END_EXTERN_C()
#define ZEND_CONSTANT_DTOR free_zend_constant #define ZEND_CONSTANT_DTOR free_zend_constant
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -107,11 +107,3 @@ ZEND_API int zend_cpu_supports(zend_cpu_feature feature) {
return (cpuinfo.ecx & feature); return (cpuinfo.ecx & feature);
} }
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@ -203,11 +203,3 @@ static zend_always_inline int zend_cpu_supports_avx2() {
#endif #endif
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@ -34,13 +34,3 @@ ZEND_API void zend_register_default_classes(void)
zend_register_closure_ce(); zend_register_closure_ce();
zend_register_generator_ce(); zend_register_generator_ce();
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -112,13 +112,3 @@ ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *ret
/* }}} */ /* }}} */
#endif /* HAVE_DTRACE */ #endif /* HAVE_DTRACE */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -44,13 +44,3 @@ ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *ret
#endif #endif
#endif /* _ZEND_DTRACE_H */ #endif /* _ZEND_DTRACE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -40,13 +40,3 @@
#define E_CORE (E_CORE_ERROR | E_CORE_WARNING) #define E_CORE (E_CORE_ERROR | E_CORE_WARNING)
#endif /* ZEND_ERRORS_H */ #endif /* ZEND_ERRORS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1046,13 +1046,3 @@ ZEND_API ZEND_COLD void zend_throw_exception_object(zval *exception) /* {{{ */
zend_throw_exception_internal(exception); zend_throw_exception_internal(exception);
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -80,13 +80,3 @@ static zend_always_inline void zend_rethrow_exception(zend_execute_data *execute
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -4457,13 +4457,3 @@ ZEND_API int ZEND_FASTCALL zend_check_arg_type(zend_function *zf, uint32_t arg_n
{ {
return zend_verify_arg_type(zf, arg_num, arg, default_value, cache_slot); return zend_verify_arg_type(zf, arg_num, arg, default_value, cache_slot);
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -473,13 +473,3 @@ ZEND_COLD void zend_verify_property_type_error(zend_property_info *info, zval *p
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_EXECUTE_H */ #endif /* ZEND_EXECUTE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1633,13 +1633,3 @@ ZEND_API int zend_forbid_dynamic_call(const char *func_name) /* {{{ */
return SUCCESS; return SUCCESS;
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -329,13 +329,3 @@ ZEND_API size_t zend_extensions_op_array_persist(zend_op_array *op_array, void *
} }
return 0; return 0;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -154,13 +154,3 @@ ZEND_API size_t zend_extensions_op_array_persist(zend_op_array *op_array, void *
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_EXTENSIONS_H */ #endif /* ZEND_EXTENSIONS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -54,13 +54,3 @@ ZEND_API void zend_ensure_fpu_mode(void) /* {{{ */
XPFPA_SWITCH_DOUBLE(); XPFPA_SWITCH_DOUBLE();
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -416,13 +416,3 @@ END_EXTERN_C()
#endif /* FPU CONTROL */ #endif /* FPU CONTROL */
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1432,15 +1432,3 @@ ZEND_API void zend_gc_get_status(zend_gc_status *status)
status->threshold = GC_G(gc_threshold); status->threshold = GC_G(gc_threshold);
status->num_roots = GC_G(num_roots); status->num_roots = GC_G(num_roots);
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*
* vim:noexpandtab:
*/

View File

@ -81,13 +81,3 @@ static zend_always_inline void gc_check_possible_root(zend_refcounted *ref)
} }
#endif /* ZEND_GC_H */ #endif /* ZEND_GC_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1225,13 +1225,3 @@ void zend_register_generator_ce(void) /* {{{ */
zend_ce_ClosedGeneratorException = zend_register_internal_class_ex(&ce, zend_ce_exception); zend_ce_ClosedGeneratorException = zend_register_internal_class_ex(&ce, zend_ce_exception);
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -134,13 +134,3 @@ static zend_always_inline zend_generator *zend_generator_get_current(zend_genera
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -298,13 +298,3 @@ struct _zend_php_scanner_globals {
}; };
#endif /* ZEND_GLOBALS_H */ #endif /* ZEND_GLOBALS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -67,13 +67,3 @@ extern ZEND_API zend_ini_scanner_globals ini_scanner_globals;
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_GLOBALS_MACROS_H */ #endif /* ZEND_GLOBALS_MACROS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -2818,13 +2818,3 @@ convert:
return new_ht; return new_ht;
} }
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1161,13 +1161,3 @@ static zend_always_inline void _zend_hash_append_ind(HashTable *ht, zend_string
} }
#endif /* ZEND_HASH_H */ #endif /* ZEND_HASH_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -228,13 +228,3 @@ ZEND_API void zend_strip(void)
/* Discard parse errors thrown during tokenization */ /* Discard parse errors thrown during tokenization */
zend_clear_exception(); zend_clear_exception();
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -48,13 +48,3 @@ END_EXTERN_C()
extern zend_syntax_highlighter_ini syntax_highlighter_ini; extern zend_syntax_highlighter_ini syntax_highlighter_ini;
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -2043,13 +2043,3 @@ ZEND_API void zend_do_link_class(zend_class_entry *ce, zend_class_entry *parent)
zend_build_properties_info_table(ce); zend_build_properties_info_table(ce);
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -36,13 +36,3 @@ void zend_build_properties_info_table(zend_class_entry *ce);
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -698,13 +698,3 @@ ZEND_API ZEND_INI_MH(OnUpdateStringUnempty) /* {{{ */
return SUCCESS; return SUCCESS;
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -195,13 +195,3 @@ typedef struct _zend_ini_parser_param {
} zend_ini_parser_param; } zend_ini_parser_param;
#endif /* ZEND_INI_H */ #endif /* ZEND_INI_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -417,13 +417,3 @@ constant_string:
| TC_STRING { $$ = $1; /*printf("TC_STRING: '%s'\n", Z_STRVAL($1));*/ } | TC_STRING { $$ = $1; /*printf("TC_STRING: '%s'\n", Z_STRVAL($1));*/ }
| TC_WHITESPACE { $$ = $1; /*printf("TC_WHITESPACE: '%s'\n", Z_STRVAL($1));*/ } | TC_WHITESPACE { $$ = $1; /*printf("TC_WHITESPACE: '%s'\n", Z_STRVAL($1));*/ }
; ;
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -35,13 +35,3 @@ void shutdown_ini_scanner(void);
END_EXTERN_C() END_EXTERN_C()
#endif /* _ZEND_INI_SCANNER_H */ #endif /* _ZEND_INI_SCANNER_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -593,13 +593,3 @@ ZEND_API void zend_register_interfaces(void)
REGISTER_MAGIC_INTERFACE(countable, Countable); REGISTER_MAGIC_INTERFACE(countable, Countable);
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -80,13 +80,3 @@ ZEND_API int zend_class_unserialize_deny(zval *object, zend_class_entry *ce, con
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_INTERFACES_H */ #endif /* ZEND_INTERFACES_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -32,13 +32,3 @@ public:
#endif #endif
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -102,13 +102,3 @@ ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr)
} }
return NULL; return NULL;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -78,13 +78,3 @@ ZEND_API void zend_iterator_dtor(zend_object_iterator *iter);
ZEND_API void zend_register_iterator_wrapper(void); ZEND_API void zend_register_iterator_wrapper(void);
END_EXTERN_C() END_EXTERN_C()
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1369,13 +1369,3 @@ static YYSIZE_T zend_yytnamerr(char *yyres, const char *yystr)
yystpcpy(yyres, yystr); yystpcpy(yyres, yystr);
return strlen(yystr); return strlen(yystr);
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -74,13 +74,3 @@ ZEND_API void zend_lex_tstring(zval *zv);
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -349,13 +349,3 @@ ZEND_API zend_resource* zend_register_persistent_resource(const char *key, size_
zend_string_release_ex(str, 1); zend_string_release_ex(str, 1);
return ret; return ret;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -74,13 +74,3 @@ extern ZEND_API int le_index_ptr; /* list entry type for index pointers */
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -307,13 +307,3 @@ ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos)
} }
return NULL; return NULL;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -74,13 +74,3 @@ ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos);
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_LLIST_H */ #endif /* ZEND_LLIST_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -127,13 +127,3 @@ static const char long_min_digits[] = LONG_MIN_DIGITS;
#endif #endif
#endif /* ZEND_LONG_H */ #endif /* ZEND_LONG_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -83,13 +83,3 @@ ZEND_API void *zend_map_ptr_new(void);
ZEND_API void zend_map_ptr_extend(size_t last); ZEND_API void zend_map_ptr_extend(size_t last);
#endif /* ZEND_MAP_PTR_H */ #endif /* ZEND_MAP_PTR_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -129,13 +129,3 @@ int module_registry_unload_temp(const zend_module_entry *module);
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -210,12 +210,3 @@ ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value,
return SUCCESS; return SUCCESS;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -77,12 +77,3 @@ ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value,
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_MULTIBYTE_H */ #endif /* ZEND_MULTIBYTE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -341,13 +341,3 @@ static zend_always_inline size_t zend_safe_addmult(size_t nmemb, size_t size, si
} }
#endif /* ZEND_MULTIPLY_H */ #endif /* ZEND_MULTIPLY_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1884,13 +1884,3 @@ ZEND_API const zend_object_handlers std_object_handlers = {
NULL, /* compare */ NULL, /* compare */
NULL, /* get_properties_for */ NULL, /* get_properties_for */
}; };
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -257,13 +257,3 @@ ZEND_API HashTable *zend_get_properties_for(zval *obj, zend_prop_purpose purpose
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -307,13 +307,3 @@ ZEND_API zend_object *zend_objects_clone_obj(zval *zobject)
return new_object; return new_object;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -33,13 +33,3 @@ ZEND_API zend_object *zend_objects_clone_obj(zval *object);
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_OBJECTS_H */ #endif /* ZEND_OBJECTS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -194,13 +194,3 @@ ZEND_API void ZEND_FASTCALL zend_objects_store_del(zend_object *object) /* {{{ *
} }
} }
/* }}} */ /* }}} */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -115,13 +115,3 @@ static inline zend_property_info *zend_get_typed_property_info_for_slot(zend_obj
#endif /* ZEND_OBJECTS_H */ #endif /* ZEND_OBJECTS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -1075,13 +1075,3 @@ ZEND_API binary_op_type get_binary_op(int opcode)
return (binary_op_type) NULL; return (binary_op_type) NULL;
} }
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -3246,13 +3246,3 @@ ZEND_API zend_long ZEND_FASTCALL zend_dval_to_lval_slow(double d)
} }
#endif #endif
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -875,13 +875,3 @@ static zend_always_inline void zend_unwrap_reference(zval *op) /* {{{ */
END_EXTERN_C() END_EXTERN_C()
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -642,13 +642,3 @@ static zend_always_inline double _zend_get_nan(void) /* {{{ */
#endif #endif
#endif /* ZEND_PORTABILITY_H */ #endif /* ZEND_PORTABILITY_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -115,12 +115,3 @@ ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack)
{ {
return stack->top; return stack->top;
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -116,13 +116,3 @@ static zend_always_inline void *zend_ptr_stack_top(zend_ptr_stack *stack)
} }
#endif /* ZEND_PTR_STACK_H */ #endif /* ZEND_PTR_STACK_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -65,13 +65,3 @@
#define ZEND_SIZE_T_LTE_ZEND_LONG(size, zlong) ((zlong) >= 0 && (size) <= (size_t)(zlong)) #define ZEND_SIZE_T_LTE_ZEND_LONG(size, zlong) ((zlong) >= 0 && (size) <= (size_t)(zlong))
#endif /* ZEND_RANGE_CHECK_H */ #endif /* ZEND_RANGE_CHECK_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -437,13 +437,3 @@ ZEND_API void zend_signal_startup(void)
#endif /* ZEND_SIGNALS */ #endif /* ZEND_SIGNALS */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -111,13 +111,3 @@ ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigac
#endif /* ZEND_SIGNALS */ #endif /* ZEND_SIGNALS */
#endif /* ZEND_SIGNAL_H */ #endif /* ZEND_SIGNAL_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -171,13 +171,3 @@ ZEND_API void ZEND_FASTCALL _smart_string_alloc(smart_string *str, size_t len)
str->c = erealloc2(str->c, str->a + 1, str->len); str->c = erealloc2(str->c, str->a + 1, str->len);
} }
} }
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -150,13 +150,3 @@ static zend_always_inline void smart_str_setl(smart_str *dest, const char *src,
} }
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -25,13 +25,3 @@ typedef struct {
} smart_str; } smart_str;
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -113,13 +113,3 @@ static zend_always_inline void smart_string_reset(smart_string *str) {
} }
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -29,13 +29,3 @@ typedef struct {
} smart_string; } smart_string;
#endif #endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -372,12 +372,3 @@ done:
} }
} }
/* }}} */ /* }}} */
/*
* Local Variables:
* c-basic-offset: 4
* tab-width: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -27,13 +27,3 @@ ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_fun
END_EXTERN_C() END_EXTERN_C()
#endif /* ZEND_SORT_H */ #endif /* ZEND_SORT_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

Some files were not shown because too many files have changed in this diff Show More