<?php // Basic test of isset if(isset($x)) echo "x is set (1)\n"; $x = 1; if(isset($x)) echo "x is set (2)\n"; ?>