|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-21 02:46 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 23:00:01 2025 UTC |
It looks like after getmxrr() became an alias to dns_get_mx(), it doesn't understand that the second and third arguments are forced references. Consider the following example. <? //OK dns_get_mx("netscape.com", $mxrecord1, $weight1); print_r($mxrecord1); //Notices about mxrecord2 and weight being undefined //and no data returned getmxrr("netscape.com", $mxrecord2, $weight2); print_r($mxrecord2); ?> In 4.3, getmxrr() behaves correctly. I'm guessing that that ext/standard/basic_functions.c needs a tweak to force the arguments to be references, but I'm not familiar enough with the PHP_FE/PHP_FALIAS macros to fix come up with a fix. Thanks, Leon