Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save tadeubdev/a553c9c7a1fcac02801d8af66ed3a9ec to your computer and use it in GitHub Desktop.

Select an option

Save tadeubdev/a553c9c7a1fcac02801d8af66ed3a9ec to your computer and use it in GitHub Desktop.
<?php
$value = 123;
$value += 123;
echo $value; // prints 246
// Or
$value = "Hello";
$value .= " world";
echo $value; // prints "Hello world"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment