Re: Variables inside a function

From: Date: Mon, 08 Mar 2004 18:26:26 +0000
Subject: Re: Variables inside a function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179809@lists.php.net to get a copy of this message
On Tuesday 09 March 2004 02:03, Alex Hogan wrote: > If I read his post correctly he was looking to make blah() available and > not $blah. The OP says "so that I can use $blah anywhere in the script?", which to me means that $blah needs to be global ... [snip] > Of course obviously being one of the OP you refer to I have read the manual (OP doesn't mean you) > > Variables > Variable scope. ... hence the referral to the manual. > In this case I don't see how it related to > his post, even though he stated that he was trying to echo $blah.... According to what he stated he was trying to do it is very relevant. > One of those letter of the law vs intent of the law sort of things..... Maybe. > But thanks for the condensintion..., I'm sorry if you interpreted my terseness as being condescending -- note the spelling (*now* I'm being condescending!). > maybe I can return the favor sometime. TIA ;) -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Consultation, n.: Medical term meaning "to share the wealth." */

« previous php.general (#179809) next »