*** PHP operator == tests by Gynvael Coldwind
website: http://gynvael.coldwind.pl/
contact: gynvael@coldwind.pl

The code isn't pretty, sorry about that. If you have any interesting
results with these tests, let me know.
Btw, this code was designed to be run from PHP CLI (command line).

Also, you might want to enable display_errors in your php.ini, as well
as enable PDO sqlite module (since a couple of tests use it to create
a PDORow object, since it has no cast_object handler defined).

*** See also:
* A table explaining how the == operator works in PHP:
https://docs.google.com/spreadsheet/pub?key=0Apy5AGVPzpIOdHREMVpyU0JBak5GcURZZGpQbGRqb0E&output=html

* A note on my blog about this, also pointing out some interesting
cases:
http://gynvael.coldwind.pl/?id=492

*** License

Copyright (C) 2013 Gynvael Coldwind

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

