From: [EMAIL PROTECTED] Operating system: FreeBSD PHP version: 4.2.1 PHP Bug Type: Output Control Bug description: var_export fails to escape quotes in key
When using var_export($arr,1) apostrophes in the key are not escaped. The generated php code thus generates a syntax error. -- Edit bug report at http://bugs.php.net/?id=19929&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19929&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19929&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19929&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19929&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19929&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19929&r=support Expected behavior: http://bugs.php.net/fix.php?id=19929&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19929&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19929&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19929&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19929&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19929&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19929&r=isapi