#48819 [Opn->Bgs]: dl function is undefined
| From: | jani@php.net | Date: | Mon, 06 Jul 2009 16:24:11 +0000 |
| Subject: | #48819 [Opn->Bgs]: dl function is undefined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139339@lists.php.net to get a copy of this message | ||
ID: 48819
Updated by: jani@php.net
Reported By: pkwan at advsofteng dot net
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows
PHP Version: 5.3.0
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2009-07-06 16:07:01] dani88elx at gmail dot com
This is not a bug.
dl() is deprecated from 5.3 version
------------------------------------------------------------------------
[2009-07-06 15:50:30] pkwan at advsofteng dot net
Description:
------------
Using the "dl" function results in a "Call to undefined function dl()"
error if the PHP is used with a web server. It is as if the "dl"
function does not exist in PHP any more. This has been tested using
"php-cgi.exe" VC6 and on IIS on both Windows 2000 and Windows XP, and
using "php-cgi.exe" VC9 on IIS on Windows XP.
However, when using "php.exe" or "php-cgi.exe" in a DOS shell
interactively, the "dl" function works normally.
Reproduce code:
---------------
<?php dl("any_name.dll"); ?>
Expected result:
----------------
If the DLL is loaded successfully, no message is expected. Otherwise,
some meaningful error message is expected.
Actual result:
--------------
Fatal error: Call to undefined function dl() in
C:\Inetpub\Scripts\phpinfo.php on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48819&edit=1