Anonymous | Login | Signup for a new account | 11-22-2024 02:03 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0004119 | [Quercus] | minor | always | 07-13-10 08:16 | 07-13-10 08:16 | |||||||
Reporter | dancras | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | Platform | ||||||||
Status | new | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Fixed in Version | Product Version | 4.0.8 | ||||||||
Product Build | ||||||||||||
Summary | 0004119: token_get_all() parses interface as a string | |||||||||||
Description |
When using token_get_all() with a file containing an interface declaration, in PHP on apache the token index matches T_INTERFACE, but on quercus it matches T_STRING Replicate using the following code: <?php echo "Interface: ".T_INTERFACE; echo " Class: ".T_CLASS; echo " String: ".T_STRING; $class = " <?php class MyClass { }"; $interface = " <?php interface MyInterface { }"; echo " Class Tokens: "; print_r(token_get_all($class)); echo " Interface Tokens: "; print_r(token_get_all($interface)); ?> |
|||||||||||
Steps To Reproduce | ||||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |