|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-07-24 00:17 UTC] felipe@php.net
-Status: Open
+Status: Bogus
[2010-07-24 00:17 UTC] felipe@php.net
[2010-07-24 00:20 UTC] g dot kuizinas at gmail dot com
[2010-07-24 00:28 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 11:00:02 2025 UTC |
Description: ------------ There is nothing much to describe actually. I call a function with: die( hp_mail_wrapper('Subject', 'body') ); And my function looks like this: function hp_mail_wrapper($title, $body, $theme = 0, $vars = array()) { if($theme == 'newsletter') { die('What???'); } die('Good'); } Strangely enough script dies with 'What???'. If I change $theme = 0 to anything else, like NULL, FALSE (anything), it works fine. I also dumped the incoming args to avoid reporting a sleepy-bug, but as expected, the only variables that function get is $title and $body.