How to create dynamic variable in php tamil | convert a string into variable in php | assign value

Опубликовано: 10 Октябрь 2024
на канале: Parallel Code
609
8

How to create or declare dynamic variable | how to assign its value as dynamically in php tamil | how can i create a variable as dynamically in php tamil | How to convert a string into a variable in php


if you wan to create dynamic variable then we have give the open and close curly brace surrounded by the braces with $ doller

example:

${"string"};
we can give the upper case or lower case and give the single quotes or double quotes.

Examples:
if any a string is in a variable then you can give that variable with in the curly braces ${$variable_name};