Re: [PHP] Question about CREATE_FUNCTION

2001-12-26 Thread Alexander Skwar
So sprach »Andrey Hristov« am 2001-12-21 um 17:40:07 +0200 : > $test='htmlspecialchars'; > echo $test(''); > ?> > > Produces : > > Ah, I thought you did disagree. Whatever. I misunderstood you, sorry about that. Alexander Skwar -- How to quote: http://learn.to/quote (german) http:

Re: [PHP] Question about CREATE_FUNCTION

2001-12-26 Thread Alexander Skwar
So sprach »Andrey Hristov« am 2001-12-21 um 15:52:35 +0200 : > Nope > $test(); Please explain! Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.de | Jabber: [EMAIL PROTECTED] iso-top.de - Die günstige A

Re: [PHP] Question about CREATE_FUNCTION

2001-12-22 Thread Emile Bosch
since you CAN'T create functions runtime, unles you are using an eval expression but that's even slower that create_function.. function bla() { } $test = "bla"; $test(); Is not solving the problem since, it doesn't create a function at RUNTIME it only references a function.. (it references $tes

Re: [PHP] Question about CREATE_FUNCTION

2001-12-21 Thread LaserJetter
> > > the former version won't work. > > > > Bogdan > > > > > > > $test='htmlspecialchars'; > > > echo $test(''); > > > ?> > > > > > > Produces : > > > > > > <html> > > > > > &g

Re: [PHP] Question about CREATE_FUNCTION

2001-12-21 Thread Bogdan Stancescu
Why do you draw the conclusion you're misunderstood? We are unable to answer your question about speed -- so aren't we allowed to have a separate discussion derrivated from your question? Bogdan Emile Bosch wrote: > thx for al the help but i need some help of a php developer i guess cuz i am >

Re: [PHP] Question about CREATE_FUNCTION

2001-12-21 Thread Emile Bosch
Andrey > > > > - Original Message - > > From: "Alexander Skwar" <[EMAIL PROTECTED]> > > To: "Andrey Hristov" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Friday, December 21, 2001 5:35 PM > > Subject: Re: [P

Re: [PHP] Question about CREATE_FUNCTION

2001-12-21 Thread Bogdan Stancescu
mlspecialchars'; > echo $test(''); > ?> > > Produces : > > <html> > > Regards, > Andrey > > - Original Message - > From: "Alexander Skwar" <[EMAIL PROTECTED]> > To: "Andrey Hristov" <[EMAIL

Re: [PHP] Question about CREATE_FUNCTION

2001-12-21 Thread Andrey Hristov
'); ?> Produces : <html> Regards, Andrey - Original Message - From: "Alexander Skwar" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 21, 2001 5:35 PM Subject: Re: [PHP

Re: [PHP] Question about CREATE_FUNCTION

2001-12-21 Thread Andrey Hristov
Nope $test(); Regards, Andrey - Original Message - From: "Bogdan Stancescu" <[EMAIL PROTECTED]> To: "Emile Bosch" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 21, 2001 3:43 PM Subject: Re: [PHP] Question about CREATE_FU

Re: [PHP] Question about CREATE_FUNCTION

2001-12-21 Thread Emile Bosch
Thank you for you interest, I need to know this because am building an CMS package.. and create function create functions on the fly which can come in handy very much.. My questions was wheter create_function the PHP tag, slow is or not... hope someone can help me out here.. Warm regards, Emil

Re: [PHP] Question about CREATE_FUNCTION

2001-12-21 Thread Bogdan Stancescu
Why do you need this? To my knowledge you get the same behaviour with Bogdan Emile Bosch wrote: > Dear list, > Does anyone know how the internals of create function works? > > $test = create_function('blah','$arg,$arg2',$code); > > Does it really create the function in $test; or creates it a