Edit report at http://bugs.php.net/bug.php?id=52644&edit=1

 ID:                 52644
 Updated by:         [email protected]
 Reported by:        thepixeldeveloper at googlemail dot com
 Summary:            parse_url doesn't emit an E_WARNING
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            URL related
 Operating System:   GNU/Linux
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

Warning has removed, it was totally useless. As the return value already
indicates that the function fails.


Previous Comments:
------------------------------------------------------------------------
[2010-08-19 14:07:03] thepixeldeveloper at googlemail dot com

Description:
------------
Linux durango 2.6.35-020635rc1-generic #020635rc1 SMP Tue Jun 1 17:27:30
UTC 2010 x86_64 GNU/Linux



Configure Command =>  './configure'  '--prefix=/opt/php-5.3.3'
'--with-openssl' '--with-mcrypt' '--with-mysqli' '--with-mysql=mysqlnd'
'--with-mysql-sock' '--with-gd' '--with-jpeg-dir=/usr'
'--with-png-dir=/usr' '--with-zlib-dir=/usr' '--with-freetype-dir=/usr'
'--with-tidy' '--with-curl' '--enable-fpm'
'--with-config-file-path=/etc/php'
'--with-config-file-scan-dir=/etc/php/conf.d' '--enable-gd-native-ttf'
'--enable-gd-jis-conv' '--enable-mbstring' '--disable-xmlreader'
'--disable-xmlwriter' '--disable-phar' '--without-sqlite'
'--without-sqlite3' '--disable-pdo'



Modules 



xdebug Version => 2.1.0rc1

http Version => 1.7.0

imagick Version => 3.0.0



diff -u /home/mathew/Downloads/php-5.3.3/php.ini-development php.ini



http://pastie.org/private/y96jx00zslon2t95joa4ug







Test script:
---------------
<?php



error_reporting(E_ALL | E_STRICT);



$parse = parse_url('http:///example.com', PHP_URL_PATH);



var_dump($parse);

Expected result:
----------------
Warning: parse_url(http:///example.com): Unable to parse URL in
/var/www/default/parse_url.php on line 5

bool(false)

Actual result:
--------------
bool(false)


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52644&edit=1

Reply via email to