D Documentation  
From PHP :)
I often use PHP. No, not only for websites, i write a lot of networking hacks in it, e.g. IRC-Bots and stuff. So i came up with the idea to "compare" PHP and D.

First and most important: D is a compiled language, PHP is interpreted.
Although PHP people may think PHP is a pretty fast interpreter because code is pre-compiled and cached and... - D is always faster. I even believe that D code could be faster when you add up compile and execute time.

D is strictly typed. PHP isn't. You wont be able to mulitply your string "45" with integer 3.
You also have to declare variables before using them, and they will only hold one certain type.

D has a lot more complex object orientation. Learn about that soon (Templates and stuff). You may even be able to compensate the type problem with that as you could write a class that can do anything a PHP variable can do.

PHP's got a really great standard library, thats why i have to write functions only for really specialized stuff. D's standard library, Phobos, isn't that large, but there are tons of libs from other people around. Take a look at http://dsource.org/ for example.
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.