Ask a Question related to PHP Development, Design and Development.
-
matt at matts dot org #1
#23929 [Com]: strange register_shutdown_function error for undefined functions
ID: 23929
Comment by: matt at matts dot org
Reported By: philip at cornado dot com
Status: Bogus
Bug Type: *General Issues
PHP Version: 4.3.2
Assigned To: helly
New Comment:
Philip is right, it's a stupid and cryptic error message.
The error returned should be useful at least.
Bad call.
Previous Comments:
------------------------------------------------------------------------
[2003-06-01 12:11:44] [email]philip@php.net[/email]
I'm sorry, I didn't realize that Unknown() and line #0 were official,
I'll add this to the documentation.
------------------------------------------------------------------------
[2003-06-01 10:44:56] [email]sniper@php.net[/email]
No bug here. Philip, ask such questions on the mailing list and stop
spamming the bug system with these..
------------------------------------------------------------------------
[2003-05-31 21:15:03] [email]philip@php.net[/email]
I don't understand the answer, and this is certainly not documented.
Also, why did you assign it to yourself and mark it as bogus?
------------------------------------------------------------------------
[2003-05-31 17:00:26] [email]helly@php.net[/email]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
[url]http://www.php.net/manual/[/url] and the instructions on how to report
a bug at [url]http://bugs.php.net/how-to-report.php[/url]
When some engine facility tries to call a non existing functions you
receive such errors.
------------------------------------------------------------------------
[2003-05-31 15:55:47] philip at cornado dot com
register_shutdown_function() provides a warning instead of a fatal
error when calling an undefined function. Not sure if this is
intentional or not but here's a test script:
<?php
echo 'hello';
register_shutdown_function('do_not_exist');
?>
And next, the strange looking error. Same result for both Apache
module and CLI:
Hello
Warning: Unknown(): Unable to call do_not_exist() - function does not
exist in Unknown on line 0
A PHP5 CLI demonstrates this same error.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=23929&edit=1[/url]
matt at matts dot org Guest
-
'flash' is undefined error
Everytime I go to ninemsn.com.au I get a 'flash' is undefined script error. On a working system it was show gifs if flash was unavailable but on... -
Error: Undefined variable
I am going trough the ColdFusion "Record store tutorial" I found on Macromedia's web site: ... -
#21016 [Com]: php_w32api functions undefined
ID: 21016 Comment by: jwang2 at go2uti dot com Reported By: info at frenck dot nl Status: Bogus Bug Type: ... -
Strange problem...some functions just don't work.
Today, my photshop 7 began doing strange things. When I attempt to perform certain tasks, photshop won't do them. For example. If I attempt to... -
Error: 'WScript' is undefined'
I am trying to send key to the browser to launch the send page command Systax: <script langauage = "Javascript"> function Sendmy() { var...



Reply With Quote

