|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-17 07:22 UTC] stas at cvs dot php dot net
[2000-07-17 08:01 UTC] anton at concord dot ru
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 11:00:02 2026 UTC |
I use in my script serialized data from database, for example, data which was serialized by function 'serialize' set in 'DATA' field. Sample code: ... $Ser=mssql_result($MyResult,0,"DATA"); eval("\$Over=\$Ser;"); ... Parser error is occured after dinamic code evaluation. As you wrote in incompatible features list '{' and '}' symbols used for string encapsulation. But same symbols used as delimiters in serialization value. I changed souse code of 'serialize' and 'unserialize' functions. I Changed '{' and '}' delimiters to '[' and ']' delimiters. After rebuild sample code written above work without errors.