On Fri, April 1, 2005 10:49 am, GamblerZG said:
> And please do not tell me that I need to write it in C++. The thing should
> be portable.
Write it in C, not C++, as a PHP extension.
http://talks.php.net
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.
Ok, I wrote something that fits my needs. But, as I said, it is slow. Too slow. Is anyone
except me interested in human-editable serialize? Can anyone help me with optimization?
And please do not tell me that I need to write it in C++. The thing should be portable.
==
def
You can have the functions list in an array and check if any of that is
in the code you are going to pass to eval().
Devta.
GamblerZG escribió:
Ok, let me ask in a different way. Is there any way to make eval to
parse only data structures, without executing any functions it may
encounter?
___
Ok, let me ask in a different way. Is there any way to make eval to
parse only data structures, without executing any functions it may
encounter?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Joshua Beall" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You should look into the WDDX functions - http://php.net/wddx/ - they give
> you an XML document that you can edit by hand much more easily than the
> bytestream you get from serialize. However it is not as compact as
"GamblerZG" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Output of serialize() is barely readable and definetely is not suited for
> manual editing.
>
> It is quite simple to create var_export() clone that does not add junk to
> it's output. But then I would need to exec() the s
6 matches
Mail list logo