Skip to content

Instantly share code, notes, and snippets.

@ilhamarrouf
Last active December 7, 2016 13:39
Show Gist options
  • Save ilhamarrouf/1082a788aa1fb9af037c600b8145165b to your computer and use it in GitHub Desktop.
Save ilhamarrouf/1082a788aa1fb9af037c600b8145165b to your computer and use it in GitHub Desktop.
PHP Arithmetic Operators
<?php
$x = 8;
$y = 4;
echo $x ** $y;
// Hasilnya adalah 4096
// Hasil dari 8 pangkat 4 atau 8 * 8 * 8 * 8
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment