Home » Web Services » XML_RPC » Bug #3713
Constants instead of global variables
Details
| Request #3713 | Constants instead of global variables |
|---|---|
| Submitted | 2005-03-05 14:54 UTC |
| From | guibod at free dot fr |
| Assigned | danielc |
| Status | Wont fix |
| Package | XML_RPC |
| PHP Version | 5.0.3 |
| Roadmaps | (Not assigned) |
Comments
[2005-03-05 14:54 UTC] guibod at free dot fr
Description:
------------
I've just coded a function that use some from the box variables such as $XML_RPC_I4, or $XML_RPC_erruser. But i am forced to globalize them.
Why not use defined constants ? (e.g: $XML_RPC_I4 becomes XML_RPC_I4.)
[2005-03-05 14:56 UTC] guibod at free dot fr
sorry I've mistaken on bug name. My apologies.