RE: [PHP-GTK-DEV] Enums/flags as objects?
| From: | Steph | Date: | Tue, 10 Aug 2004 23:37:57 +0000 |
| Subject: | RE: [PHP-GTK-DEV] Enums/flags as objects? | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-706@lists.php.net to get a copy of this message | ||
> The object way would be:
>
> php: echo ENUM_CURSOR;
> output: <enum CURSOR_ARROW of type CursorType>
>
It's prettier than int, but won't it be horribly slow?
- Steph