phpbar.de logo

Mailinglisten-Archive

Re: [php] Noch einmal: Bitte an die Experten
Archiv Mailingliste php_(at)_infosoc.uni-koeln.de

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php] Noch einmal: Bitte an die Experten



Hallo Egon,

> Jetzt bist Du aber etwas reingefallen.
> 
> New Functionality in Zend:
> include() and eval() are now functions, and not statements. That means
> they return a value. The default return value from include() and eval() is
> 1, so that you can do if (include()) without further coding. The return
> value may be changed by returning a value from the global scope of the
> included file or the evaluated string. For example, if 'return 7;' is
> executed in the global scope of foo.inc, include("foo.inc") would evaluate
> to 7. 

Ähh, ja - den Abschnitt hatte ich im Hinterkopf.
Und wo bin ich da jetzt "reingefallen"?

(leicht verwirrt)
Manuel

-- 
Quote of the month:
"The parade that´s electrical, it serves no real purpose
 Takes up a lot of juice, just to impress us."
	(No Doubt, "Tragic Kingdom")



Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive