note 89439 deleted from language.types.null by danbrown
| From: | danbrown@php.net | Date: | Sun, 08 Mar 2009 00:16:14 +0000 |
| Subject: | note 89439 deleted from language.types.null by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151610@lists.php.net to get a copy of this message | ||
Note Submitter: kshegunov at gmail dot com
----
The results of <alexey at gmail dot com> struck me as little suspicious. So I put it to the
test. Here is what I've got:
<?php
class SomeClass
{
function SomeFunction()
{
}
}
var_dump(new SomeClass() == null);
?>
And as I expected the result is:
bool(false)
Tested it on php 5.2.6/WinXP x64