|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-04-03 16:19 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 15:00:02 2025 UTC |
Description: ------------ You can't define a constant using define(), and automatically assign a value to it, that is of a function. Reproduce code: --------------- <?php define("E_SQL", mysql_error(), true); ?> Expected result: ---------------- E_SQL should now contain the last error-string. (Of course only if there was an error). Actual result: -------------- It's empty