diff options
author | Andi Gutmans <andi@php.net> | 2001-11-30 16:29:47 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-11-30 16:29:47 +0000 |
commit | e858d27888471107a4816d62033db785fab5f2da (patch) | |
tree | 72af463fe00499ac25ec0d6140cb7efff4ae32c0 /Zend/zend.h | |
parent | 7f66d5e99aa51dd90df5f62b452653aaae53c21c (diff) | |
download | php-git-e858d27888471107a4816d62033db785fab5f2da.tar.gz |
- Initial support for class constants. There are still a few semantic
- issues which need to be looked into but basically it seems to work.
- Example:
<?php
class foo
{
const hey = "hello";
}
print foo::hey;
?>
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 924f541091..d835014ab9 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -285,6 +285,7 @@ struct _zend_class_entry { HashTable default_properties; HashTable class_table; HashTable static_members; + HashTable constants; zend_function_entry *builtin_functions; union _zend_function *constructor; |