Skip to content

Instantly share code, notes, and snippets.

@anees042
Forked from alanorth/emoji.php
Created June 23, 2023 10:47
Show Gist options
  • Select an option

  • Save anees042/bcf181b3f598fd9938eeb847be26c2c5 to your computer and use it in GitHub Desktop.

Select an option

Save anees042/bcf181b3f598fd9938eeb847be26c2c5 to your computer and use it in GitHub Desktop.
Emoji class / function / variable names in PHP...
<?php
class πŸ’©πŸ’©πŸ’©πŸ’©
{
function πŸ’©πŸ’©πŸ’©($😎, $🐯)
{
return $😎 + $🐯;
}
}
$πŸ” = 3;
$πŸ˜₯ = $πŸ” + 2;
$πŸ’© = new πŸ’©πŸ’©πŸ’©πŸ’©;
echo $πŸ’© -> πŸ’©πŸ’©πŸ’©($πŸ”, $πŸ˜₯);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment