Edit report at https://bugs.php.net/bug.php?id=60642&edit=1
ID: 60642 Updated by: m...@php.net Reported by: michiel at thalent dot nl Summary: Missing constant PHP_QUERY_RFC1738 and PHP_QUERY_RFC3986 -Status: Open +Status: Bogus Type: Bug Package: URL related Operating System: Windows and Linux PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Those constants were added along with the enc_type parameter in PHP 5.4.0 - check the changelog on http://php.net/http_build_query. Previous Comments: ------------------------------------------------------------------------ [2012-01-03 12:50:00] michiel at thalent dot nl Description: ------------ I'm missing the contansts PHP_QUERY_RFC1738 and PHP_QUERY_RFC3986. I believe their value should be resp 1 and 2. Test script: --------------- <?php echo PHP_QUERY_RFC1738 . "\n";// will throw a notice echo PHP_QUERY_RFC3986;// will throw a notice ?> Expected result: ---------------- 1 2 Actual result: -------------- You will get a notice error. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60642&edit=1