#19929 [NEW]: var_export fails to escape quotes in key
| From: | chuck at visc dot us | Date: | Wed, 16 Oct 2002 09:31:28 +0000 |
| Subject: | #19929 [NEW]: var_export fails to escape quotes in key | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-22554@lists.php.net to get a copy of this message | ||
From: chuck@visc.us
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