Bug #68333 [NEW]: import_request_variables() is still included and functioning
| From: | kraer_one at gmx dot net | Date: | Fri, 31 Oct 2014 10:20:04 +0000 |
| Subject: | Bug #68333 [NEW]: import_request_variables() is still included and functioning | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-188383@lists.php.net to get a copy of this message | ||
From: kraer_one at gmx dot net
Operating system: Debian Squeeze
PHP version: 5.4.34
Package: Scripting Engine problem
Bug Type: Bug
Bug description:import_request_variables() is still included and functioning
Description:
------------
While porting a shopsystem to 5.4 I came across a lot of DEPRECATED
Functions and ERRORS, so I removed them all at once.
BUT I did not receive ERRORS nor DEPRECATED messages whenever
import_request_variables() is called.
That came across a bit wierd, cause I doublechecked the removed feature
list.
I checked it on two servers with Debian Squeeze and DotDeb Repo PHP
5.4.34.
One as Fast CGI and one as Apache Mod.
Both accepted that removed feature.
Test script:
---------------
<?php
////////////////////////////////////////////
// call script with FILENAME?test=krauts //
////////////////////////////////////////////
echo $test; // Will output nothing -> OK
import_request_variables("G"); // REMOVED feature since 5.4
echo $test; // Will output krauts -> Wrong ... previous line should
result in an error.
// Just to make sure of php version >= 5.4
phpinfo();
?>
Expected result:
----------------
It should result in an ERROR because of the removed feature, but instead
it just still works like it did in 5.3.
Actual result:
--------------
The removed function did NOT throw an ERROR nor did not function. It is
like using 5.3
--
Edit bug report at https://bugs.php.net/bug.php?id=68333&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68333&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68333&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68333&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68333&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68333&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68333&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68333&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68333&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68333&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68333&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68333&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68333&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68333&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68333&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68333&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68333&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68333&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68333&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68333&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68333&r=mysqlcfg