PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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.