Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 25, 2006
Commits on Apr 6, 2006
  1. @sgolemon

    Overload 'duplicate' arg as applied to:

    sgolemon authored
    add_((next_)?index|assoc)_(ascii|rt)_stringl?(_ex)?
    and
    (ZVAL|RETVAL|RETURN)_(ASCII|RT|U)_STRINGL?
    
    #define ZSTR_DUPLICATE (1<<0)
    #define ZSTR_AUTOFREE (1<<1)
    
    Duplicate keeps traditional value of '1', additional bit '2' tells
    unicode mode conversion to automatically free the original string
    in order to avoid leaks due to conversion on a value otherwise being
    "given" to the engine.
    
    /* Uses s as-is for non-unicode, or frees s after converting to unicode */
    {
      char *s = estrdup("Hello");
      ZVAL_RT_STRING(pzv, s, ZSTR_AUTOFREE);
    }
    
    /* Duplicates for non-unicode, or converts (but doesn't free original) */
    {
      char *s = "Hello";
      ZVAL_RT_STRING(pzv, s, ZSTR_DUPLICATE);
    }
    
    /* Uses as-is for non-unicode, or converts (but doesn't free original) */
    {
      char *s = "Hello";
      zval zv;
      ZVAL_RT_STRING(&zv, s, 0);
    
      /* use zv for some temporary purpose */
    
      /* It's now necessary to manually free this generated value */
      if (UG(unicode)) {
        zval_dtor(&zv);
      }
    }
Commits on Mar 10, 2006
Commits on Mar 5, 2006
  1. - Add missing function for completeness

    Marcus Boerger authored
Commits on Mar 4, 2006
  1. @johannes
Commits on Feb 26, 2006
  1. Unicode support: MS Visual C compatibility

    Dmitry Stogov authored
Commits on Feb 24, 2006
  1. - Add macros to mark functions/alias functions as deprecated

    Marcus Boerger authored
      (mentioned by Sara and obviously neccessary)
    - Fix function/method flag error detection logic
Commits on Feb 22, 2006
  1. Unicode support

    Dmitry Stogov authored
Commits on Feb 21, 2006
  1. Portable unicode string API:

    Dmitry Stogov authored
      - use the same type (int) for zval.value.usr.len and zval.value.str.len
      - use union "zstr" as char*/UChar* mixture instead of void*
      - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
      - nuke int32_t from ZE (not finisned)
  2. WS

    Dmitry Stogov authored
Commits on Feb 20, 2006
Commits on Feb 13, 2006
Commits on Jan 17, 2006
  1. Unicode stuff is changed according to decision maden on PDM.

    Dmitry Stogov authored
    Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
Commits on Jan 4, 2006
  1. @andigutmans
Commits on Dec 16, 2005
  1. - Add new const

    Marcus Boerger authored
Commits on Dec 1, 2005
  1. Fixed bug #34729 (Crash in ZTS mode under Apache)

    Dmitry Stogov authored
Commits on Oct 28, 2005
Commits on Oct 25, 2005
Commits on Oct 3, 2005
  1. - Add propper casting

    Marcus Boerger authored
Commits on Sep 27, 2005
Commits on Sep 23, 2005
  1. - WS fix

    Marcus Boerger authored
Commits on Sep 1, 2005
Commits on Aug 23, 2005
  1. Unicode support

    Dmitry Stogov authored
  2. Unicode support cleanup

    Dmitry Stogov authored
Commits on Aug 22, 2005
  1. zend_is_callable() and zend_make_callable() were changed to return re…

    Dmitry Stogov authored
    …adable function name as zval (instead of string).
Commits on Aug 19, 2005
  1. *** empty log message ***

    Andrei Zmievski authored
  2. Unicode support cleanup

    Dmitry Stogov authored
Commits on Aug 18, 2005
  1. - Implement zend_codepoint_to_uchar().

    Andrei Zmievski authored
    - Rename and fix zend_get_unified_string_type() so that it does not
      allow mixing of binary and Unicode types.
  2. Suppoer for unicode exception messages

    Dmitry Stogov authored
  3. Unicode support for extract()

    Dmitry Stogov authored
Commits on Aug 15, 2005
  1. Fixed several unicode related bugs

    Dmitry Stogov authored
Commits on Aug 12, 2005
  1. Unicode support

    Dmitry Stogov authored
  2. ZTS fixes.

    Sebastian Bergmann authored
Commits on Aug 11, 2005
  1. Unicode support

    Andrei Zmievski authored
Commits on Aug 3, 2005
  1. Bump up the year

    foobar authored
Something went wrong with that request. Please try again.