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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chuck at visc dot us
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 13:01:31 2024 UTC