Bug #68333 [Opn->Nab]: import_request_variables() is still included and functioning
| From: | aharvey@php.net | Date: | Fri, 31 Oct 2014 17:52:31 +0000 |
| Subject: | Bug #68333 [Opn->Nab]: import_request_variables() is still included and functioning | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188388@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68333&edit=1
ID: 68333
Updated by: aharvey@php.net
Reported by: kraer_one at gmx dot net
Summary: import_request_variables() is still included and
functioning
-Status: Open
+Status: Not a bug
Type: Bug
Package: Scripting Engine problem
Operating System: Debian Squeeze
PHP Version: 5.4.34
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
I can't reproduce this on a clean Squeeze VM with php5 installed from dotdeb:
vagrant@debian-607-x64-vbox4210-nocm:~$ php -v
PHP 5.4.34-1~dotdeb.0 (cli) (built: Oct 23 2014 01:25:43)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
vagrant@debian-607-x64-vbox4210-nocm:~$ php -r 'import_request_variables('G');'
PHP Fatal error: Call to undefined function import_request_variables() in Command line code on line
1
Given that there are no traces of import_request_variables (outside of unit tests) in the 5.4.34
tarball dotdeb use, nor in their patches, I'd say it's a problem with your environment.
Previous Comments:
------------------------------------------------------------------------
[2014-10-31 10:20:03] kraer_one at gmx dot net
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 this bug report at https://bugs.php.net/bug.php?id=68333&edit=1