/opt/alt/php72/usr/include/php/Zend
NameSizeModeActions
zend.h128750644editdlrm
zend_alloc.h192960644editdlrm
zend_alloc_sizes.h27790644editdlrm
zend_API.h604960644editdlrm
zend_arena.h37960644editdlrm
zend_ast.h84630644editdlrm
zend_bitset.h70970644editdlrm
zend_build.h17760644editdlrm
zend_builtin_functions.h16670644editdlrm
zend_closures.h21360644editdlrm
zend_compile.h335070644editdlrm
zend_config.h1070644editdlrm
zend_config.nw.h25540644editdlrm
zend_config.w32.h28360644editdlrm
zend_constants.h60400644editdlrm
zend_dtrace.h21010644editdlrm
zend_errors.h22120644editdlrm
zend_exceptions.h39580644editdlrm
zend_execute.h145130644editdlrm
zend_extensions.h61230644editdlrm
zend_float.h157020644editdlrm
zend_gc.h51400644editdlrm
zend_generators.h75640644editdlrm
zend_globals.h73540644editdlrm
zend_globals_macros.h28290644editdlrm
zend_hash.h345600644editdlrm
zend_highlight.h24300644editdlrm
zend_inheritance.h20080644editdlrm
zend_ini.h97100644editdlrm
zend_ini_parser.h27520644editdlrm
zend_ini_scanner.h20350644editdlrm
zend_ini_scanner_defs.h2240644editdlrm
zend_interfaces.h44280644editdlrm
zend_istdiostream.h16990644editdlrm
zend_iterators.h36390644editdlrm
zend_language_parser.h81480644editdlrm
zend_language_scanner.h28400644editdlrm
zend_language_scanner_defs.h2970644editdlrm
zend_list.h32950644editdlrm
zend_llist.h39520644editdlrm
zend_long.h44610644editdlrm
zend_modules.h49520644editdlrm
zend_multibyte.h50010644editdlrm
zend_multiply.h96510644editdlrm
zend_objects.h19260644editdlrm
zend_objects_API.h35620644editdlrm
zend_object_handlers.h94440644editdlrm
zend_operators.h314970644editdlrm
zend_portability.h153320644editdlrm
zend_ptr_stack.h43790644editdlrm
zend_range_check.h31500644editdlrm
zend_signal.h41520644editdlrm
zend_smart_str.h52550644editdlrm
zend_smart_string.h50090644editdlrm
zend_smart_string_public.h15540644editdlrm
zend_smart_str_public.h14290644editdlrm
zend_sort.h17980644editdlrm
zend_stack.h25220644editdlrm
zend_stream.h34580644editdlrm
zend_string.h151720644editdlrm
zend_strtod.h20160644editdlrm
zend_strtod_int.h36490644editdlrm
zend_ts_hash.h67200644editdlrm
zend_types.h338370644editdlrm
zend_type_info.h32530644editdlrm
zend_variables.h47820644editdlrm
zend_virtual_cwd.h126650644editdlrm
zend_vm.h20250644editdlrm
zend_vm_def.h2594650644editdlrm
zend_vm_execute.h23124490644editdlrm
zend_vm_opcodes.h129480644editdlrm
Edit: /opt/alt/php72/usr/include/php/Zend/zend_long.h (4461B)
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) 1998-2018 Zend Technologies Ltd. (http://www.zend.com) | +----------------------------------------------------------------------+ | This source file is subject to version 2.00 of the Zend license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.zend.com/license/2_00.txt. | | If you did not receive a copy of the Zend license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@zend.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Anatol Belski | +----------------------------------------------------------------------+ */ /* $Id$ */ #ifndef ZEND_LONG_H #define ZEND_LONG_H #include "main/php_stdint.h" /* This is the heart of the whole int64 enablement in zval. */ #if defined(__x86_64__) || defined(__LP64__) || defined(_LP64) || defined(_WIN64) # define ZEND_ENABLE_ZVAL_LONG64 1 #endif /* Integer types. */ #ifdef ZEND_ENABLE_ZVAL_LONG64 typedef int64_t zend_long; typedef uint64_t zend_ulong; typedef int64_t zend_off_t; # define ZEND_LONG_MAX INT64_MAX # define ZEND_LONG_MIN INT64_MIN # define ZEND_ULONG_MAX UINT64_MAX # define Z_L(i) INT64_C(i) # define Z_UL(i) UINT64_C(i) # define SIZEOF_ZEND_LONG 8 #else typedef int32_t zend_long; typedef uint32_t zend_ulong; typedef int32_t zend_off_t; # define ZEND_LONG_MAX INT32_MAX # define ZEND_LONG_MIN INT32_MIN # define ZEND_ULONG_MAX UINT32_MAX # define Z_L(i) INT32_C(i) # define Z_UL(i) UINT32_C(i) # define SIZEOF_ZEND_LONG 4 #endif /* Conversion macros. */ #define ZEND_LTOA_BUF_LEN 65 #ifdef ZEND_ENABLE_ZVAL_LONG64 # define ZEND_LONG_FMT "%" PRId64 # define ZEND_ULONG_FMT "%" PRIu64 # define ZEND_XLONG_FMT "%" PRIx64 # define ZEND_LONG_FMT_SPEC PRId64 # define ZEND_ULONG_FMT_SPEC PRIu64 # ifdef ZEND_WIN32 # define ZEND_LTOA(i, s, len) _i64toa_s((i), (s), (len), 10) # define ZEND_ATOL(i, s) i = _atoi64((s)) # define ZEND_STRTOL(s0, s1, base) _strtoi64((s0), (s1), (base)) # define ZEND_STRTOUL(s0, s1, base) _strtoui64((s0), (s1), (base)) # define ZEND_STRTOL_PTR _strtoi64 # define ZEND_STRTOUL_PTR _strtoui64 # define ZEND_ABS _abs64 # else # define ZEND_LTOA(i, s, len) \ do { \ int st = snprintf((s), (len), ZEND_LONG_FMT, (i)); \ (s)[st] = '\0'; \ } while (0) # define ZEND_ATOL(i, s) (i) = atoll((s)) # define ZEND_STRTOL(s0, s1, base) strtoll((s0), (s1), (base)) # define ZEND_STRTOUL(s0, s1, base) strtoull((s0), (s1), (base)) # define ZEND_STRTOL_PTR strtoll # define ZEND_STRTOUL_PTR strtoull # define ZEND_ABS imaxabs # endif #else # define ZEND_STRTOL(s0, s1, base) strtol((s0), (s1), (base)) # define ZEND_STRTOUL(s0, s1, base) strtoul((s0), (s1), (base)) # define ZEND_LONG_FMT "%" PRId32 # define ZEND_ULONG_FMT "%" PRIu32 # define ZEND_XLONG_FMT "%" PRIx32 # define ZEND_LONG_FMT_SPEC PRId32 # define ZEND_ULONG_FMT_SPEC PRIu32 # ifdef ZEND_WIN32 # define ZEND_LTOA(i, s, len) _ltoa_s((i), (s), (len), 10) # define ZEND_ATOL(i, s) i = atol((s)) # else # define ZEND_LTOA(i, s, len) \ do { \ int st = snprintf((s), (len), ZEND_LONG_FMT, (i)); \ (s)[st] = '\0'; \ } while (0) # define ZEND_ATOL(i, s) (i) = atol((s)) # endif # define ZEND_STRTOL_PTR strtol # define ZEND_STRTOUL_PTR strtoul # define ZEND_ABS abs #endif #if SIZEOF_ZEND_LONG == 4 # define MAX_LENGTH_OF_LONG 11 # define LONG_MIN_DIGITS "2147483648" #elif SIZEOF_ZEND_LONG == 8 # define MAX_LENGTH_OF_LONG 20 # define LONG_MIN_DIGITS "9223372036854775808" #else # error "Unknown SIZEOF_ZEND_LONG" #endif static const char long_min_digits[] = LONG_MIN_DIGITS; #ifdef _WIN64 # define ZEND_ADDR_FMT "0x%016I64x" #elif SIZEOF_SIZE_T == 4 # define ZEND_ADDR_FMT "0x%08zx" #elif SIZEOF_SIZE_T == 8 # define ZEND_ADDR_FMT "0x%016zx" #else # error "Unknown SIZEOF_SIZE_T" #endif #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 */