#19929 [Opn->Csd]: var_export fails to escape quotes in key

From: Date: Wed, 16 Oct 2002 09:43:47 +0000
Subject: #19929 [Opn->Csd]: var_export fails to escape quotes in key
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22555@lists.php.net to get a copy of this message
ID: 19929 Updated by: derick@php.net Reported By: chuck@visc.us -Status: Open +Status: Closed Bug Type: Output Control Operating System: FreeBSD PHP Version: 4.2.1 New Comment: Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2002-10-16 04:31:28] chuck@visc.us When using var_export($arr,1) apostrophes in the key are not escaped. The generated php code thus generates a syntax error. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19929&edit=1

« previous php.bugs (#22555) next »