diff options
| author | Zeev Suraski <zeev@php.net> | 2004-02-11 19:15:30 +0000 | 
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2004-02-11 19:15:30 +0000 | 
| commit | c8c0e979826b677de5f786920289056242ea5c54 (patch) | |
| tree | 987e3ba3b0bb6931fd701f551916fc25abda3b8c /regex/debug.c | |
| parent | d91fc5fa3c9e34a5e4b853b3fa9f2a0b2c8f1a06 (diff) | |
| download | php-git-c8c0e979826b677de5f786920289056242ea5c54.tar.gz | |
Prevent SimpleXML from silently modifying types of variables that are
assigned to its objects.
Implementation notes for overloaded object modules:
- If you return a zval which is not otherwise referenced by the extension
  or the engine's symbol table, its reference count should be 0.
- If you receive a value zval in write_property/write_dimension, you
  may only modify it if its reference count is 1.  Otherwise, you must
  create a copy of that zval before making any changes.  You should NOT
  modify the reference count of the value passed to you.
Have fun!
Diffstat (limited to 'regex/debug.c')
0 files changed, 0 insertions, 0 deletions
