Suggestions for go-pear script

From: Date: Fri, 13 Feb 2004 20:58:24 +0000
Subject: Suggestions for go-pear script
Groups: php.pear.core 
Request: Send a blank email to pear-core+get-95@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, ~ I hope this is the right place for this post. Anyhow, nothing big, but I was looking at the go-pear.org install script for pear, and I noticed something. ~ The very first line of the script is: "$sapi_name = php_sapi_name();". Now this in itself is not too odd. What *is* odd is that after taking the time/effort to store the string that is returned in the variable $sapi_name, it doesn't appear that the script actually uses it in the appropriate places. . . it just keeps calling the function php_sapi_name(). ~ Minor thing, really. The script still works just fine of course, and it's not that big of a performance hit since it is only called a few times anyhow. But, it just looks kinda ugly/messy to me, hehe. Jeff Schmidt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFALTpt/djDnfAeGysRArY+AKCr1ru7P/+8W+Q3+F4v65dVTfzk7QCfbP6y /3cg6zy+JKKSmyPexJzPxko= =ZyxA -----END PGP SIGNATURE-----

« previous php.pear.core (#95) next »