PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » XML_RPC » Bug #3713

Constants instead of global variables

Details

Request #3713Constants instead of global variables
Submitted2005-03-05 14:54 UTC
Fromguibod at free dot fr
Assigneddanielc
StatusWont fix
PackageXML_RPC
PHP Version5.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.