sad - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of sad.php

  1. <?php
  2.  
  3. $a = 'asd';
  4. $b = 'asd';
  5.  
  6. var_dump(empty([$a, $b]));
  7.  
  8. $a = '';
  9.  
  10. var_dump(empty([$a, $b]));
  11.  
  12. $b = '';
  13.  
  14. var_dump(empty([$a, $b]));
File Description
  • sad
  • PHP Code
  • 10 Feb-2021
  • 134 Bytes
You can Share it: