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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 18:01:29 2024 UTC