note 128097 added to language.types.string

From: Date: Sat, 07 Jan 2023 23:34:26 +0000
Subject: note 128097 added to language.types.string
Groups: php.notes 
Request: Send a blank email to php-notes+get-220050@lists.php.net to get a copy of this message
In PHP 8.2 using ${var} in strings is deprecated, use {$var} instead: <?php $juice = "apple"; // Valid. Explicitly specify the end of the variable name by enclosing it in braces: echo "He drank some juice made of {$juice}s."; ?> ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.158.213 (proxied: 2.180.129.32) ---- Manual Page -- https://php.net/manual/en/language.types.string.php Edit -- https://main.php.net/note/edit/128097 Del: integrated -- https://main.php.net/note/delete/128097/integrated Del: useless -- https://main.php.net/note/delete/128097/useless Del: bad code -- https://main.php.net/note/delete/128097/bad+code Del: spam -- https://main.php.net/note/delete/128097/spam Del: non-english -- https://main.php.net/note/delete/128097/non-english Del: in docs -- https://main.php.net/note/delete/128097/in+docs Del: other reasons-- https://main.php.net/note/delete/128097 Reject -- https://main.php.net/note/reject/128097 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220050) next »