README


-------------------------------------------------------------------------------
THANKS
-------------------------------------------------------------------------------

Three people have been _really_ helpful in answering my questions and generally
helping me plan out the extension.  Many thanks to (alphabetical order):

- Miguel De Icaza
- Paolo Molaro
- Sam Ruby

-------------------------------------------------------------------------------
INTRODUCTION
-------------------------------------------------------------------------------

The Mono extension allows PHP to access .NET assemblies via the Mono 
(http://www.go-mono.com/) library.  To use this extension, copy it to
the "ext/" directory in your PHP5 cvs tree as "mono."  Re-run ./buildconf
and then type ./configure --with-mono:

$ cp -rf php_mono_0_2 php5/ext/mono
$ cd php5
$ ./buildconf
[snip output]
$ ./configure --with-mono
[snip output]

Once you have compiled mono and php, try the following "HelloWorld" code.

<?php
$Console = new Mono('System.Console');
$Console->WriteLine('Hello World');
?>

You can see some other various samples in the "samples/" directory.

This code is very experimental.  While it is pretty full featured at this
point, it is still alpha software.

The current TODO is:

	- Marshall PHP arrays into System.Array types
	- Allow people to specify arrays and parameter arrays in method 
	  signatures
	- Clean up the source code

Enjoy!

Sterling Hughes
sterling@php.net
