Normal
      1
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ã524_‘I|¥‰ÓMdœv ©ƒ†ü+=ÃÂ     ‹      Õ•QoÚ0Çßû)<?ì.Ê4êxêH¥¡Q@”iš¦irbC¬&6²”}ú9$V•­Ó6­{òùò÷Ýý.‰�<‹ÇýÙ‡Éz3»¢É»×ÃAáÀûv žÅÕƒN3®FáÌ¹e`³Ù47í¦6˜M!sEÞëŒL]“;Žé)}ô‘L0îWDœt¹ ÅÅÒszå¬äÂŸÛZàb-SaKÛ‰
Qh³­—Î9(ÍEPoÛ]°«¤¨¢ú<P'"‰æÛ2øÇsù�;–ìR–¦¡ÄehÍr¹Pvz‰)‘ÅY“Fdª•…$gê¶¹�sŒXî"üqÐò:pYyš†2#æ~Õ�Fã(ÆtÄ
A€=¬¹öšKL‡Ì:Th.çRð“â›J|#¿œWšXØÔÈ¥“Z¤à�QS�Û%ó¬çž 3ÇªJÂÖ–~×ŒÉåôj4‹Óª%¼q¨îwÞ¦f„r(–F¤Î;k¬*Çs•ØåÅ~‹ê¢�\dS„èAå/�ÎuÎ…9f=E¹çÂtoWz¯´VÐê6Â°¾Dá‹^ÐEèi0¹fÇP[O…a¥n•Þ¨cÿAÿâ3[ùPF'âÍÁõ¬Vˆ‚n¯œÄòêÛ€uéÅY‰µÿ­1­Ö¿ðÈëêÁ@`7‚T#ð+âxµe    A   ˆl–Ãa¾”Ò~êq@µpOÜjbÑ¿�þZi ,ã€�À‚VJV�üÿÆ„­:/Å_ˆI|¥�+y,ÅÄ ?÷     /*
   +----------------------------------------------------------------------+
   | Zend Engine                                                          |
   +----------------------------------------------------------------------+
   | Copyright (c) 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: Dmitry Stogov <dmitry@php.net>                              |
   +----------------------------------------------------------------------+
*/

#ifndef ZEND_STRING_H
#define ZEND_STRING_H

#include "zend.h"

BEGIN_EXTERN_C()

typedef void (*zend_string_copy_storage_func_t)(void);
typedef zend_string *(ZEND_FASTCALL *zend_new_interned_string_func_t)(zend_string *str);
typedef zend_string *(ZEND_FASTCALL *zend_string_init_interned_func_t)(const char *str, size_t size, int permanent);

ZEND_API extern zend_new_interned_string_func_t zend_new_interned_string;
ZEND_API extern zend_string_init_interned_func_t zend_string_init_interned;

ZEND_API zend_ulong ZEND_FASTCALL zend_string_hash_func(zend_string *str);
ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len);
ZEND_API zend_string* ZEND_FASTCALL zend_interned_string_find_permanent(zend_string *str);

ZEND_API void zend_interned_strings_init(void);
ZEND_API void zend_interned_strings_dtor(void);
ZEND_API void zend_interned_strings_activate(void);
ZEND_API void zend_interned_strings_deactivate(void);
ZEND_API void zend_interned_strings_set_request_storage_handlers(zend_new_interned_string_func_t handler, zend_string_init_interned_func_t init_handler);
ZEND_API void zend_interned_strings_switch_storage(zend_bool request);

ZEND_API extern zend_string  *zend_empty_string;
ZEND_API extern zend_string  *zend_one_char_string[256];
ZEND_API extern zend_string **zend_known_strings;

END_EXTERN_C()

/* Shortcuts */

#define ZSTR_VAL(zstr)  (zstr)->val
#define ZSTR_LEN(zstr)  (zstr)->len
#define ZSTR_H(zstr)    (zstr)->h
#define ZSTR_HASH(zstr) zend_string_hash_val(zstr)

/* Compatibility macros */

#define IS_INTERNED(s)	ZSTR_IS_INTERNED(s)
#define STR_EMPTY_ALLOC()	ZSTR_EMPTY_ALLOC()
#define _STR_HEADER_SIZE _ZSTR_HEADER_SIZE
#define STR_ALLOCA_ALLOC(str, _len, use_heap) ZSTR_ALLOCA_ALLOC(str, _len, use_heap)
#define STR_ALLOCA_INIT(str, s, len, use_heap) ZSTR_ALLOCA_INIT(str, s, len, use_heap)
#define STR_ALLOCA_FREE(str, use_heap) ZSTR_ALLOCA_FREE(str, use_heap)

/*---*/

#define ZSTR_IS_INTERNED(s)					(GC_FLAGS(s) & IS_STR_INTERNED)

#define ZSTR_EMPTY_ALLOC() zend_empty_string
#define ZSTR_CHAR(c) zend_one_char_string[c]
#define ZSTR_KNOWN(idx) zend_known_strings[idx]

#define _ZSTR_HEADER_SIZE XtOffsetOf(zend_string, val)

#define _ZSTR_STRUCT_SIZE(len) (_ZSTR_HEADER_SIZE + len + 1)

#define 