Page 1 of 1

is eval() fast or slow?

Posted: Tue Nov 25, 2003 3:10 pm
by cybaf
Hi!

I'm currently working on a CMS where I have some php-code inside a mysqldatabase.

I'm getting the php from the database and then do an eval() on the result. It works fine.

My question is if this set up would be slow since eval would have to do most of the work? especially when the phpcode inside the db gets big?

//cybaf

Posted: Tue Nov 25, 2003 3:46 pm
by DuFF
Yes, there was a thread a couple days ago about eval() and that looping it got really slow. He was looking for a way to get around it but no one really knew how :?

Posted: Tue Nov 25, 2003 4:56 pm
by cybaf
allright... hmm... well I guess there's not much to do then. just have to stick with it...