phpbar.de logo

Mailinglisten-Archive

[php] Noch einmal: Bitte an die Experten

[php] Noch einmal: Bitte an die Experten

Manuel Hossfeld lists_(at)_Hossfeld.de
Sun, 6 Jun 1999 13:54:54 +0200


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")




php::bar PHP Wiki   -   Listenarchive