Skip to content

Instantly share code, notes, and snippets.

@flaviors200
Last active May 10, 2019 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flaviors200/f1afd675128ceed852c701db6014b224 to your computer and use it in GitHub Desktop.
Save flaviors200/f1afd675128ceed852c701db6014b224 to your computer and use it in GitHub Desktop.
Gettype function
<?php
$string = "foo";
$integer = 0;
echo "$string è ".gettype($string).", $integer è ".gettype($integer); // foo è string, 0 è integer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment