|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-12-27 01:30 UTC] tony2001@php.net
[2005-12-27 01:38 UTC] tkojima at able dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 02:00:01 2026 UTC |
Description: ------------ Set cookie does not replace variables inside name. Reproduce code: --------------- <?php $variable = "1" setcookie('dynamic_{$variable}',true,time()+60*60*24*3); ?> Expected result: ---------------- the cookie to be named "dynamic_1" instead of "dynamic_{$variable}" Actual result: -------------- the cookie was set as "dynamic_{$variable}"