Zitat von Unregistriert;699203
was ist besser oder was soll ich lernen, wenn ich schon paar sachen in php weiß?
Kaum eine Sprache ist so XProfan wie PHP!, beide interpretieren und die Sprachen verhalten sich in vielerlei Hinsicht gleich.
Hingegen hat PHP kaum etwas mit C(++) gemeinsam, von der Syntax abgesehen.
Du kannst die gewohnte Syntax auch mit XProfan nutzen, einfach Präkompiler (xpse, kostenlos) vorschalten.
PHP:[PHP]echo "Hallo Welt";
die()[/PHP]XProfan:
[URL='http://xprofan.com/faq.mx?print']print[/URL] "Hallo Welt";
[URL='http://xprofan.com/faq.mx?end']end[/URL]
PHP:[PHP]function myFunc($s1,$s2,$s3){;
return "Hallo Welt".$s1;
};[/PHP]XProfan (xpse):
[URL='http://xprofan.com/faq.mx?myFunc']myFunc[/URL]([URL='http://xprofan.com/faq.mx?s1']s1$[/URL],[URL='http://xprofan.com/faq.mx?s2']s2$[/URL],[URL='http://xprofan.com/faq.mx?s3']s3$[/URL])[COLOR=#0000ff]{[/COLOR];
[URL='http://xprofan.com/faq.mx?return']return[/URL] "Hallo Welt+s1$;
[COLOR=#0000ff]};[/COLOR]
XProfan:
[URL='http://xprofan.com/faq.mx?proc']proc[/URL] [URL='http://xprofan.com/faq.mx?myFunc']myFunc[/URL]
[URL='http://xprofan.com/faq.mx?parameters']parameters[/URL] s1$,s2$,s3$
[URL='http://xprofan.com/faq.mx?return']return[/URL] "Hallo Welt"+s1$
[URL='http://xprofan.com/faq.mx?endproc']endproc[/URL]
Ich sag mal so, ich find XProfan und PHP ebenso lecker.