diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-15 20:15:32 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-15 20:15:32 +0000 |
commit | ced9cee10cf943568b487dc1204f95290b19de80 (patch) | |
tree | 710e255fb51ac24b17a0d34ec0ee2fafcb858474 /Zend/zend_globals.h | |
parent | 3c700f92601b6d579a675374dc06178369747f53 (diff) | |
download | php-git-ced9cee10cf943568b487dc1204f95290b19de80.tar.gz |
- Implement return by reference:
- In function declaration instead of the return statement
- In the assignment phase
- Implement ability to turn off support for call-time pass by reference
Diffstat (limited to 'Zend/zend_globals.h')
-rw-r--r-- | Zend/zend_globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_globals.h b/Zend/zend_globals.h index 947fc0044d..f4b20ee875 100644 --- a/Zend/zend_globals.h +++ b/Zend/zend_globals.h @@ -90,6 +90,7 @@ struct _zend_compiler_globals { zend_bool short_tags; zend_bool asp_tags; + zend_bool allow_call_time_pass_reference; /* For extensions support */ zend_bool extended_info; /* generate extension information for debugger/profiler */ @@ -110,6 +111,7 @@ struct _zend_compiler_globals { struct _zend_executor_globals { zval *return_value; + zval **return_value_ptr_ptr; zval uninitialized_zval; zval *uninitialized_zval_ptr; @@ -160,6 +162,7 @@ struct _zend_executor_globals { zval *garbage[4]; int garbage_ptr; + zend_bool suspend_garbage; void *reserved[ZEND_MAX_RESERVED_RESOURCES]; #if SUPPORT_INTERACTIVE |