Bug #52644 [NEW]: parse_url doesn't emit an E_WARNING
| From: | thepixeldeveloper at googlemail dot com | Date: | Thu, 19 Aug 2010 12:07:04 +0000 |
| Subject: | Bug #52644 [NEW]: parse_url doesn't emit an E_WARNING | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-153606@lists.php.net to get a copy of this message | ||
From:
Operating system: GNU/Linux
PHP version: 5.3.3
Package: URL related
Bug Type: Bug
Bug description:parse_url doesn't emit an E_WARNING
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 bug report at http://bugs.php.net/bug.php?id=52644&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52644&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52644&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52644&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52644&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52644&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52644&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52644&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52644&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52644&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52644&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52644&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52644&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52644&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52644&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52644&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52644&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52644&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52644&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52644&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52644&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52644&r=mysqlcfg