Is there a possibility of there ever being a PHP.NET?

后端 未结 13 1004
[愿得一人]
[愿得一人] 2020-12-06 06:40

Sorry if this is a silly and/or stupid question but... Will there ever be, or would it even be possible to have a PHP.NET? Or have I got the wrong end of the stick?

相关标签:
13条回答
  • 2020-12-06 06:57

    Once this is in I don't see why not.

    http://en.wikipedia.org/wiki/Dynamic_Language_Runtime

    0 讨论(0)
  • 2020-12-06 06:58

    The two are totally different, they are in competition with each other. Both will try to be good at their ends. So i dont think there is going to be anything as such in the future. However, you can use PHP inside of Visual Studio, there are plugins available for that.

    Thanks

    0 讨论(0)
  • 2020-12-06 06:58

    Well PHP is good as is already. Even if it does become PHP.NET I doubt it will be done by Microsoft.

    0 讨论(0)
  • 2020-12-06 06:59

    Someone has actually already begun working on just such a thing

    http://www.codeplex.com/Phalanger

    http://www.php-compiler.net/doku.php

    0 讨论(0)
  • 2020-12-06 07:04

    As an aside:

    I don't believe .Net support for PHP would be a great idea.

    I use PHP every day of my life. It's not because I like the language (it's a collection of mismatched functions with very little OO support), but rather because it's the best tool for the job.

    PHP has a lightweight feel and one can do almost anything in a few easy lines. It's string handling is effortless, and support is ubiquitous. Array handling is great, too.

    I feel that if PHP joined the .Net CLR I would not be tempted to switch over to use it. If one wanted to work with .Net one would do better to use a nicer, better structured language, such as C#.

    0 讨论(0)
  • 2020-12-06 07:08

    I would say that it is unlikely as that there is ASP.net, but I would not say never because of Python.NET or IronPython. There is already one attempt called Phalanger. From the looks of the official wiki, its a serious development effort.

    0 讨论(0)
提交回复
热议问题