Click here to Skip to main content
15,879,096 members
Articles / Programming Languages / PHP

Phalanger, PHP for .NET: Introduction for .NET developers

Rate me:
Please Sign up or sign in to vote.
5.00/5 (41 votes)
24 Jan 2007CPOL29 min read 246.9K   4.1K   140  
Phalanger is a PHP language compiler for the .NET Framework which introduces PHP as a first-class .NET citizen.
<?
	final class PhotoSize {
	
		private function __construct() {
		}
		
		const Small = 1;    // 100px
		const Medium = 2;   // 198px
		const Large = 3;    // 600px
		const Original = 4; // Original Size
	}
?>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Czech Republic Czech Republic
I live in Prague, the capital city of Czech republic (most of the time Smile | :) ). I've been very interested in functional programming recently and I have a passion for the new Microsoft F# language. I'm writing a book about Functional Programming in the Real World that shows the ideas using examples in C# 3.0 and F#.

I've been Microsoft MVP (for C#) since 2004 and I'm one of the most active members of the F# community. I'm a computer science student at Charles University of Prague. My hobbies include photography, fractals and of course many things related to computers (except fixing them). My favorite book writers are Terry Pratchett and Philip K Dick and I like paintings by M. C. Escher.

PS: My favorite codeproject icon is Sheep | [baah] .

Comments and Discussions