|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-09-25 13:53 UTC] nikic@php.net
-Status: Open
+Status: Not a bug
[2016-09-25 13:53 UTC] nikic@php.net
[2016-09-25 19:31 UTC] yohgaki@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 19:00:01 2026 UTC |
Description: ------------ $tirepr = 30; $name = substr("tireqty",0,-3); $xx = $name . "pr". "<br />"; echo $$xx; // the result is Notice: Undefined variable: tirepr Test script: --------------- $tirepr = "30"; $name = substr("tireqty",0,-3); $xx = $name . "pr". "<br />"; echo $$xx; // the result is Notice: Undefined variable: tirepr Expected result: ---------------- print 30 Actual result: -------------- Notice: Undefined variable: tirepr