Is:
<%
Set Mail = Server.CreateObject("SomeCOMObject")
Set Mail = Nothing
%>
the same as:
<?php
$Mail = new COM("SomeCOMObject");
$Mail->Close(); // <---- Not sure about this
?>
Is:
<%
Set Mail = Server.CreateObject("SomeCOMObject")
Set Mail = Nothing
%>
the same as:
<?php
$Mail = new COM("SomeCOMObject");
$Mail->Close(); // <---- Not sure about this
?>
I beleive
$Mail = null;
unset($Mail);
Although I am likely mistaken.
You can set $var to equal nothing like this:
$var = null;
To completely release the variable from memory, you do this:
unset($var);