VirtualIreland.ru - Виртуальная Ирландия
Вернуться   VirtualIreland.ru - Виртуальная Ирландия > Живем в Ирландии > IT и Связь

IT и Связь Обсуждение "айтишных" вопросов и средств связи

Ответ
 
Опции темы Опции просмотра
Старый 13.09.2005, 16:03   #1
Заслуженный Участник
 
Аватар для ixania
 
Сообщений: 2,951
Благодарности: 1,004 в 534 сообщениях Поиск благодарностей ixania
По умолчанию PHP Mono Extension

http://www.php.net/~sterling/mono/

INTRODUCTION

The Mono extension allows PHP to access .NET assemblies via the Mono (http://www.go-mono.com/) library. To use this extension, download it, 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 "Hello World" code.

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

You can see some other various samples.

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
* Allow people to specify return values in method signatures
* Clean up the source code
ixania вне форума   Ответить с цитированием

Зарегистрируйтесь или войдите под своим именем, чтобы спрятать этот рекламный блок
Ответ



Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать на сообщения
Вы не можете добавлять вложения
Вы не можете редактировать свои сообщения

BB код Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Часовой пояс GMT, времени сейчас: 22:33.


vBulletin®, Copyright ©2000-2025, Jelsoft Enterprises Ltd., Русификация: zCarot, Vovan & Co
©2003-2025 VirtualIreland.ru - Виртуальная Ирландия