|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4119 | minor | always | 07-13-10 08:16 | 07-13-10 08:16 | |
|
|
|||||
| Reporter: | dancras | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | new | Product Version: | 4.0.8 | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
| There are no notes attached to this issue. |