php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19929 var_export fails to escape quotes in key
Submitted: 2002-10-16 04:31 UTC Modified: 2002-10-16 04:43 UTC
From: chuck at visc dot us Assigned:
Status: Closed Package: Output Control
PHP Version: 4.2.1 OS: FreeBSD
Private report: No CVE-ID: None
 [2002-10-16 04:31 UTC] chuck at visc dot us
When using var_export($arr,1) apostrophes in the key are not escaped. The generated php code thus generates a syntax error.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-16 04:43 UTC] derick@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC