# Many variables, one value \[PHP\]

**URL:** <https://forum.kirupa.com/t/many-variables-one-value-php/200910>\
**Category:** programming\
**Created:** [September 16, 2006, 1:47pm UTC](https://forum.kirupa.com/t/many-variables-one-value-php/200910 "2006-09-16T13:47:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thesleuth](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@thesleuth](https://forum.kirupa.com/u/thesleuth)\
**Post date:** [September 16, 2006, 1:47pm UTC](https://forum.kirupa.com/t/many-variables-one-value-php/200910/1 "2006-09-16T13:47:20Z")

</div>

Is it possible to give many variables a value with a short code of line instead of typing out

```php
$var1 = value1
$var2 = value1
$var3 = value1

```

Thanks in advance 🙂
