Gossamer Forum
Home : General : Chit Chat :

Is it me?

Quote Reply
Is it me?
Ok...can i just see what people generally think about this. In PHP, if a variable is defined within a function (PHPH's equivelant of a sub) you HAVE TO define it as a global before you can use it in other subs! Is it me, or is this a really stupid idea? I would much prefer to just define the local variables within the function, as with Perls 'my' statement. Anyone else got any thoughts on this?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Is it me? Andy 6102 Nov 19, 2001, 1:14 PM
Post Re: [AndyNewby] Is it me?
Paul 5846 Nov 19, 2001, 1:53 PM
Thread Re: [AndyNewby] Is it me?
Wil 5880 Nov 20, 2001, 1:59 AM
Thread Re: [Wil] Is it me?
Andy 5902 Nov 20, 2001, 5:47 AM
Post Re: [AndyNewby] Is it me?
Paul 5800 Nov 20, 2001, 5:52 AM
Post Re: [AndyNewby] Is it me?
Michael_Bray 5802 Nov 20, 2001, 2:06 AM