PageRenderTime 50ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/test/subjects/parsing/isset.php

http://phc.googlecode.com/
PHP | 21 lines | 16 code | 5 blank | 0 comment | 3 complexity | 8d0952d8d133bf4cbf6ab62fb45d9602 MD5 | raw file
Possible License(s): GPL-2.0, 0BSD, BSD-3-Clause, Unlicense, MPL-2.0-no-copyleft-exception, LGPL-2.1
  1. <?php
  2. $x = 10;
  3. $y = 20;
  4. if(isset($x))
  5. {
  6. echo "x is set\n";
  7. }
  8. if(isset($x, $y))
  9. {
  10. echo "x, y set.\n";
  11. }
  12. if(isset($z))
  13. {
  14. echo "z is set";
  15. }
  16. ?>