Re: Re: cvs: pear /Image_Barcode ChangeLog Readme.txt barcode_img.php package.xml test-image-barcode.php /Image_Barcode/Barcode Code39.php ean13.php
int25.php upca.php
| From: | Sean Coates | Date: | Wed, 25 May 2005 18:13:03 +0000 |
| Subject: | Re: Re: cvs: pear /Image_Barcode ChangeLog Readme.txt barcode_img.php package.xml test-image-barcode.php /Image_Barcode/Barcode Code39.php ean13.php int25.php upca.php |
||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2738@lists.php.net to get a copy of this message | ||
Sorry for nitpicking, but this is effectively equivalent, and much less expensive: $num = isset($_REQUEST['num']) ? $_REQUEST['num'] : '15101967'; $type = isset($_REQUEST['type']) ? $_REQUEST['type'] : 'int25'; $imgtype = isset($_REQUEST['imgtype']) ? $_REQUEST['imgtype'] : 'png'; S$num = '15101967'; $type = 'int25';$imgtype = 'png'; $num = isset($_REQUEST) && is_array($_REQUEST) && isset($_REQUEST['num']) ? $_REQUEST['num'] : $num; $type = isset($_REQUEST) && is_array($_REQUEST) && isset($_REQUEST['type']) ? $_REQUEST['type'] : $type; $imgtype = isset($_REQUEST) && is_array($_REQUEST) && isset($_REQUEST['imgtype']) ? $_REQUEST['imgtype'] : $imgtype;